repo.or.cz
/
trinity.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
merge setuid variants
[trinity.git]
/
syscalls
/
getcwd.c
blob
f8ddb51221d3c567eabaa02190169865c2802dd1
1
/*
2
* SYSCALL_DEFINE2(getcwd, char __user *, buf, unsigned long, size)
3
*/
4
#include
"sanitise.h"
5
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
,
15
};