Building Your Own Hardened Kernel
The previous section included information on some of the many different ways to customize the Linux kernel. That is not enough, however. You need to know how to compile that kernel. This section summarizes the steps required to build a custom kernel.
Details frequently vary by distribution. If details are not described in this section, they were already covered earlier in this chapter. These steps include the following:
Install required development tools.
Download and unpack the source code.
Navigate to the directory with the source code.
You may want to make use of an existing configuration file from local configs/subdirectory or a config-* file in the /boot/ directory. Copy this starting configuration file ...
Get Security Strategies in Linux Platforms and Applications, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.