mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-28 10:04:14 +00:00
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>
10 lines
486 B
C
10 lines
486 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
int __init init_mount(const char *dev_name, const char *dir_name,
|
|
const char *type_page, unsigned long flags, void *data_page);
|
|
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);
|