Lines Matching refs:shp
2066 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument
2068 int rc = lsm_ipc_alloc(shp); in security_shm_alloc()
2072 rc = call_int_hook(shm_alloc_security, 0, shp); in security_shm_alloc()
2074 security_shm_free(shp); in security_shm_alloc()
2078 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument
2080 call_void_hook(shm_free_security, shp); in security_shm_free()
2081 kfree(shp->security); in security_shm_free()
2082 shp->security = NULL; in security_shm_free()
2085 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument
2087 return call_int_hook(shm_associate, 0, shp, shmflg); in security_shm_associate()
2090 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument
2092 return call_int_hook(shm_shmctl, 0, shp, cmd); in security_shm_shmctl()
2095 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg) in security_shm_shmat() argument
2097 return call_int_hook(shm_shmat, 0, shp, shmaddr, shmflg); in security_shm_shmat()