create a set_rand_bitmask function and use instead of open-coding.
[trinity.git] / syscalls / semtimedop.c
blobf30cad59bd708e724b02d49965c4080f04fa1be6
1 /*
2 * SYSCALL_DEFINE4(semtimedop, int, semid, struct sembuf __user *, tsops,
3 unsigned, nsops, const struct timespec __user *, timeout)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_semtimedop = {
8 .name = "semtimedop",
9 .num_args = 4,
10 .arg1name = "semid",
11 .arg2name = "tsops",
12 .arg2type = ARG_ADDRESS,
13 .arg3name = "nsops",
14 .arg4name = "timeout",
15 .arg4type = ARG_ADDRESS,