/kernel/linux/linux-5.10/ipc/ |
D | shm.c | 54 struct kern_ipc_perm shm_perm; member 98 ipc_unlock(&(shp)->shm_perm) 126 shp = container_of(ipcp, struct shmid_kernel, shm_perm); in do_shm_rmid() 130 shp->shm_perm.mode |= SHM_DEST; in do_shm_rmid() 132 ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); in do_shm_rmid() 173 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_obtain_object() 183 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_obtain_object_check() 208 return container_of(ipcp, struct shmid_kernel, shm_perm); in shm_lock() 225 ipc_lock_object(&ipcp->shm_perm); in shm_lock_by_ptr() 233 shm_perm); in shm_rcu_free() [all …]
|
/kernel/liteos_a/kernel/base/vm/ |
D | shm.c | 135 g_shmSegs[i].ds.shm_perm.seq = i + 1; in ShmInit() 230 seg->ds.shm_perm.mode = (UINT32)shmflg & ACCESSPERMS; in ShmAllocSeg() 231 seg->ds.shm_perm.key = key; in ShmAllocSeg() 233 seg->ds.shm_perm.cuid = LOS_GetUserID(); in ShmAllocSeg() 234 seg->ds.shm_perm.uid = LOS_GetUserID(); in ShmAllocSeg() 235 seg->ds.shm_perm.cgid = LOS_GetGroupID(); in ShmAllocSeg() 236 seg->ds.shm_perm.gid = LOS_GetGroupID(); in ShmAllocSeg() 273 (seg->ds.shm_perm.key == key)) { in ShmFindSegByKey() 399 mode_t privMode = seg->ds.shm_perm.mode; in ShmPermCheck() 402 if ((uid == seg->ds.shm_perm.uid) || (uid == seg->ds.shm_perm.cuid)) { in ShmPermCheck() [all …]
|
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
D | shm_test_004.cpp | 55 ICUNIT_GOTO_EQUAL(ds.shm_perm.uid, getuid(), ds.shm_perm.uid, ERROR_OUT); in Testcase() 61 ds.shm_perm.uid = getuid(); in Testcase() 62 ds.shm_perm.gid = getgid(); in Testcase() 63 ds.shm_perm.mode = 0; in Testcase()
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
D | shmbuf.h | 18 struct ipc64_perm shm_perm; /* operation perms */ member 31 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
D | shmbuf.h | 23 struct ipc64_perm shm_perm; member 36 struct ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/ |
D | shmbuf.h | 24 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | shmbuf.h | 23 struct ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | shmbuf.h | 26 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
D | shmbuf.h | 17 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
D | shmbuf.h | 23 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
D | shmbuf.h | 15 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | shmbuf.h | 10 struct ipc64_perm shm_perm; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
D | shmbuf.h | 25 struct ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
D | shmbuf.h | 17 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | shm.h | 31 struct __kernel_legacy_ipc_perm shm_perm; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | shm.h | 20 struct __kernel_legacy_ipc_perm shm_perm; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | shm.h | 29 struct ipc_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | compat.h | 159 struct compat_ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | compat.h | 166 struct compat_ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | compat.h | 189 struct compat_ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | compat.h | 164 struct compat_ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | compat.h | 152 struct compat_ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | compat.h | 147 struct compat_ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | compat.h | 242 struct compat_ipc64_perm shm_perm; member
|