Lines Matching defs:shp
6122 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp)
6128 isec = selinux_ipc(shp);
6132 ad.u.ipc_id = shp->key;
6138 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg)
6144 isec = selinux_ipc(shp);
6147 ad.u.ipc_id = shp->key;
6153 /* Note, at this point, shp is locked down */
6154 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd)
6183 return ipc_has_perm(shp, perms);
6186 static int selinux_shm_shmat(struct kern_ipc_perm *shp,
6196 return ipc_has_perm(shp, perms);