mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
Add a simple helper to chroot with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_chroot. Signed-off-by: Christoph Hellwig <hch@lst.de>
9 lines
405 B
C
9 lines
405 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_unlink(const char *pathname);
|
|
int __init init_rmdir(const char *pathname);
|