/kernel/linux/linux-5.10/ipc/ |
H A 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() 1311 struct compat_ipc_perm shm_perm; global() member [all...] |
/kernel/linux/linux-6.6/ipc/ |
H A 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() 1321 struct compat_ipc_perm shm_perm; global() member [all...] |
/kernel/liteos_a/kernel/base/vm/ |
H A D | shm.c | 129 shmSegs[i].ds.shm_perm.seq = i + 1; in OsShmCBInit() 255 seg->ds.shm_perm.mode = (UINT32)shmflg & ACCESSPERMS; in ShmAllocSeg() 256 seg->ds.shm_perm.key = key; in ShmAllocSeg() 258 seg->ds.shm_perm.cuid = LOS_GetUserID(); in ShmAllocSeg() 259 seg->ds.shm_perm.uid = LOS_GetUserID(); in ShmAllocSeg() 260 seg->ds.shm_perm.cgid = LOS_GetGroupID(); in ShmAllocSeg() 261 seg->ds.shm_perm.gid = LOS_GetGroupID(); in ShmAllocSeg() 303 (seg->ds.shm_perm.key == key)) { in ShmFindSegByKey() 429 mode_t privMode = seg->ds.shm_perm.mode; in ShmPermCheck() 432 if ((uid == seg->ds.shm_perm in ShmPermCheck() 638 struct ipc_perm shm_perm; ShmCtl() local [all...] |
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
H A 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/ |
H A D | shmbuf.h | 18 struct ipc64_perm shm_perm; /* operation perms */ member 31 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-6.6/arch/mips/include/uapi/asm/ |
H A D | shmbuf.h | 21 struct ipc64_perm shm_perm; /* operation perms */ member 34 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-mips/asm/ |
H A D | shmbuf.h | 23 struct ipc64_perm shm_perm; member 36 struct ipc64_perm shm_perm; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
H A D | shmbuf.h | 23 struct ipc64_perm shm_perm; member 36 struct ipc64_perm shm_perm; member
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_ipc_container_004.cpp | 192 ASSERT_EQ(ds.shm_perm.uid, getuid()); in ItIpcContainer004() 198 ds.shm_perm.uid = getuid(); in ItIpcContainer004() 199 ds.shm_perm.gid = getgid(); in ItIpcContainer004() 200 ds.shm_perm.mode = 0; in ItIpcContainer004()
|
/kernel/linux/linux-5.10/arch/xtensa/include/uapi/asm/ |
H A D | shmbuf.h | 24 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/arch/powerpc/include/uapi/asm/ |
H A D | shmbuf.h | 23 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/ |
H A D | shmbuf.h | 17 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
H A D | shmbuf.h | 15 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-6.6/arch/powerpc/include/uapi/asm/ |
H A D | shmbuf.h | 26 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/ |
H A D | shmbuf.h | 18 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
H A D | shmbuf.h | 26 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-6.6/include/uapi/asm-generic/ |
H A D | shmbuf.h | 28 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-6.6/arch/xtensa/include/uapi/asm/ |
H A D | shmbuf.h | 27 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
H A D | shmbuf.h | 10 struct ipc64_perm shm_perm; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
H A D | shmbuf.h | 23 struct ipc64_perm shm_perm; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/ |
H A D | shmbuf.h | 23 struct ipc64_perm shm_perm; member
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
H A D | shmbuf.h | 17 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-6.6/arch/parisc/include/uapi/asm/ |
H A D | shmbuf.h | 19 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/linux-6.6/arch/x86/include/uapi/asm/ |
H A D | shmbuf.h | 21 struct ipc64_perm shm_perm; /* operation perms */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
H A D | shmbuf.h | 25 struct ipc64_perm shm_perm; member
|