merge setuid variants
[trinity.git] / syscalls / getcwd.c
blobf8ddb51221d3c567eabaa02190169865c2802dd1
1 /*
2 * SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size)
3 */
4 #include "sanitise.h"
6 struct syscallentry syscall_getcwd = {
7 .name = "getcwd",
8 .num_args = 2,
9 .arg1name = "buf",
10 .arg1type = ARG_ADDRESS,
11 .arg2name = "size",
12 .arg2type = ARG_LEN,
13 .rettype = RET_PATH,
14 .group = GROUP_VFS,