Lines Matching refs:sma
3714 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument
3716 int rc = lsm_ipc_alloc(sma); in security_sem_alloc()
3720 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc()
3722 security_sem_free(sma); in security_sem_alloc()
3732 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument
3734 call_void_hook(sem_free_security, sma); in security_sem_free()
3735 kfree(sma->security); in security_sem_free()
3736 sma->security = NULL; in security_sem_free()
3750 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
3752 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
3765 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
3767 return call_int_hook(sem_semctl, 0, sma, cmd); in security_sem_semctl()
3782 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
3785 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()