mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
init: add an init_chdir helper
Add a simple helper to chdir with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_chdir. Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -1238,7 +1238,6 @@ asmlinkage long sys_ni_syscall(void);
|
||||
|
||||
int ksys_chroot(const char __user *filename);
|
||||
ssize_t ksys_write(unsigned int fd, const char __user *buf, size_t count);
|
||||
int ksys_chdir(const char __user *filename);
|
||||
int ksys_fchown(unsigned int fd, uid_t user, gid_t group);
|
||||
ssize_t ksys_read(unsigned int fd, char __user *buf, size_t count);
|
||||
void ksys_sync(void);
|
||||
|
||||
Reference in New Issue
Block a user