2 * SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group)
4 * On success, zero is returned.
5 * On error, -1 is returned, and errno is set appropriately.
9 struct syscallentry syscall_chown
= {
12 .arg1name
= "filename",
13 .arg1type
= ARG_PATHNAME
,
16 .rettype
= RET_ZERO_SUCCESS
,
22 * SYSCALL_DEFINE3(chown16, const char __user *, filename, old_uid_t, user, old_gid_t, group)
24 * On success, zero is returned.
25 * On error, -1 is returned, and errno is set appropriately.
28 struct syscallentry syscall_chown16
= {
31 .arg1name
= "filename",
32 .arg1type
= ARG_PATHNAME
,
35 .rettype
= RET_ZERO_SUCCESS
,