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 newfstat variants
[trinity.git]
/
syscalls
/
sethostname.c
blob
c0c76b7d224ccdfe06a4840a310c4c6c66e0b2cb
1
/*
2
* SYSCALL_DEFINE2(sethostname, char __user *, name, int, len)
3
*/
4
#include
"sanitise.h"
5
6
struct
syscallentry syscall_sethostname
= {
7
.
name
=
"sethostname"
,
8
.
num_args
=
2
,
9
.
flags
=
CAPABILITY_CHECK
,
10
.
arg1name
=
"name"
,
11
.
arg1type
=
ARG_ADDRESS
,
12
.
arg2name
=
"len"
,
13
.
arg2type
=
ARG_LEN
,
14
};