/kernel/linux/linux-5.10/ipc/ |
H A D | sem.c | 524 * @params: ptr to the structure that contains key, semflg and nsems 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() 623 return ksys_semget(key, nsems, semflg); in SYSCALL_DEFINE3()
|
/kernel/linux/linux-6.6/ipc/ |
H A D | sem.c | 527 * @params: ptr to the structure that contains key, semflg and nsems 537 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() 626 return ksys_semget(key, nsems, semflg); in SYSCALL_DEFINE3()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | syscalls.h | 808 asmlinkage long sys_semget(key_t key, int nsems, int semflg); 1356 long ksys_semget(key_t key, int nsems, int semflg);
|
H A D | security.h | 445 int security_sem_associate(struct kern_ipc_perm *sma, int semflg); 1245 static inline int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument
|
/kernel/linux/linux-5.10/security/ |
H A D | security.c | 1988 int security_sem_associate(struct kern_ipc_perm *sma, int semflg) in security_sem_associate() argument 1990 return call_int_hook(sem_associate, 0, sma, semflg); in security_sem_associate()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | syscalls.h | 715 asmlinkage long sys_semget(key_t key, int nsems, int semflg); 1252 long ksys_semget(key_t key, int nsems, int semflg);
|
H A D | security.h | 470 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
|
/kernel/linux/linux-6.6/security/ |
H A D | security.c | 3760 * @semflg: operation flags 3768 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()
|
/kernel/linux/linux-5.10/security/smack/ |
H A D | smack_lsm.c | 3071 * @semflg: access requested 3075 static int smack_sem_associate(struct kern_ipc_perm *isp, int semflg) in smack_sem_associate() argument 3079 may = smack_flags_to_may(semflg); in smack_sem_associate()
|
/kernel/linux/linux-6.6/security/smack/ |
H A D | smack_lsm.c | 3214 * @semflg: access requested 3218 static int smack_sem_associate(struct kern_ipc_perm *isp, int semflg) in smack_sem_associate() argument 3222 may = smack_flags_to_may(semflg); in smack_sem_associate()
|
/kernel/linux/linux-5.10/security/selinux/ |
H A D | hooks.c | 6234 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument
|
/kernel/linux/linux-6.6/security/selinux/ |
H A D | hooks.c | 6216 static int selinux_sem_associate(struct kern_ipc_perm *sma, int semflg) in selinux_sem_associate() argument
|