Home
last modified time | relevance | path

Searched refs:un_arg (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/semget/
Dsemget01.c118 union semun un_arg; /* union defined in ipcsem.h */ in check_functionality() local
121 un_arg.buf = &semary; in check_functionality()
122 if (semctl(sem_id_1, 0, IPC_STAT, un_arg) == -1) { in check_functionality()
127 if (un_arg.buf->sem_nsems != PSEMS) { in check_functionality()
132 if (un_arg.buf->sem_perm.cuid != geteuid()) { in check_functionality()
/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl02.c24 union semun un_arg; in verify_semctl() local
26 un_arg.buf = &sem_ds; in verify_semctl()
28 TST_EXP_FAIL(semctl(sem_id, 0, IPC_STAT, un_arg), EACCES, in verify_semctl()