2 * SYSCALL_DEFINE2(creat, const char __user *, pathname, int, mode)
4 * returns the new file descriptor on success.
5 * returns -1 if an error occurred (in which case, errno is set appropriately).
9 struct syscallentry syscall_creat
= {
12 .arg1name
= "pathname",
13 .arg1type
= ARG_PATHNAME
,
15 .arg2type
= ARG_MODE_T
,