remove [64] cleanup TODO
[trinity.git] / syscalls / chroot.c
blob1a6770ce3d9564bd97a107eeda1e32c120f26fc3
1 /*
2 * SYSCALL_DEFINE1(chroot, const char __user *, filename)
4 * On success, zero is returned.
5 * On error, -1 is returned, and errno is set appropriately.
6 */
7 #include "sanitise.h"
9 struct syscallentry syscall_chroot = {
10 .name = "chroot",
11 .num_args = 1,
12 .arg1name = "filename",
13 .arg1type = ARG_PATHNAME,
14 .rettype = RET_ZERO_SUCCESS,
15 .group = GROUP_VFS,