2.1. How do I apply the LIDS kernel patch?

Xie has included instructions on how to patch the kernel in the LIDS download. However, I will briefly cover the necessary steps. This example assumes your kernel sources are installed in /usr/src/linux.

Always make sure you are using the latest LIDS version with the corresponding kernel version. LIDS development can go very rapid from time to time and documentation changes just as fast.

There are several kernel configuration options for LIDS. In order for LIDS to work, you must make sure the following options are enabled:
  [*]   Prompt for development and/or incomplete code/drivers
  [*]   Sysctl Support