]> git.ipfire.org Git - people/ms/linux.git/commit - fs/open.c
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)
commiteb9d7d390e51108b4c6a9a7993ed9be92548c8f7
tree6881b1da19a06e63f1c4d6ba81403dfe94697553
parent1097742efc643ffc667c5c6684635b2663145a7d
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