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
split up constants.h some
[trinity.git]
/
syscalls
/
acct.c
blob
d156b26c855856a04a8ee2f5346d7d2563ce9772
1
/*
2
* SYSCALL_DEFINE1(acct, const char __user *, name)
3
*
4
* On success, zero is returned.
5
* On error, -1 is returned, and errno is set appropriately.
6
*/
7
#include
"sanitise.h"
8
9
struct
syscallentry syscall_acct
= {
10
.
name
=
"acct"
,
11
.
num_args
=
1
,
12
.
arg1name
=
"name"
,
13
.
arg1type
=
ARG_ADDRESS
,
14
};