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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 1.5 KB |
Makefile | -rw-r--r-- | 595 bytes |
acpi.c | -rw-r--r-- | 10.0 KB |
cap.c | -rw-r--r-- | 5.5 KB |
ctl.c | -rw-r--r-- | 27.3 KB |
ctl.h | -rw-r--r-- | 4.6 KB |
debugfs.c | -rw-r--r-- | 16.4 KB |
dma_port.c | -rw-r--r-- | 11.2 KB |
dma_port.h | -rw-r--r-- | 937 bytes |
dma_test.c | -rw-r--r-- | 18.8 KB |
domain.c | -rw-r--r-- | 21.4 KB |
eeprom.c | -rw-r--r-- | 14.9 KB |
icm.c | -rw-r--r-- | 64.0 KB |
lc.c | -rw-r--r-- | 11.4 KB |
nhi.c | -rw-r--r-- | 34.7 KB |
nhi.h | -rw-r--r-- | 2.9 KB |
nhi_ops.c | -rw-r--r-- | 4.3 KB |
nhi_regs.h | -rw-r--r-- | 4.5 KB |
nvm.c | -rw-r--r-- | 6.2 KB |
path.c | -rw-r--r-- | 15.0 KB |
property.c | -rw-r--r-- | 18.3 KB |
quirks.c | -rw-r--r-- | 1.6 KB |
retimer.c | -rw-r--r-- | 11.7 KB |
sb_regs.h | -rw-r--r-- | 1.2 KB |
switch.c | -rw-r--r-- | 74.8 KB |
tb.c | -rw-r--r-- | 39.9 KB |
tb.h | -rw-r--r-- | 40.2 KB |
tb_msgs.h | -rw-r--r-- | 11.4 KB |
tb_regs.h | -rw-r--r-- | 13.5 KB |
test.c | -rw-r--r-- | 82.9 KB |
tmu.c | -rw-r--r-- | 8.4 KB |
tunnel.c | -rw-r--r-- | 43.5 KB |
tunnel.h | -rw-r--r-- | 4.1 KB |
usb4.c | -rw-r--r-- | 49.6 KB |
usb4_port.c | -rw-r--r-- | 6.0 KB |
xdomain.c | -rw-r--r-- | 51.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...