2 * SYSCALL_DEFINE3(mincore, unsigned long, start, size_t, len, unsigned char __user *, vec)
10 static void sanitise_mincore(int childno
)
15 map
= common_set_mmap_ptr_len(childno
);
17 len
= map
->size
+ (page_size
- 1) / page_size
;
18 shm
->syscall
[childno
].a3
= (unsigned long) malloc(len
);
21 static void post_mincore(int childno
)
23 free((void *) shm
->syscall
[childno
].a3
);
26 struct syscallentry syscall_mincore
= {
34 .sanitise
= sanitise_mincore
,