Home
last modified time | relevance | path

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

12

/third_party/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 …]
/third_party/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
/third_party/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()
/third_party/musl/libc-test/src/functional/
Dipc_shm.c53 EQ(shmid_ds.shm_perm.cuid, geteuid(), "got %d, want %d"); in set()
54 EQ(shmid_ds.shm_perm.uid, geteuid(), "got %d, want %d"); in set()
55 EQ(shmid_ds.shm_perm.cgid, getegid(), "got %d, want %d"); in set()
56 EQ(shmid_ds.shm_perm.gid, getegid(), "got %d, want %d"); in set()
57 EQ(shmid_ds.shm_perm.mode & 0x1ff, 0666, "got %o, want %o"); in set()
/third_party/musl/src/ipc/
Dshmctl.c16 tmp.shm_perm.mode *= 0x10000U; in shmctl()
30 buf->shm_perm.mode >>= 16; in shmctl()
/third_party/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()
/third_party/musl/arch/powerpc64/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/generic/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/linux/user/arch/generic/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/mips/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/mipsn32/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/powerpc/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D6-1-buildonly.c34 t.shm_perm = perm; in dummyfcn()
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dshm.h6 struct ipc_perm shm_perm; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/i386/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/
Dshm.h6 struct ipc_perm shm_perm; member
/third_party/musl/arch/microblaze/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/sh/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/arm/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/m68k/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/uniproton/kernel/include/bits/
Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/or1k/bits/
Dshm.h4 struct ipc_perm shm_perm; member

12