Lines Matching defs:shp
6335 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp)
6341 isec = selinux_ipc(shp);
6345 ad.u.ipc_id = shp->key;
6351 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg)
6357 isec = selinux_ipc(shp);
6360 ad.u.ipc_id = shp->key;
6366 /* Note, at this point, shp is locked down */
6367 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd)
6396 return ipc_has_perm(shp, perms);
6399 static int selinux_shm_shmat(struct kern_ipc_perm *shp,
6409 return ipc_has_perm(shp, perms);