]> git.baikalelectronics.ru Git - kernel.git/commit
init: add an init_eaccess helper
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jul 2020 09:14:02 +0000 (11:14 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:53 +0000 (08:17 +0200)
commit56ace5d4845c015367b00e31f7ac30e11c18f1f3
tree6881b1da19a06e63f1c4d6ba81403dfe94697553
parent16a4f81533b1e8d34cbe558c29dc894cb5a313fc
init: add an init_eaccess helper

Add a simple helper to check if a file exists based on kernel space file
name and switch the early init code over to it.  Note that this
theoretically changes behavior as it always is based on the effective
permissions.  But during early init that doesn't make a difference.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/init.c
fs/open.c
include/linux/init_syscalls.h
include/linux/syscalls.h
init/main.c