Lines Matching defs:shp
6130 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp)
6137 isec = selinux_ipc(shp);
6141 ad.u.ipc_id = shp->key;
6149 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg)
6155 isec = selinux_ipc(shp);
6158 ad.u.ipc_id = shp->key;
6165 /* Note, at this point, shp is locked down */
6166 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd)
6197 err = ipc_has_perm(shp, perms);
6201 static int selinux_shm_shmat(struct kern_ipc_perm *shp,
6211 return ipc_has_perm(shp, perms);