Searched refs:semflg (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/ipc/ |
D | sem.c | 534 int semflg = params->flg; in newary() local 546 sma->sem_perm.mode = (semflg & S_IRWXUGO); in newary() 599 long ksys_semget(key_t key, int nsems, int semflg) in ksys_semget() argument 615 sem_params.flg = semflg; in ksys_semget() 621 SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) in SYSCALL_DEFINE3() argument 623 return ksys_semget(key, nsems, semflg); in SYSCALL_DEFINE3()
|
/Linux-v5.10/include/linux/ |
D | security.h | 440 int security_sem_associate(struct kern_ipc_perm *sma, int semflg); 1228 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
|
D | lsm_hook_defs.h | 240 LSM_HOOK(int, 0, sem_associate, struct kern_ipc_perm *perm, int semflg)
|
D | syscalls.h | 783 asmlinkage long sys_semget(key_t key, int nsems, int semflg); 1331 long ksys_semget(key_t key, int nsems, int semflg);
|
/Linux-v5.10/security/ |
D | security.c | 1953 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 1955 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
|
/Linux-v5.10/security/smack/ |
D | smack_lsm.c | 3046 static int smack_sem_associate(struct kern_ipc_perm *isp, int semflg) in smack_sem_associate() argument 3050 may = smack_flags_to_may(semflg); in smack_sem_associate()
|
/Linux-v5.10/security/selinux/ |
D | hooks.c | 6179 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument
|