shm_perm 185 arch/arm64/include/asm/compat.h struct compat_ipc64_perm shm_perm; shm_perm 184 arch/mips/include/asm/compat.h struct compat_ipc64_perm shm_perm; shm_perm 18 arch/mips/include/uapi/asm/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 31 arch/mips/include/uapi/asm/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 154 arch/parisc/include/asm/compat.h struct compat_ipc64_perm shm_perm; shm_perm 17 arch/parisc/include/uapi/asm/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 178 arch/powerpc/include/asm/compat.h struct compat_ipc64_perm shm_perm; shm_perm 23 arch/powerpc/include/uapi/asm/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 248 arch/s390/include/asm/compat.h struct compat_ipc64_perm shm_perm; shm_perm 207 arch/sparc/include/asm/compat.h struct compat_ipc64_perm shm_perm; shm_perm 15 arch/sparc/include/uapi/asm/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 149 arch/x86/include/asm/compat.h struct compat_ipc64_perm shm_perm; shm_perm 17 arch/x86/include/uapi/asm/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 24 arch/xtensa/include/uapi/asm/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 26 include/uapi/asm-generic/shmbuf.h struct ipc64_perm shm_perm; /* operation perms */ shm_perm 29 include/uapi/linux/shm.h struct ipc_perm shm_perm; /* operation perms */ shm_perm 54 ipc/shm.c struct kern_ipc_perm shm_perm; shm_perm 89 ipc/shm.c ipc_unlock(&(shp)->shm_perm) shm_perm 117 ipc/shm.c shp = container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 120 ipc/shm.c shp->shm_perm.mode |= SHM_DEST; shm_perm 122 ipc/shm.c ipc_set_key_private(&shm_ids(ns), &shp->shm_perm); shm_perm 163 ipc/shm.c return container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 173 ipc/shm.c return container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 198 ipc/shm.c return container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 215 ipc/shm.c ipc_lock_object(&ipcp->shm_perm); shm_perm 223 ipc/shm.c shm_perm); shm_perm 224 ipc/shm.c security_shm_free(&shp->shm_perm); shm_perm 231 ipc/shm.c ipc_rmid(&shm_ids(ns), &s->shm_perm); shm_perm 296 ipc/shm.c ipc_rcu_putref(&shp->shm_perm, shm_rcu_free); shm_perm 313 ipc/shm.c (shp->shm_perm.mode & SHM_DEST)); shm_perm 356 ipc/shm.c struct shmid_kernel *shp = container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 626 ipc/shm.c shp->shm_perm.key = key; shm_perm 627 ipc/shm.c shp->shm_perm.mode = (shmflg & S_IRWXUGO); shm_perm 630 ipc/shm.c shp->shm_perm.security = NULL; shm_perm 631 ipc/shm.c error = security_shm_alloc(&shp->shm_perm); shm_perm 679 ipc/shm.c error = ipc_addid(&shm_ids(ns), &shp->shm_perm, ns->shm_ctlmni); shm_perm 689 ipc/shm.c file_inode(file)->i_ino = shp->shm_perm.id; shm_perm 692 ipc/shm.c error = shp->shm_perm.id; shm_perm 694 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 704 ipc/shm.c ipc_rcu_putref(&shp->shm_perm, shm_rcu_free); shm_perm 707 ipc/shm.c call_rcu(&shp->shm_perm.rcu, shm_rcu_free); shm_perm 719 ipc/shm.c shp = container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 760 ipc/shm.c ipc64_perm_to_ipc_perm(&in->shm_perm, &out.shm_perm); shm_perm 791 ipc/shm.c out->shm_perm.uid = tbuf_old.shm_perm.uid; shm_perm 792 ipc/shm.c out->shm_perm.gid = tbuf_old.shm_perm.gid; shm_perm 793 ipc/shm.c out->shm_perm.mode = tbuf_old.shm_perm.mode; shm_perm 878 ipc/shm.c shp = container_of(ipc, struct shmid_kernel, shm_perm); shm_perm 902 ipc/shm.c &shmid64->shm_perm, 0); shm_perm 908 ipc/shm.c shp = container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 910 ipc/shm.c err = security_shm_shmctl(&shp->shm_perm, cmd); shm_perm 916 ipc/shm.c ipc_lock_object(&shp->shm_perm); shm_perm 921 ipc/shm.c ipc_lock_object(&shp->shm_perm); shm_perm 922 ipc/shm.c err = ipc_update_perm(&shmid64->shm_perm, ipcp); shm_perm 933 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 1011 ipc/shm.c audit_ipc_obj(&shp->shm_perm); shm_perm 1014 ipc/shm.c if (ipcperms(ns, &shp->shm_perm, S_IRUGO)) shm_perm 1018 ipc/shm.c err = security_shm_shmctl(&shp->shm_perm, cmd); shm_perm 1022 ipc/shm.c ipc_lock_object(&shp->shm_perm); shm_perm 1024 ipc/shm.c if (!ipc_valid_object(&shp->shm_perm)) { shm_perm 1025 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 1030 ipc/shm.c kernel_to_ipc64_perm(&shp->shm_perm, &tbuf->shm_perm); shm_perm 1055 ipc/shm.c err = shp->shm_perm.id; shm_perm 1058 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 1077 ipc/shm.c audit_ipc_obj(&(shp->shm_perm)); shm_perm 1078 ipc/shm.c err = security_shm_shmctl(&shp->shm_perm, cmd); shm_perm 1082 ipc/shm.c ipc_lock_object(&shp->shm_perm); shm_perm 1085 ipc/shm.c if (!ipc_valid_object(&shp->shm_perm)) { shm_perm 1093 ipc/shm.c if (!uid_eq(euid, shp->shm_perm.uid) && shm_perm 1094 ipc/shm.c !uid_eq(euid, shp->shm_perm.cuid)) { shm_perm 1112 ipc/shm.c if (!err && !(shp->shm_perm.mode & SHM_LOCKED)) { shm_perm 1113 ipc/shm.c shp->shm_perm.mode |= SHM_LOCKED; shm_perm 1120 ipc/shm.c if (!(shp->shm_perm.mode & SHM_LOCKED)) shm_perm 1123 ipc/shm.c shp->shm_perm.mode &= ~SHM_LOCKED; shm_perm 1126 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 1134 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 1216 ipc/shm.c struct compat_ipc_perm shm_perm; shm_perm 1294 ipc/shm.c to_compat_ipc64_perm(&v.shm_perm, &in->shm_perm); shm_perm 1309 ipc/shm.c to_compat_ipc_perm(&v.shm_perm, &in->shm_perm); shm_perm 1310 ipc/shm.c v.shm_perm.key = in->shm_perm.key; shm_perm 1328 ipc/shm.c return get_compat_ipc64_perm(&out->shm_perm, &p->shm_perm); shm_perm 1331 ipc/shm.c return get_compat_ipc_perm(&out->shm_perm, &p->shm_perm); shm_perm 1488 ipc/shm.c if (ipcperms(ns, &shp->shm_perm, acc_mode)) shm_perm 1491 ipc/shm.c err = security_shm_shmat(&shp->shm_perm, shmaddr, shmflg); shm_perm 1495 ipc/shm.c ipc_lock_object(&shp->shm_perm); shm_perm 1498 ipc/shm.c if (!ipc_valid_object(&shp->shm_perm)) { shm_perm 1499 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 1516 ipc/shm.c ipc_unlock_object(&shp->shm_perm); shm_perm 1537 ipc/shm.c sfd->id = shp->shm_perm.id; shm_perm 1747 ipc/shm.c shp = container_of(ipcp, struct shmid_kernel, shm_perm); shm_perm 1760 ipc/shm.c shp->shm_perm.key, shm_perm 1761 ipc/shm.c shp->shm_perm.id, shm_perm 1762 ipc/shm.c shp->shm_perm.mode, shm_perm 1767 ipc/shm.c from_kuid_munged(user_ns, shp->shm_perm.uid), shm_perm 1768 ipc/shm.c from_kgid_munged(user_ns, shp->shm_perm.gid), shm_perm 1769 ipc/shm.c from_kuid_munged(user_ns, shp->shm_perm.cuid), shm_perm 1770 ipc/shm.c from_kgid_munged(user_ns, shp->shm_perm.cgid),