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



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

步驟如下:

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

P.S. driver/bpf/falco.o