diff options
author | 2022-01-06 11:02:29 -1000 | |
---|---|---|
committer | 2022-01-06 11:02:29 -1000 | |
commit | 613e040e4dc285367bff0f8f75ea59839bc10947 (patch) | |
tree | 5556aa81ceeed1f035d60bb5f72fe15edf1157cf /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 (diff) | |
download | wireguard-linux-613e040e4dc285367bff0f8f75ea59839bc10947.tar.xz wireguard-linux-613e040e4dc285367bff0f8f75ea59839bc10947.zip |
selftests: cgroup: Test open-time credential usage for migration checks
When a task is writing to an fd opened by a different task, the perm check
should use the credentials of the latter task. Add a test for it.
Tested-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions