Home
last modified time | relevance | path

Searched refs:msg_perm (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl01.c77 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/
Dmsgbuf.h31 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/
Dipcs.c60 #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/
Dipc_msg.c56 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/
Dmsgctl.c16 tmp.msg_perm.mode *= 0x10000U; in msgctl()
30 buf->msg_perm.mode >>= 16; in msgctl()
/third_party/musl/porting/liteos_a/user/src/ipc/
Dmsgctl.c19 tmp.msg_perm.mode *= 0x10000U; in msgctl()
33 buf->msg_perm.mode >>= 16; in msgctl()
/third_party/musl/arch/generic/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/x32/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/m68k/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/i386/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/or1k/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/microblaze/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/powerpc/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/arm/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/sh/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/porting/uniproton/kernel/include/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/mipsn32/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/arch/mips/bits/
Dmsg.h2 struct ipc_perm msg_perm; member
/third_party/musl/libc-test/src/api/
Dsys_msg.c16 F(struct ipc_perm, msg_perm) in f()