Fix up mistakes bcoles pointed out and also add in a check to ensure we are only targetting x64 systems

This commit is contained in:
Grant Willcox
2021-08-23 13:23:40 -05:00
parent e46611cffb
commit db5ac81ecf
2 changed files with 19 additions and 7 deletions
@@ -11,7 +11,7 @@ and write in the Linux kernel and therefore achieve arbitrary
code execution as the `root` user.
The target system must be compiled with eBPF support and not have
`kernel.unprivileged_bpf_disabled` set to `1`, which prevents unprivileged
`kernel.unprivileged_bpf_disabled` set, which prevents unprivileged
users from loading eBPF programs into the kernel. Note that if
`kernel.unprivileged_bpf_disabled` is enabled this module can still be
utilized to bypass protections such as SELinux, however the user