Searched refs:shm_perm (Results 1 - 25 of 29) sorted by relevance

12

/external/strace/
H A Dipc_shmctl.c67 tprints("{shm_perm={");
68 printuid("uid=", shmid_ds.shm_perm.uid);
69 printuid(", gid=", shmid_ds.shm_perm.gid);
71 print_numeric_umode_t(shmid_ds.shm_perm.mode);
78 tprintf(", key=%u", (unsigned) shmid_ds.shm_perm.__key);
79 printuid(", cuid=", shmid_ds.shm_perm.cuid);
80 printuid(", cgid=", shmid_ds.shm_perm.cgid);
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dshmbuf.h15 struct ipc64_perm shm_perm; /* operation perms */ member in struct:shmid64_ds
/external/strace/tests/
H A Dipc_shm.c142 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{shm_perm=\\{uid=%u, gid=%u, "
146 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid,
147 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key,
148 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid,
156 printf("shmctl\\(%d, (IPC_64\\|)?IPC_SET, \\{shm_perm=\\{uid=%u, gid=%u"
158 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm
[all...]
/external/strace/tests-m32/
H A Dipc_shm.c142 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{shm_perm=\\{uid=%u, gid=%u, "
146 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid,
147 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key,
148 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid,
156 printf("shmctl\\(%d, (IPC_64\\|)?IPC_SET, \\{shm_perm=\\{uid=%u, gid=%u"
158 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm
[all...]
/external/strace/tests-mx32/
H A Dipc_shm.c142 printf("shmctl\\(%d, (IPC_64\\|)?IPC_STAT, \\{shm_perm=\\{uid=%u, gid=%u, "
146 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid,
147 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key,
148 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid,
156 printf("shmctl\\(%d, (IPC_64\\|)?IPC_SET, \\{shm_perm=\\{uid=%u, gid=%u"
158 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm
[all...]
/external/toybox/toys/pending/
H A Dipcs.c128 #define ipcperm buf.shm_perm
211 if ((pw = getpwuid(buf.shm_perm.uid)))
213 else printf("%-10d %-10.10d", shmid, buf.shm_perm.uid);
221 if ((pw = getpwuid(buf.shm_perm.uid)))
223 else printf("%-10d %-10.10d", shmid, buf.shm_perm.uid);
226 printf("%-10d %-10o", shmid, buf.shm_perm.mode & 0777);
227 if ((pw = getpwuid(buf.shm_perm.cuid))) printf(" %-10s", pw->pw_name);
228 else printf(" %-10d", buf.shm_perm.cuid);
229 if ((gr = getgrgid(buf.shm_perm.cgid))) printf(" %-10s", gr->gr_name);
230 else printf(" %-10d", buf.shm_perm
[all...]
/external/kernel-headers/original/uapi/asm-generic/
H A Dshmbuf.h27 struct ipc64_perm shm_perm; /* operation perms */ member in struct:shmid64_ds
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
H A D6-1-buildonly.c12 * struct ipc_perm shm_perm
34 t.shm_perm = perm;
/external/fio/os/windows/posix/include/sys/
H A Dshm.h26 struct ipc_perm shm_perm; /* operation permission structure */ member in struct:shmid_ds
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
H A Dshmctl01.c312 if (!fail && (buf.shm_perm.mode & MODE_MASK) !=
363 buf.shm_perm.mode = SHM_RW | NEWMODE;
382 if ((buf.shm_perm.mode & MODE_MASK) !=
422 if (buf.shm_perm.mode & SHM_LOCKED)
435 if (buf.shm_perm.mode & SHM_LOCKED)
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
H A Dhugeshmctl01.c218 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) {
262 buf.shm_perm.mode = SHM_RW | NEWMODE;
279 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW | NEWMODE) & MODE_MASK)) {
/external/kernel-headers/original/uapi/linux/
H A Dshm.h29 struct ipc_perm shm_perm; /* operation perms */ member in struct:shmid_ds
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
H A Dhugeshmget01.c58 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) {
/external/ltp/testcases/kernel/syscalls/ipc/shmget/
H A Dshmget01.c114 if ((buf.shm_perm.mode & MODE_MASK) !=
/external/valgrind/include/vki/
H A Dvki-amd64-linux.h653 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-arm64-linux.h647 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-arm-linux.h748 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-ppc32-linux.h900 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-ppc64-linux.h769 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-s390x-linux.h925 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-x86-linux.h766 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-mips32-linux.h764 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
H A Dvki-mips64-linux.h789 struct vki_ipc64_perm shm_perm; /* operation perms */ member in struct:vki_shmid64_ds
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_posix.h219 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
270 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
/external/valgrind/memcheck/tests/solaris/
H A Dscalar.c124 buf.shm_perm.uid = x0 + 1;
125 buf.shm_perm.gid = x0 + 1;
126 buf.shm_perm.mode = x0 + 1;

Completed in 858 milliseconds

12