驅動程式 - Linux Device Driver(LDD) - Falco - Build Kernel



參考資訊:
https://falco.org/blog/choosing-a-driver/

步驟如下:

$ cd
$ git clone https://github.com/falcosecurity/falco
$ cd falco
$ mkdir build
$ cd build
$ cmake ../ \
      -DBUILD_BPF=OFF \
      -DBUILD_WARNINGS_AS_ERRORS="OFF" \
      -DCMAKE_BUILD_TYPE="Release" \
      -DCMAKE_INSTALL_PREFIX="/usr" \
      -DFALCO_ETC_DIR="/etc/falco" \
      -DUSE_BUNDLED_DEPS=ON
$ make driver

P.S. driver/falco.ko