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
note a leak that needs fixing eventually
[trinity.git]
/
syscalls
/
link.c
blob
32faf34676fd880bd8afd00ea8b38aaf4b92d758
1
/*
2
* SYSCALL_DEFINE2(link, const char __user *, oldname, const char __user *, newname)
3
*/
4
#include
"sanitise.h"
5
6
struct
syscallentry syscall_link
= {
7
.
name
=
"link"
,
8
.
num_args
=
2
,
9
.
arg1name
=
"oldname"
,
10
.
arg1type
=
ARG_PATHNAME
,
11
.
arg2name
=
"newname"
,
12
.
arg2type
=
ARG_PATHNAME
,
13
.
group
=
GROUP_VFS
,
14
};