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