Home
last modified time | relevance | path

Searched refs:sem_perm (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl07.c86 if (arg.buf->sem_perm.uid != getuid()) { in main()
88 arg.buf->sem_perm.uid); in main()
91 if (arg.buf->sem_perm.gid != getgid()) { in main()
93 arg.buf->sem_perm.gid); in main()
96 if (arg.buf->sem_perm.cuid != getuid()) { in main()
98 arg.buf->sem_perm.cuid); in main()
101 if (arg.buf->sem_perm.cgid != getgid()) { in main()
103 arg.buf->sem_perm.cgid); in main()
Dsemctl04.c135 perm.sem_perm.uid = getuid() + 1; in do_child()
136 perm.sem_perm.gid = getgid() + 1; in do_child()
137 perm.sem_perm.mode = 0666; in do_child()
Dsemctl01.c241 if (buf.sem_nsems == PSEMS && buf.sem_perm.mode == (SEM_RA)) in func_stat()
254 buf.sem_perm.mode = SEM_RA | NEWMODE; in set_setup()
269 if (buf.sem_perm.mode == (SEM_RA | NEWMODE)) in func_set()
/external/toybox/toys/pending/
Dipcs.c88 #define ipcperm buf.sem_perm in show_sem_id()
308 pw = getpwuid(buf.sem_perm.uid); in sem_array()
311 else printf("%-8d %-10d", semid, buf.sem_perm.uid); in sem_array()
318 printf("%-10d %-10o", semid, buf.sem_perm.mode & 0777); in sem_array()
319 if ((pw = getpwuid(buf.sem_perm.cuid))) printf(" %-10s", pw->pw_name); in sem_array()
320 else printf(" %-10d", buf.sem_perm.cuid); in sem_array()
321 if ((gr = getgrgid(buf.sem_perm.cgid))) printf(" %-10s", gr->gr_name); in sem_array()
322 else printf(" %-10d", buf.sem_perm.cgid); in sem_array()
323 if ((pw = getpwuid(buf.sem_perm.uid))) printf(" %-10s", pw->pw_name); in sem_array()
324 else printf(" %-10d", buf.sem_perm.uid); in sem_array()
[all …]
/external/kernel-headers/original/uapi/asm-generic/
Dsembuf.h30 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsembuf.h19 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member
/external/kernel-headers/original/uapi/linux/
Dsem.h26 struct ipc_perm sem_perm; /* permissions .. see ipc.h */ member
/external/ltp/testcases/kernel/syscalls/ipc/semget/
Dsemget01.c132 if (un_arg.buf->sem_perm.cuid != geteuid()) { in check_functionality()
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs512 pub sem_perm: ipc_perm,
729 let sem_perm = self.sem_perm; localVariable
731 let other_sem_perm = other.sem_perm;
733 sem_perm == other_sem_perm
746 let sem_perm = self.sem_perm; localVariable
755 .field("sem_perm", &sem_perm)
768 let sem_perm = self.sem_perm; localVariable
776 sem_perm.hash(state);