diff options
| author | Yucong Sun <[email protected]> | 2021-10-06 18:56:17 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-10-08 22:17:00 +0000 |
| commit | 5db02dd7f09fdc32fa3866386784d383aca191d8 (patch) | |
| tree | d4c646c5b0499e3f0009b859fa4d26db4fb08e76 /tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c | |
| parent | selftests/bpf: Adding pid filtering for atomics test (diff) | |
| download | kernel-5db02dd7f09fdc32fa3866386784d383aca191d8.tar.gz kernel-5db02dd7f09fdc32fa3866386784d383aca191d8.zip | |
selftests/bpf: Fix pid check in fexit_sleep test
bpf_get_current_pid_tgid() returns u64, whose upper 32 bits are the same
as userspace getpid() return value.
Signed-off-by: Yucong Sun <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/xdp_devmap_attach.c')
0 files changed, 0 insertions, 0 deletions
