Searched refs:sma (Results 1 – 2 of 2) sorted by relevance
/security/ |
D | security.c | 1941 int security_sem_alloc(struct kern_ipc_perm *sma) in security_sem_alloc() argument 1943 int rc = lsm_ipc_alloc(sma); in security_sem_alloc() 1947 rc = call_int_hook(sem_alloc_security, 0, sma); in security_sem_alloc() 1949 security_sem_free(sma); in security_sem_alloc() 1953 void security_sem_free(struct kern_ipc_perm *sma) in security_sem_free() argument 1955 call_void_hook(sem_free_security, sma); in security_sem_free() 1956 kfree(sma->security); in security_sem_free() 1957 sma->security = NULL; in security_sem_free() 1960 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 1962 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate() [all …]
|
/security/selinux/ |
D | hooks.c | 6271 static int selinux_sem_alloc_security(struct kern_ipc_perm *sma) in selinux_sem_alloc_security() argument 6278 isec = selinux_ipc(sma); in selinux_sem_alloc_security() 6282 ad.u.ipc_id = sma->key; in selinux_sem_alloc_security() 6290 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument 6296 isec = selinux_ipc(sma); in selinux_sem_associate() 6299 ad.u.ipc_id = sma->key; in selinux_sem_associate() 6307 static int selinux_sem_semctl(struct kern_ipc_perm *sma, int cmd) in selinux_sem_semctl() argument 6347 err = ipc_has_perm(sma, perms); in selinux_sem_semctl() 6351 static int selinux_sem_semop(struct kern_ipc_perm *sma, in selinux_sem_semop() argument 6361 return ipc_has_perm(sma, perms); in selinux_sem_semop()
|