Home
last modified time | relevance | path

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

123

/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/ltp/include/lapi/
Dshmbuf.h32 struct ipc64_perm shm_perm; /* operation perms */ member
46 struct ipc64_perm shm_perm; /* operation perms */ member
75 struct ipc64_perm shm_perm; /* operation perms */ member
112 struct ipc64_perm shm_perm; /* operation perms */ member
149 struct ipc64_perm shm_perm; /* operation perms */ member
184 struct ipc64_perm shm_perm; /* operation perms */ member
211 struct ipc64_perm shm_perm; /* operation perms */ member
248 struct ipc64_perm shm_perm; /* operation perms */ member
/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/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/
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/
Dshmctl08.c35 shm_id, ds->shm_perm.mode); in test_ipc_set()
41 if (ds->shm_perm.mode == exp_mode) { in check_mode()
47 ds->shm_perm.mode, exp_mode); in check_mode()
58 old_mode = ds.shm_perm.mode; in verify_shmset()
65 ds.shm_perm.mode &= ~0066; in verify_shmset()
82 ds.shm_perm.mode = old_mode; in verify_shmset()
Dshmctl07.c36 if (ds.shm_perm.mode & SHM_LOCKED) in verify_shmlock()
50 if (ds.shm_perm.mode & SHM_LOCKED) in verify_shmlock()
/external/musl/src/ipc/
Dshmctl.c24 tmp.shm_perm.mode *= 0x10000U; in shmctl()
38 buf->shm_perm.mode >>= 16; in shmctl()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c189 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in func_stat()
234 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup()
251 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW | NEWMODE) & MODE_MASK)) { in func_set()
/external/musl/arch/powerpc64/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/generic/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/kernel-headers/original/uapi/asm-generic/
Dshmbuf.h28 struct ipc64_perm shm_perm; /* operation perms */ member
/external/musl/arch/mips/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/mipsn32/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/powerpc/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D6-1-buildonly.c34 t.shm_perm = perm; in dummyfcn()
/external/musl/arch/microblaze/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/m68k/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/or1k/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/arm/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/i386/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/musl/arch/sh/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/external/kernel-headers/original/uapi/asm-x86/asm/
Dshmbuf.h21 struct ipc64_perm shm_perm; /* operation perms */ member
/external/musl/arch/x32/bits/
Dshm.h4 struct ipc_perm shm_perm; member

123