Home
last modified time | relevance | path

Searched refs:shm_perm (Results 1 – 16 of 16) sorted by relevance

/external/toybox/toys/pending/
Dipcs.c128 #define ipcperm buf.shm_perm in show_shm_id()
211 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
213 else printf("%-10d %-10.10d", shmid, buf.shm_perm.uid); in shm_array()
221 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
223 else printf("%-10d %-10.10d", shmid, buf.shm_perm.uid); in shm_array()
226 printf("%-10d %-10o", shmid, buf.shm_perm.mode & 0777); in shm_array()
227 if ((pw = getpwuid(buf.shm_perm.cuid))) printf(" %-10s", pw->pw_name); in shm_array()
228 else printf(" %-10d", buf.shm_perm.cuid); in shm_array()
229 if ((gr = getgrgid(buf.shm_perm.cgid))) printf(" %-10s", gr->gr_name); in shm_array()
230 else printf(" %-10d", buf.shm_perm.cgid); in shm_array()
[all …]
/external/strace/tests/
Dipc_shm.c191 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
192 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main()
193 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main()
204 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
205 (unsigned) ds.shm_perm.mode); in main()
/external/strace/tests-mx32/
Dipc_shm.c191 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
192 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main()
193 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main()
204 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
205 (unsigned) ds.shm_perm.mode); in main()
/external/strace/tests-m32/
Dipc_shm.c191 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
192 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main()
193 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main()
204 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
205 (unsigned) ds.shm_perm.mode); in main()
/external/strace/
Dipc_shmctl.c68 printuid("uid=", shmid_ds.shm_perm.uid); in print_shmid_ds()
69 printuid(", gid=", shmid_ds.shm_perm.gid); in print_shmid_ds()
71 print_numeric_umode_t(shmid_ds.shm_perm.mode); in print_shmid_ds()
78 tprintf(", key=%u", (unsigned) shmid_ds.shm_perm.__key); in print_shmid_ds()
79 printuid(", cuid=", shmid_ds.shm_perm.cuid); in print_shmid_ds()
80 printuid(", cgid=", shmid_ds.shm_perm.cgid); in print_shmid_ds()
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c312 if (!fail && (buf.shm_perm.mode & MODE_MASK) != in func_istat()
363 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup()
382 if ((buf.shm_perm.mode & MODE_MASK) != in func_set()
422 if (buf.shm_perm.mode & SHM_LOCKED) in func_lock()
435 if (buf.shm_perm.mode & SHM_LOCKED) in func_unlock()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dshmbuf.h18 struct ipc64_perm shm_perm; /* operation perms */ member
31 struct ipc64_perm shm_perm; /* operation perms */ member
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c218 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in func_stat()
262 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup()
279 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW | NEWMODE) & MODE_MASK)) { in func_set()
/external/kernel-headers/original/uapi/asm-generic/
Dshmbuf.h26 struct ipc64_perm shm_perm; /* operation perms */ member
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D6-1-buildonly.c34 t.shm_perm = perm; in dummyfcn()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dshmbuf.h17 struct ipc64_perm shm_perm; /* operation perms */ member
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c58 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in test_hugeshmget()
/external/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget01.c114 if ((buf.shm_perm.mode & MODE_MASK) != in main()
/external/kernel-headers/original/uapi/linux/
Dshm.h29 struct ipc_perm shm_perm; /* operation perms */ member
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h219 __sanitizer_ipc_perm shm_perm; member
270 __sanitizer_ipc_perm shm_perm; member
Dsanitizer_platform_limits_posix.cc1148 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);