Revision bf35a7879f1dfb0d050fe779168bcf25c7de66f5 authored by Tejun Heo on 06 January 2022, 21:02:29 UTC, committed by Tejun Heo on 06 January 2022, 21:02:29 UTC
When a task is writing to an fd opened by a different task, the perm check
should use the cgroup namespace of the latter task. Add a test for it.

Tested-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
1 parent 613e040
History
File Mode Size
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 266 bytes
binder.c -rw-r--r-- 168.6 KB
binder_alloc.c -rw-r--r-- 35.0 KB
binder_alloc.h -rw-r--r-- 6.4 KB
binder_alloc_selftest.c -rw-r--r-- 8.0 KB
binder_internal.h -rw-r--r-- 20.1 KB
binder_trace.h -rw-r--r-- 11.8 KB
binderfs.c -rw-r--r-- 20.2 KB

back to top