Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/include/linux/
Dsecurity.h470 int security_sem_associate(struct kern_ipc_perm *sma, int semflg);
1328 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
Dlsm_hook_defs.h260 LSM_HOOK(int, 0, sem_associate, struct kern_ipc_perm *perm, int semflg)
Dsyscalls.h715 asmlinkage long sys_semget(key_t key, int nsems, int semflg);
1252 long ksys_semget(key_t key, int nsems, int semflg);
/linux-6.6.21/security/
Dsecurity.c3768 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
3770 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
/linux-6.6.21/security/smack/
Dsmack_lsm.c3208 static int smack_sem_associate(struct kern_ipc_perm *isp, int semflg) in smack_sem_associate() argument
3212 may = smack_flags_to_may(semflg); in smack_sem_associate()
/linux-6.6.21/security/selinux/
Dhooks.c6215 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument