linux/include
Miklos Szeredi a3c751a50f vfs: allow unprivileged whiteout creation
Whiteouts, unlike real device node should not require privileges to create.

The general concern with device nodes is that opening them can have side
effects.  The kernel already avoids zero major (see
Documentation/admin-guide/devices.txt).  To be on the safe side the patch
explicitly forbids registering a char device with 0/0 number (see
cdev_add()).

This guarantees that a non-O_PATH open on a whiteout will fail with ENODEV;
i.e. it won't have any side effect.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2020-05-14 16:44:23 +02:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux vfs: allow unprivileged whiteout creation 2020-05-14 16:44:23 +02:00
math-emu
media
misc
net
pcmcia
ras
rdma
scsi
soc
sound
target
trace NFS client bugfixes for Linux 5.7 2020-05-02 11:24:01 -07:00
uapi drm fixes for 5.7-rc4 2020-05-01 11:01:51 -07:00
vdso
video
xen