2 * SYSCALL_DEFINE3(fchown, unsigned int, fd, 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_fchown
= {
16 .rettype
= RET_ZERO_SUCCESS
,
22 * SYSCALL_DEFINE3(fchown16, unsigned int, fd, 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_fchown16
= {
35 .rettype
= RET_ZERO_SUCCESS
,
41 * SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user,
42 gid_t, group, int, flag)
44 * On success, fchownat() returns 0.
45 * On error, -1 is returned and errno is set to indicate the error.
48 struct syscallentry syscall_fchownat
= {
53 .arg2name
= "filename",
54 .arg2type
= ARG_PATHNAME
,
58 .rettype
= RET_ZERO_SUCCESS
,