Lines Matching refs:sma
1922 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument
1924 int rc = lsm_ipc_alloc(sma); in security_sem_alloc()
1928 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc()
1930 security_sem_free(sma); in security_sem_alloc()
1934 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument
1936 call_void_hook(sem_free_security, sma); in security_sem_free()
1937 kfree(sma->security); in security_sem_free()
1938 sma->security = NULL; in security_sem_free()
1941 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
1943 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
1946 int security_sem_semctl(struct kern_ipc_perm *sma, int cmd) in security_sem_semctl() argument
1948 return call_int_hook(sem_semctl, 0, sma, cmd); in security_sem_semctl()
1951 int security_sem_semop(struct kern_ipc_perm *sma, struct sembuf *sops, in security_sem_semop() argument
1954 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter); in security_sem_semop()