/third_party/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 …]
|
/third_party/ltp/include/lapi/ |
D | shmbuf.h | 32 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/ |
D | shmctl08.c | 35 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()
|
D | shmctl07.c | 36 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/ |
D | ipc_shm.c | 53 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/ |
D | shmctl.c | 16 tmp.shm_perm.mode *= 0x10000U; in shmctl() 30 buf->shm_perm.mode >>= 16; in shmctl()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl01.c | 189 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/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/generic/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/porting/linux/user/arch/generic/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/mips/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/mipsn32/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/powerpc/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/porting/liteos_m/kernel/include/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 6-1-buildonly.c | 34 t.shm_perm = perm; in dummyfcn()
|
/third_party/musl/porting/liteos_a/kernel/include/bits/ |
D | shm.h | 6 struct ipc_perm shm_perm; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/i386/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/ |
D | shm.h | 6 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/microblaze/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/sh/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/arm/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/m68k/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/porting/uniproton/kernel/include/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|
/third_party/musl/arch/or1k/bits/ |
D | shm.h | 4 struct ipc_perm shm_perm; member
|