Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bpf_prog_load function from ljsyscall module in LuaJIT compiler
At various points in the compiler code, an attempt to load the BPF program is made. In order to do this, a bpf() syscall needs to happen with BPF_PROG_LOAD as the first argument (Consult the bpf man page, under the 'eBPF programs' section). The module ljsyscall does this via the bpf_prog_load function. At the time of writing, this function is declared in the file: syscall/linux/syscalls.lua In the repo: https://github.com/justincormack/ljsyscall.git
- Loading branch information