Lines Matching refs:shp
3433 int security_shm_alloc(struct kern_ipc_perm *shp) in security_shm_alloc() argument
3435 int rc = lsm_ipc_alloc(shp); in security_shm_alloc()
3439 rc = call_int_hook(shm_alloc_security, shp); in security_shm_alloc()
3441 security_shm_free(shp); in security_shm_alloc()
3451 void security_shm_free(struct kern_ipc_perm *shp) in security_shm_free() argument
3453 call_void_hook(shm_free_security, shp); in security_shm_free()
3454 kfree(shp->security); in security_shm_free()
3455 shp->security = NULL; in security_shm_free()
3470 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument
3472 return call_int_hook(shm_associate, shp, shmflg); in security_shm_associate()
3485 int security_shm_shmctl(struct kern_ipc_perm *shp, int cmd) in security_shm_shmctl() argument
3487 return call_int_hook(shm_shmctl, shp, cmd); in security_shm_shmctl()
3502 int security_shm_shmat(struct kern_ipc_perm *shp, in security_shm_shmat() argument
3505 return call_int_hook(shm_shmat, shp, shmaddr, shmflg); in security_shm_shmat()