Searched refs:sma (Results 1 – 2 of 2) sorted by relevance
/security/ |
D | security.c | 1836 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 1838 int rc = lsm_ipc_alloc(sma); in security_sem_alloc() 1842 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc() 1844 security_sem_free(sma); in security_sem_alloc() 1848 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 1850 call_void_hook(sem_free_security, sma); in security_sem_free() 1851 kfree(sma->security); in security_sem_free() 1852 sma->security = NULL; in security_sem_free() 1855 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 1857 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate() [all …]
|
/security/selinux/ |
D | hooks.c | 6145 static int selinux_sem_alloc_security(struct kern_ipc_perm *sma) in selinux_sem_alloc_security() argument 6152 isec = selinux_ipc(sma); in selinux_sem_alloc_security() 6156 ad.u.ipc_id = sma->key; in selinux_sem_alloc_security() 6164 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument 6170 isec = selinux_ipc(sma); in selinux_sem_associate() 6173 ad.u.ipc_id = sma->key; in selinux_sem_associate() 6181 static int selinux_sem_semctl(struct kern_ipc_perm *sma, int cmd) in selinux_sem_semctl() argument 6221 err = ipc_has_perm(sma, perms); in selinux_sem_semctl() 6225 static int selinux_sem_semop(struct kern_ipc_perm *sma, in selinux_sem_semop() argument 6235 return ipc_has_perm(sma, perms); in selinux_sem_semop()
|