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
/
munlock.c
blob
d32c6b8d59d45388522a0a27dd45f07fa89c612e
1
/*
2
* SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len)
3
*/
4
#include
"maps.h"
5
#include
"sanitise.h"
6
7
static void
sanitise_munlock
(
int
childno
)
8
{
9
(
void
)
common_set_mmap_ptr_len
(
childno
);
10
}
11
12
struct
syscallentry syscall_munlock
= {
13
.
name
=
"munlock"
,
14
.
num_args
=
2
,
15
.
arg1name
=
"addr"
,
16
.
arg1type
=
ARG_MMAP
,
17
.
arg2name
=
"len"
,
18
.
group
=
GROUP_VM
,
19
.
sanitise
=
sanitise_munlock
,
20
};