note a leak that needs fixing eventually
[trinity.git] / syscalls / set_robust_list.c
blobe43f17cd531529fdab6040e7b9f08cb5b7c48a7b
1 /*
2 * SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, size_t, len)
3 */
4 #include <linux/futex.h>
5 #include "sanitise.h"
6 #include "shm.h"
8 static void sanitise_set_robust_list(int childno)
10 shm->syscall[childno].a2 = sizeof(struct robust_list_head);
13 struct syscallentry syscall_set_robust_list = {
14 .name = "set_robust_list",
15 .num_args = 2,
16 .sanitise = sanitise_set_robust_list,
17 .arg1name = "head",
18 .arg1type = ARG_ADDRESS,
19 .arg2name = "len",
20 .arg2type = ARG_LEN,