Projects STRLCPY ebpfguard Commits 3bcc2e82
🤬
  • Readme: notes about location of compressed kernel config

    May differ based on distro.
  • Loading...
  • Tomasz Jonak committed 1 year ago
    3bcc2e82
    1 parent 84bf7032
  • ■ ■ ■ ■
    docs/docusaurus.config.js
    skipped 6 lines
    7 7  /** @type {import('@docusaurus/types').Config} */
    8 8  const config = {
    9 9   title: 'Deepfence Ebpfguard',
    10  - tagline: 'Library for seamless utilization of BPF LSM hooks',
     10 + tagline: 'Aya based library for seamless utilization of LSM BPF hooks',
    11 11   url: 'http://ebpfguard.local',
    12 12   baseUrl: '/',
    13 13   
    skipped 94 lines
  • ■ ■ ■ ■ ■ ■
    docs/gh/prerequisites.md
    skipped 6 lines
    7 7  * with BPF LSM support (kernels >= 5.7)
    8 8   
    9 9  You can check if your kernel has BTF support by checking whether file
    10  -`/sys/kernel/btf/vmlinux` exists. You can also check the kernel configuration:
     10 +`/sys/kernel/btf/vmlinux` exists.
     11 + 
     12 +You can also check the kernel configuration. Note that location of this configuration is distribution specific.
     13 + 
     14 +SUSE:
    11 15   
    12 16  ```bash
    13 17  $ zgrep CONFIG_DEBUG_INFO_BTF /proc/config.gz
     18 +CONFIG_DEBUG_INFO_BTF=y
     19 +```
     20 + 
     21 +Ubuntu:
     22 +```bash
     23 +$ zgrep CONFIG_DEBUG_INFO_BTF /boot/config-"$(uname -r)"
    14 24  CONFIG_DEBUG_INFO_BTF=y
    15 25  ```
    16 26   
    skipped 75 lines
Please wait...
Page is in error, reload to recover