Home
last modified time | relevance | path

Searched refs:shm_perm (Results 1 - 25 of 70) sorted by relevance

123

/third_party/toybox/toys/pending/
H A 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 in shm_array()
[all...]
/third_party/ltp/include/lapi/
H A 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/
H A Dshmctl08.c11 * The test clears the group and others bits from the shm_perm.mode and checks
34 tst_res(TPASS, "shmctl(%i, IPC_SET, {shm_perm.mode=%04o})", in test_ipc_set()
35 shm_id, ds->shm_perm.mode); in test_ipc_set()
41 if (ds->shm_perm.mode == exp_mode) { in check_mode()
42 tst_res(TPASS, "shm_perm.mode=%04o", exp_mode); in check_mode()
46 tst_res(TFAIL, "shm_perm.mode=%04o, expected %i", 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 in verify_shmset()
[all...]
H A Dshmctl07.c36 if (ds.shm_perm.mode & SHM_LOCKED) in verify_shmlock()
37 tst_res(TPASS, "SMH_LOCKED bit is on in shm_perm.mode"); in verify_shmlock()
39 tst_res(TFAIL, "SHM_LOCKED bit is off in shm_perm.mode"); in verify_shmlock()
50 if (ds.shm_perm.mode & SHM_LOCKED) in verify_shmlock()
51 tst_res(TFAIL, "SMH_LOCKED bit is on in shm_perm.mode"); in verify_shmlock()
53 tst_res(TPASS, "SHM_LOCKED bit is off in shm_perm.mode"); in verify_shmlock()
/third_party/musl/libc-test/src/functional/
H A 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/
H A Dshmctl.c24 tmp.shm_perm.mode *= 0x10000U; in shmctl()
38 buf->shm_perm.mode >>= 16; in shmctl()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
H A Dhugeshmctl01.c189 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW) & MODE_MASK)) { in func_stat()
235 buf.shm_perm.mode = SHM_RW | NEWMODE; in set_setup()
252 if ((buf.shm_perm.mode & MODE_MASK) != ((SHM_RW | NEWMODE) & MODE_MASK)) { in func_set()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/linux/user/arch/generic/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/arm/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/i386/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/microblaze/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/mips/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/or1k/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/powerpc/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/riscv32/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/generic/bits/
H A Dshm.h8 struct ipc_perm shm_perm; member
/third_party/musl/arch/m68k/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/mipsn32/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/powerpc64/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/arch/sh/bits/
H A Dshm.h4 struct ipc_perm shm_perm; member
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dshm.h6 struct ipc_perm shm_perm; member
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/
H A Dshm.h6 struct ipc_perm shm_perm; member

Completed in 8 milliseconds

123