summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorFeng Yang <yangfeng@kylinos.cn>2025-03-05 05:22:34 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-03-15 21:48:57 +0300
commit339c1f8ea11cc042c30c315c1a8f61e4b8a90117 (patch)
tree511f4906ff4c19e76db27338273ef774f2fda5fb /scripts/gdb/linux/proc.py
parent8bda5b787dea43a7102d5797756c60d0a905932a (diff)
downloadlinux-339c1f8ea11cc042c30c315c1a8f61e4b8a90117.tar.xz
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 <yangfeng@kylinos.cn> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20250305022234.44932-1-yangfeng59949@163.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions