2 * SYSCALL_DEFINE1(mlockall, int, flags)
12 static void sanitise_mlockall(int childno
)
14 if (shm
->syscall
[childno
].a1
!= 0)
18 shm
->syscall
[childno
].a1
= MCL_CURRENT
;
20 shm
->syscall
[childno
].a1
= MCL_FUTURE
;
24 struct syscallentry syscall_mlockall
= {
31 .values
= { MCL_CURRENT
, MCL_FUTURE
},
34 .sanitise
= sanitise_mlockall
,