diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-22 12:13:26 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-31 09:17:52 +0300 |
commit | b873498f99c77e7b5be3aa5ffe9ca67437232fe0 (patch) | |
tree | 6164c389372c34a25a5d1015d1d004a1c0250072 /include/linux/init_syscalls.h | |
parent | 4b7ca5014cbef51cdb99fd644eae4f3773747a05 (diff) | |
download | linux-b873498f99c77e7b5be3aa5ffe9ca67437232fe0.tar.xz |
init: add an init_chown helper
Add a simple helper to chown with a kernel space file name and switch
the early init code over to it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/init_syscalls.h')
-rw-r--r-- | include/linux/init_syscalls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/init_syscalls.h b/include/linux/init_syscalls.h index e07099a14b91..0da59d76133e 100644 --- a/include/linux/init_syscalls.h +++ b/include/linux/init_syscalls.h @@ -5,5 +5,6 @@ int __init init_mount(const char *dev_name, const char *dir_name, int __init init_umount(const char *name, int flags); int __init init_chdir(const char *filename); int __init init_chroot(const char *filename); +int __init init_chown(const char *filename, uid_t user, gid_t group, int flags); int __init init_unlink(const char *pathname); int __init init_rmdir(const char *pathname); |