Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl01.c90 if (buf.msg_perm.__key == msgkey) { in verify_msgctl()
94 (unsigned)buf.msg_perm.__key, (unsigned)msgkey); in verify_msgctl()
97 if (buf.msg_perm.uid == uid) { in verify_msgctl()
101 (unsigned)buf.msg_perm.uid, (unsigned)uid); in verify_msgctl()
104 if (buf.msg_perm.gid == gid) { in verify_msgctl()
108 (unsigned)buf.msg_perm.gid, (unsigned)gid); in verify_msgctl()
111 if (buf.msg_perm.cuid == uid) { in verify_msgctl()
115 (unsigned)buf.msg_perm.cuid, (unsigned)uid); in verify_msgctl()
118 if (buf.msg_perm.cgid == gid) { in verify_msgctl()
122 (unsigned)buf.msg_perm.cgid, (unsigned)gid); in verify_msgctl()
[all …]
/external/strace/tests-mx32/
Dipc_msg.c153 (unsigned) ds.msg_perm.uid, (unsigned) ds.msg_perm.gid, in main()
154 (unsigned) ds.msg_perm.mode, (unsigned) ds.msg_perm.__key, in main()
155 (unsigned) ds.msg_perm.cuid, (unsigned) ds.msg_perm.cgid, in main()
165 id, str_ipc_64, str_ipc_set, (unsigned) ds.msg_perm.uid, in main()
166 (unsigned) ds.msg_perm.gid, (unsigned) ds.msg_perm.mode); in main()
/external/strace/tests/
Dipc_msg.c153 (unsigned) ds.msg_perm.uid, (unsigned) ds.msg_perm.gid, in main()
154 (unsigned) ds.msg_perm.mode, (unsigned) ds.msg_perm.__key, in main()
155 (unsigned) ds.msg_perm.cuid, (unsigned) ds.msg_perm.cgid, in main()
165 id, str_ipc_64, str_ipc_set, (unsigned) ds.msg_perm.uid, in main()
166 (unsigned) ds.msg_perm.gid, (unsigned) ds.msg_perm.mode); in main()
/external/strace/tests-m32/
Dipc_msg.c153 (unsigned) ds.msg_perm.uid, (unsigned) ds.msg_perm.gid, in main()
154 (unsigned) ds.msg_perm.mode, (unsigned) ds.msg_perm.__key, in main()
155 (unsigned) ds.msg_perm.cuid, (unsigned) ds.msg_perm.cgid, in main()
165 id, str_ipc_64, str_ipc_set, (unsigned) ds.msg_perm.uid, in main()
166 (unsigned) ds.msg_perm.gid, (unsigned) ds.msg_perm.mode); in main()
/external/strace/
Dipc_msgctl.c68 printuid("uid=", msqid_ds.msg_perm.uid); in print_msqid_ds()
69 printuid(", gid=", msqid_ds.msg_perm.gid); in print_msqid_ds()
71 print_numeric_umode_t(msqid_ds.msg_perm.mode); in print_msqid_ds()
78 tprintf(", key=%u", (unsigned) msqid_ds.msg_perm.__key); in print_msqid_ds()
79 printuid(", cuid=", msqid_ds.msg_perm.cuid); in print_msqid_ds()
80 printuid(", cgid=", msqid_ds.msg_perm.cgid); in print_msqid_ds()
/external/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 …]
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmsgbuf.h17 struct ipc64_perm msg_perm; member
31 struct ipc64_perm msg_perm; member
48 struct ipc64_perm msg_perm; member
/external/kernel-headers/original/uapi/asm-generic/
Dmsgbuf.h25 struct ipc64_perm msg_perm; member
/external/kernel-headers/original/uapi/asm-x86/asm/
Dmsgbuf.h17 struct ipc64_perm msg_perm; member
/external/kernel-headers/original/uapi/linux/
Dmsg.h19 struct ipc_perm msg_perm; member
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c157 msgque->mode = ds.msg_perm.mode; in dump_queue()