diff options
author | Jakub Kicinski <[email protected]> | 2019-10-31 17:51:27 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2019-11-01 13:13:21 +0100 |
commit | 75b0bfd2e1a7d0c698b617f5e5ceaf056bdcaef7 (patch) | |
tree | f6be77f37a896c164551a982a1f24c948b69e457 /kernel/bpf/syscall.c | |
parent | 06087114606c416892bd67c5fde9f0d498afb287 (diff) |
Revert "selftests: bpf: Don't try to read files without read permission"
This reverts commit 5bc60de50dfe ("selftests: bpf: Don't try to read
files without read permission").
Quoted commit does not work at all, and was never tested.
Script requires root permissions (and tests for them)
and os.access() will always return true for root.
The correct fix is needed in the bpf tree, so let's just
revert and save ourselves the merge conflict.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Cc: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/bpf/syscall.c')
0 files changed, 0 insertions, 0 deletions