note a leak that needs fixing eventually
[trinity.git] / syscalls / pivot_root.c
blob3a33fcc5e77fb484f7d0a57ceb3a553d2c89e656
1 /*
2 * SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, const char __user *, put_old)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_pivot_root = {
7 .name = "pivot_root",
8 .num_args = 2,
9 .arg1name = "new_root",
10 .arg1type = ARG_ADDRESS,
11 .arg2name = "put_old",
12 .arg2type = ARG_ADDRESS,
13 .group = GROUP_VFS,