Lines Matching refs:sma
1835 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument
1837 int rc = lsm_ipc_alloc(sma); in security_sem_alloc()
1841 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc()
1843 security_sem_free(sma); in security_sem_alloc()
1847 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument
1849 call_void_hook(sem_free_security, sma); in security_sem_free()
1850 kfree(sma->security); in security_sem_free()
1851 sma->security = NULL; in security_sem_free()
1854 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
1856 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
1859 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
1861 return call_int_hook(sem_semctl, 0, sma, cmd); in security_sem_semctl()
1864 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
1867 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()