/external/toybox/toys/pending/ |
D | ipcs.c | 128 #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/ |
D | ipc_shm.c | 191 (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/ |
D | ipc_shm.c | 191 (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/ |
D | ipc_shm.c | 191 (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/ |
D | ipc_shmctl.c | 68 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/ |
D | shmctl01.c | 312 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/ |
D | shmbuf.h | 18 struct ipc64_perm shm_perm; /* operation perms */ member 31 struct ipc64_perm shm_perm; /* operation perms */ member
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl01.c | 218 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/ |
D | shmbuf.h | 26 struct ipc64_perm shm_perm; /* operation perms */ member
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 6-1-buildonly.c | 34 t.shm_perm = perm; in dummyfcn()
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | shmbuf.h | 17 struct ipc64_perm shm_perm; /* operation perms */ member
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget01.c | 58 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in test_hugeshmget()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget01.c | 114 if ((buf.shm_perm.mode & MODE_MASK) != in main()
|
/external/kernel-headers/original/uapi/linux/ |
D | shm.h | 29 struct ipc_perm shm_perm; /* operation perms */ member
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 219 __sanitizer_ipc_perm shm_perm; member 270 __sanitizer_ipc_perm shm_perm; member
|
D | sanitizer_platform_limits_posix.cc | 1148 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
|