diff options
| author | Paul Chaignon <paul.chaignon@gmail.com> | 2023-08-24 13:29:26 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-08-25 14:18:37 +0000 |
| commit | 96e2da37710a4f74ccb24cf782cc98dd7c015e1c (patch) | |
| tree | a4f60826c6a6596f8270e17aa6f2e1f09978d1d0 /executor/executor_test.h | |
| parent | 7481b108ac4af790dfc163514c6dc3a1ff5f3902 (diff) | |
sys/linux: support O_PATH fds in BPF_OBJ_* cmds
Commit [1] upstream added support for O_PATH fds in BPF_OBJ_* commands.
This commit implements the same support in syzkaller.
The flag BPF_F_PATH_FD must be set when passing an O_PATH to the
BPF_OBJ_* commands. We therefore declare generic and O_PATH-specific
variants of the existing BPF_OBJ structs.
1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cb8edce2807
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions
