diff options
| author | Xu Kuohai <xukuohai@huawei.com> | 2026-06-10 20:17:24 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-06-12 20:33:16 -0700 |
| commit | cec8423776176eb73429443ecb859789af9602e5 (patch) | |
| tree | e7bca3199eab2954238753d23aa47ab02efd07f5 /include/linux/timerqueue.h | |
| parent | 4c71303c837449158815c521fcee4ec3b8721dbd (diff) | |
selftests/bpf: Add retval test for bool and errno LSM cgroup hooks
Add test to check the return value when a BPF program exits with 0 for
a boolean and an errno LSM hook.
For each hook, two BPF programs are attached. The first program returns
0 without calling bpf_set_retval() to exercise the return value translation
logic, while the second program reads the retval via bpf_get_retval().
Signed-off-by: Xu Kuohai <xukuohai@huawei.com>
Link: https://lore.kernel.org/r/20260610201724.733943-3-xukuohai@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
