Home
last modified time | relevance | path

Searched refs:semflg (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/ipc/
Dsem.c537 int semflg = params->flg; in newary() local
549 sma->sem_perm.mode = (semflg & S_IRWXUGO); in newary()
602 long ksys_semget(key_t key, int nsems, int semflg) in ksys_semget() argument
618 sem_params.flg = semflg; in ksys_semget()
624 SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) in SYSCALL_DEFINE3() argument
626 return ksys_semget(key, nsems, semflg); in SYSCALL_DEFINE3()
/Linux-v6.1/include/linux/
Dsecurity.h462 int security_sem_associate(struct kern_ipc_perm *sma, int semflg);
1290 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
Dlsm_hook_defs.h250 LSM_HOOK(int, 0, sem_associate, struct kern_ipc_perm *perm, int semflg)
Dsyscalls.h818 asmlinkage long sys_semget(key_t key, int nsems, int semflg);
1366 long ksys_semget(key_t key, int nsems, int semflg);
/Linux-v6.1/security/
Dsecurity.c2043 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
2045 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
/Linux-v6.1/security/smack/
Dsmack_lsm.c3058 static int smack_sem_associate(struct kern_ipc_perm *isp, int semflg) in smack_sem_associate() argument
3062 may = smack_flags_to_may(semflg); in smack_sem_associate()
/Linux-v6.1/security/selinux/
Dhooks.c6230 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument