note a leak that needs fixing eventually
[trinity.git] / syscalls / munlock.c
blobd32c6b8d59d45388522a0a27dd45f07fa89c612e
1 /*
2 * SYSCALL_DEFINE2(munlock, unsigned long, start, size_t, len)
3 */
4 #include "maps.h"
5 #include "sanitise.h"
7 static void sanitise_munlock(int childno)
9 (void) common_set_mmap_ptr_len(childno);
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,