summaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorHou Tao <houtao1@huawei.com>2022-10-11 15:12:49 +0800
committerAndrii Nakryiko <andrii@kernel.org>2022-10-13 12:09:19 -0700
commit62c69e89e81bfbdb9a87ae3e0599dcc6aacf786b (patch)
treef3fd7ad771f817ed752b19f95481a4b903d9d694 /scripts/bpf_doc.py
parente94e0a2d3730cd718a3a67682b038b05fa40d2a7 (diff)
selftests/bpf: Use sys_pidfd_open() helper when possible
SYS_pidfd_open may be undefined for old glibc, so using sys_pidfd_open() helper defined in task_local_storage_helpers.h instead to fix potential build failure. And according to commit 7615d9e1780e ("arch: wire-up pidfd_open()"), the syscall number of pidfd_open is always 434 except for alpha architure, so update the definition of __NR_pidfd_open accordingly. Signed-off-by: Hou Tao <houtao1@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20221011071249.3471760-1-houtao@huaweicloud.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions