init: add an init_chmod helper
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jul 2020 09:41:02 +0000 (11:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 31 Jul 2020 06:17:53 +0000 (08:17 +0200)
commit1097742efc643ffc667c5c6684635b2663145a7d
tree8cfd84b2df0b78392661466d6a18ce09f3e5f9f7
parentb873498f99c77e7b5be3aa5ffe9ca67437232fe0
init: add an init_chmod helper

Add a simple helper to chmod with a kernel space file name and switch
the early init code over to it.

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