diff options
| author | Feng Yang <[email protected]> | 2025-03-05 02:22:34 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-03-15 18:48:57 +0000 |
| commit | 339c1f8ea11cc042c30c315c1a8f61e4b8a90117 (patch) | |
| tree | 511f4906ff4c19e76db27338273ef774f2fda5fb /lib/timerqueue.c | |
| parent | selftests/bpf: Fix dangling stdout seen by traffic monitor thread (diff) | |
| download | kernel-339c1f8ea11cc042c30c315c1a8f61e4b8a90117.tar.gz kernel-339c1f8ea11cc042c30c315c1a8f61e4b8a90117.zip | |
selftests/bpf: Fix cap_enable_effective() return code
The caller of cap_enable_effective() expects negative error code.
Fix it.
Before:
failed to restore CAP_SYS_ADMIN: -1, Unknown error -1
After:
failed to restore CAP_SYS_ADMIN: -3, No such process
failed to restore CAP_SYS_ADMIN: -22, Invalid argument
Signed-off-by: Feng Yang <[email protected]>
Acked-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
