1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
/*
* SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, size_t, len)
*/
#include <linux/futex.h>
#include "sanitise.h"
#include "shm.h"
static void sanitise_set_robust_list(int childno)
{
shm->a2[childno] = sizeof(struct robust_list_head);
}
struct syscall syscall_set_robust_list = {
.name = "set_robust_list",
.num_args = 2,
.sanitise = sanitise_set_robust_list,
.arg1name = "head",
.arg1type = ARG_ADDRESS,
.arg2name = "len",
.arg2type = ARG_LEN,
};
|