Lines Matching refs:shp
3910 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument
3912 int rc = lsm_ipc_alloc(shp); in security_shm_alloc()
3916 rc = call_int_hook(shm_alloc_security, shp); in security_shm_alloc()
3918 security_shm_free(shp); in security_shm_alloc()
3928 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument
3930 call_void_hook(shm_free_security, shp); in security_shm_free()
3931 kfree(shp->security); in security_shm_free()
3932 shp->security = NULL; in security_shm_free()
3947 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument
3949 return call_int_hook(shm_associate, shp, shmflg); in security_shm_associate()
3962 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument
3964 return call_int_hook(shm_shmctl, shp, cmd); in security_shm_shmctl()
3979 int security_shm_shmat(struct kern_ipc_perm *shp, in security_shm_shmat() argument
3982 return call_int_hook(shm_shmat, shp, shmaddr, shmflg); in security_shm_shmat()