/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
D | msgctl01.c | 77 if (buf.msg_perm.__key == msgkey) { in verify_msgctl() 81 (unsigned)buf.msg_perm.__key, (unsigned)msgkey); in verify_msgctl() 84 if (buf.msg_perm.uid == uid) { in verify_msgctl() 88 (unsigned)buf.msg_perm.uid, (unsigned)uid); in verify_msgctl() 91 if (buf.msg_perm.gid == gid) { in verify_msgctl() 95 (unsigned)buf.msg_perm.gid, (unsigned)gid); in verify_msgctl() 98 if (buf.msg_perm.cuid == uid) { in verify_msgctl() 102 (unsigned)buf.msg_perm.cuid, (unsigned)uid); in verify_msgctl() 105 if (buf.msg_perm.cgid == gid) { in verify_msgctl() 109 (unsigned)buf.msg_perm.cgid, (unsigned)gid); in verify_msgctl() [all …]
|
/third_party/ltp/include/lapi/ |
D | msgbuf.h | 31 struct ipc64_perm msg_perm; member 46 struct ipc64_perm msg_perm; member 64 struct ipc64_perm msg_perm; member 95 struct ipc64_perm msg_perm; member 129 struct ipc64_perm msg_perm; member 165 struct ipc64_perm msg_perm; member 201 struct ipc64_perm msg_perm; member 228 struct ipc64_perm msg_perm; member 279 struct ipc64_perm msg_perm; member
|
/third_party/toybox/toys/pending/ |
D | ipcs.c | 60 #define ipcperm buf.msg_perm in show_msg_id() 388 pw = getpwuid(buf.msg_perm.uid); in msg_array() 391 else printf("%-8d %-10d", msqid, buf.msg_perm.uid); in msg_array() 400 else printf("%-8d %-10d", msqid, buf.msg_perm.uid); in msg_array() 403 printf("%-10d %-10o", msqid, buf.msg_perm.mode & 0777); in msg_array() 404 if ((pw = getpwuid(buf.msg_perm.cuid))) printf(" %-10s", pw->pw_name); in msg_array() 405 else printf(" %-10d", buf.msg_perm.cuid); in msg_array() 406 if ((gr = getgrgid(buf.msg_perm.cgid))) printf(" %-10s", gr->gr_name); in msg_array() 407 else printf(" %-10d", buf.msg_perm.cgid); in msg_array() 408 if ((pw = getpwuid(buf.msg_perm.uid))) printf(" %-10s", pw->pw_name); in msg_array() [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | ipc_msg.c | 56 EQ(qid_ds.msg_perm.cuid, geteuid(), "got %d, want %d"); in snd() 57 EQ(qid_ds.msg_perm.uid, geteuid(), "got %d, want %d"); in snd() 58 EQ(qid_ds.msg_perm.cgid, getegid(), "got %d, want %d"); in snd() 59 EQ(qid_ds.msg_perm.gid, getegid(), "got %d, want %d"); in snd() 60 EQ(qid_ds.msg_perm.mode & 0x1ff, 0666, "got %o, want %o"); in snd()
|
/third_party/musl/src/ipc/ |
D | msgctl.c | 16 tmp.msg_perm.mode *= 0x10000U; in msgctl() 30 buf->msg_perm.mode >>= 16; in msgctl()
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
D | msgctl.c | 19 tmp.msg_perm.mode *= 0x10000U; in msgctl() 33 buf->msg_perm.mode >>= 16; in msgctl()
|
/third_party/musl/arch/generic/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/x32/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/m68k/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/i386/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/or1k/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/microblaze/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/powerpc/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/arm/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/sh/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/mipsn32/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/arch/mips/bits/ |
D | msg.h | 2 struct ipc_perm msg_perm; member
|
/third_party/musl/libc-test/src/api/ |
D | sys_msg.c | 16 F(struct ipc_perm, msg_perm) in f()
|