2 * SYSCALL_DEFINE2(chmod, const char __user *, filename, mode_t, mode)
4 * On success, zero is returned.
5 * On error, -1 is returned, and errno is set appropriately.
9 struct syscallentry syscall_chmod
= {
12 .arg1name
= "filename",
13 .arg1type
= ARG_PATHNAME
,
15 .arg2type
= ARG_MODE_T
,
16 .rettype
= RET_ZERO_SUCCESS
,