/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
D | semctl07.c | 47 if (arg.buf->sem_perm.uid != getuid()) { in verify_semctl() 49 arg.buf->sem_perm.uid, getuid()); in verify_semctl() 51 tst_res(TPASS, "sem_perm.uid = %d", arg.buf->sem_perm.uid); in verify_semctl() 54 if (arg.buf->sem_perm.gid != getgid()) { in verify_semctl() 56 arg.buf->sem_perm.gid, getgid()); in verify_semctl() 58 tst_res(TPASS, "sem_perm.gid = %d", arg.buf->sem_perm.gid); in verify_semctl() 61 if (arg.buf->sem_perm.cuid != getuid()) { in verify_semctl() 63 arg.buf->sem_perm.cuid, getuid()); in verify_semctl() 65 tst_res(TPASS, "sem_perm.cuid = %d", arg.buf->sem_perm.cuid); in verify_semctl() 68 if (arg.buf->sem_perm.cgid != getgid()) { in verify_semctl() [all …]
|
D | semctl04.c | 39 perm.sem_perm.uid = getuid() + 1; in do_child() 40 perm.sem_perm.gid = getgid() + 1; in do_child() 41 perm.sem_perm.mode = 0666; in do_child()
|
D | semctl01.c | 44 if (buf.sem_nsems == PSEMS && buf.sem_perm.mode == (SEM_RA)) in func_stat() 52 buf.sem_perm.mode = SEM_RA | NEWMODE; in set_setup() 59 if (buf.sem_perm.mode == (SEM_RA | NEWMODE)) in func_set()
|
/third_party/ltp/include/lapi/ |
D | sembuf.h | 29 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member 39 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member 60 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member 89 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member 118 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member 149 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member 173 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member 215 struct ipc64_perm sem_perm; /* permissions .. see ipc.h */ member
|
/third_party/toybox/toys/pending/ |
D | ipcs.c | 88 #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 …]
|
/third_party/musl/libc-test/src/functional/ |
D | ipc_sem.c | 59 EQ(semid_ds.sem_perm.cuid, geteuid(), "got %d, want %d"); in inc() 60 EQ(semid_ds.sem_perm.uid, geteuid(), "got %d, want %d"); in inc() 61 EQ(semid_ds.sem_perm.cgid, getegid(), "got %d, want %d"); in inc() 62 EQ(semid_ds.sem_perm.gid, getegid(), "got %d, want %d"); in inc() 63 EQ(semid_ds.sem_perm.mode & 0x1ff, 0666, "got %o, want %o"); in inc()
|
/third_party/musl/src/ipc/ |
D | semctl.c | 43 tmp.sem_perm.mode *= 0x10000U; in semctl() 57 arg.buf->sem_perm.mode >>= 16; in semctl()
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
D | semctl.c | 46 tmp.sem_perm.mode *= 0x10000U; in semctl() 60 arg.buf->sem_perm.mode >>= 16; in semctl()
|
/third_party/musl/arch/x86_64/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/x32/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/m68k/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/or1k/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/i386/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/powerpc/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/generic/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/mips/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/mipsn32/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/sh/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/arm/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/musl/arch/microblaze/bits/ |
D | sem.h | 2 struct ipc_perm sem_perm; member
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semget/ |
D | semget01.c | 132 if (un_arg.buf->sem_perm.cuid != geteuid()) { in check_functionality()
|
/third_party/musl/libc-test/src/api/ |
D | sys_sem.c | 20 F(struct ipc_perm,sem_perm) in f()
|