Home
last modified time | relevance | path

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

12

/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/
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/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/
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/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c313 if (!fail && (buf.shm_perm.mode & MODE_MASK) != in func_istat()
364 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup()
383 if ((buf.shm_perm.mode & MODE_MASK) != in func_set()
437 if (buf.shm_perm.mode & SHM_LOCKED) in func_lock()
450 if (buf.shm_perm.mode & SHM_LOCKED) in func_unlock()
/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/syscalls/ipc/shmget/
Dshmget01.c114 if ((buf.shm_perm.mode & MODE_MASK) != in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget01.c58 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in test_hugeshmget()
/external/kernel-headers/original/uapi/linux/
Dshm.h29 struct ipc_perm shm_perm; /* operation perms */ member
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b64/
Dmod.rs50 pub shm_perm: ::ipc_perm,
/external/rust/crates/libc/src/unix/uclibc/mips/mips64/
Dmod.rs107 pub shm_perm: ::ipc_perm,
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs524 pub shm_perm: ipc_perm,
789 let shm_perm = self.shm_perm; localVariable
790 let other_shm_perm = other.shm_perm;
791 shm_perm == other_shm_perm
805 let shm_perm = self.shm_perm; localVariable
815 .field("shm_perm", &shm_perm)
829 let shm_perm = self.shm_perm; localVariable
838 shm_perm.hash(state);
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/
Dmod.rs21 pub shm_perm: ::ipc_perm,
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
Dmod.rs10 pub shm_perm: ::ipc_perm,
/external/rust/crates/libc/src/unix/uclibc/x86_64/
Dmod.rs63 pub shm_perm: ::ipc_perm,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h219 __sanitizer_ipc_perm shm_perm; member
270 __sanitizer_ipc_perm shm_perm; member
/external/rust/crates/libc/src/unix/uclibc/mips/mips32/
Dmod.rs119 pub shm_perm: ::ipc_perm,
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b32/
Dhexagon.rs47 pub shm_perm: ::ipc_perm,
/external/rust/crates/libc/src/unix/linux_like/linux/musl/b32/mips/
Dmod.rs70 pub shm_perm: ::ipc_perm,
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/riscv64/
Dmod.rs189 pub shm_perm: ipc_perm,
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/arm/
Dmod.rs112 pub shm_perm: ::ipc_perm,

12