Lines Matching defs:shp
6327 static int selinux_shm_alloc_security(struct kern_ipc_perm *shp)
6333 isec = selinux_ipc(shp);
6337 ad.u.ipc_id = shp->key;
6343 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg)
6349 isec = selinux_ipc(shp);
6352 ad.u.ipc_id = shp->key;
6358 /* Note, at this point, shp is locked down */
6359 static int selinux_shm_shmctl(struct kern_ipc_perm *shp, int cmd)
6388 return ipc_has_perm(shp, perms);
6391 static int selinux_shm_shmat(struct kern_ipc_perm *shp,
6401 return ipc_has_perm(shp, perms);