note a leak that needs fixing eventually
[trinity.git] / syscalls / lchown.c
blob128f77cd62e26931931c7ecd433aa6fea2829979
1 /*
2 * SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_lchown = {
7 .name = "lchown",
8 .num_args = 3,
9 .arg1name = "filename",
10 .arg1type = ARG_PATHNAME,
11 .arg2name = "user",
12 .arg3name = "group",
13 .group = GROUP_VFS,
17 * SYSCALL_DEFINE3(lchown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
20 struct syscallentry syscall_lchown16 = {
21 .name = "lchown16",
22 .num_args = 3,
23 .arg1name = "filename",
24 .arg1type = ARG_PATHNAME,
25 .arg2name = "user",
26 .arg3name = "group",
27 .group = GROUP_VFS,