diff options
| author | Paul Chaignon <paul@isovalent.com> | 2021-12-19 22:36:19 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-12-21 05:33:37 +0100 |
| commit | 761f1410d51aa921477925675bd13b6006b377ca (patch) | |
| tree | e72ba2993e073ea904e6e072690cfb9f32cc7a2b /executor/executor_linux.h | |
| parent | 249a240f56f88e69fe97cdcf8fb614ade2251958 (diff) | |
sys/linux: support BPF calls to kernel functions
Commit [1] upstream introduced support for BPF calls to kernel
functions, via a new call instruction BPF_PSEUDO_KFUNC_CALL. In this new
instruction, the immediate value is the BTF ID of the function to call
in the kernel.
This commit introduces basic support for this new instruction in
syzkaller. The immediate value will point to a BTF ID, but a fair amount
of additional work would be required to ensure that BTF ID is actually
pointing to a kernel function.
1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e6ac2450d6dee
Signed-off-by: Paul Chaignon <paul@isovalent.com>
Diffstat (limited to 'executor/executor_linux.h')
0 files changed, 0 insertions, 0 deletions
