Dmitry Torokhov
488dee96bb
kernfs: allow creating kernfs objects with arbitrary uid/gid
...
This change allows creating kernfs files and directories with arbitrary
uid/gid instead of always using GLOBAL_ROOT_UID/GID by extending
kernfs_create_dir_ns() and kernfs_create_file_ns() with uid/gid arguments.
The "simple" kernfs_create_file() and kernfs_create_dir() are left alone
and always create objects belonging to the global root.
When creating symlinks ownership (uid/gid) is taken from the target kernfs
object.
Co-Developed-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-20 23:44:35 -07:00
..
alpha
net: Add a new socket option for a future transmit time.
2018-07-04 22:30:27 +09:00
arc
ARC fixes for 4.18-rc6
2018-07-20 11:33:22 -07:00
arm
Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux
2018-07-20 21:17:12 -07:00
arm64
Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux
2018-07-20 21:17:12 -07:00
c6x
h8300
hexagon
hexagon: drop the unused variable zero_page_mask
2018-06-15 07:55:25 +09:00
ia64
net: Add a new socket option for a future transmit time.
2018-07-04 22:30:27 +09:00
m68k
m68k: fix "bad page state" oops on ColdFire boot
2018-07-02 10:05:13 +10:00
microblaze
Microblaze patches for 4.18-rc3
2018-06-27 09:49:30 -07:00
mips
Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux
2018-07-20 21:17:12 -07:00
nds32
nds32: fix build error "relocation truncated to fit: R_NDS32_25_PCREL_RELA" when
2018-07-05 16:13:47 +08:00
nios2
openrisc
openrisc: entry: Fix delay slot exception detection
2018-07-01 16:48:24 +09:00
parisc
net: Add a new socket option for a future transmit time.
2018-07-04 22:30:27 +09:00
powerpc
Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
2018-07-03 10:29:26 +09:00
riscv
RISC-V: Fix the rv32i kernel build
2018-07-04 14:12:53 -07:00
s390
Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux
2018-07-20 21:17:12 -07:00
sh
arch/*: Kconfig: fix documentation for NMI watchdog
2018-06-15 12:48:59 -03:00
sparc
net: Add a new socket option for a future transmit time.
2018-07-04 22:30:27 +09:00
um
Solve a series of broken links for files under Documentation:
2018-06-17 05:25:18 +09:00
unicore32
docs: Fix some broken references
2018-06-15 18:10:01 -03:00
x86
kernfs: allow creating kernfs objects with arbitrary uid/gid
2018-07-20 23:44:35 -07:00
xtensa
net: Add a new socket option for a future transmit time.
2018-07-04 22:30:27 +09:00
.gitignore
Kconfig
docs: Fix some broken references
2018-06-15 18:10:01 -03:00