Searched refs:shmflg (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/ipc/ |
A D | shm.c | 708 int shmflg = params->flg; in newseg() local 743 if (shmflg & SHM_HUGETLB) { in newseg() 755 if (shmflg & SHM_NORESERVE) in newseg() 764 if ((shmflg & SHM_NORESERVE) && in newseg() 844 shm_params.flg = shmflg; in ksys_shmget() 1544 if (shmflg & SHM_RND) { in do_shmat() 1552 if (!addr && (shmflg & SHM_REMAP)) in do_shmat() 1562 } else if ((shmflg & SHM_REMAP)) in do_shmat() 1565 if (shmflg & SHM_RDONLY) { in do_shmat() 1574 if (shmflg & SHM_EXEC) { in do_shmat() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | shm.h | 17 long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, 28 int shmflg, unsigned long *addr, in do_shmat() argument
|
A D | security.h | 464 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg); 466 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg); 1300 int shmflg) in security_shm_associate() argument 1311 char __user *shmaddr, int shmflg) in security_shm_shmat() argument
|
A D | lsm_hook_defs.h | 251 LSM_HOOK(int, 0, shm_associate, struct kern_ipc_perm *perm, int shmflg) 254 int shmflg)
|
A D | compat.h | 806 asmlinkage long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg);
|
A D | syscalls.h | 836 asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg); 1376 long ksys_shmget(key_t key, size_t size, int shmflg);
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | syscall.c | 39 asmlinkage long xtensa_shmat(int shmid, char __user *shmaddr, int shmflg) in xtensa_shmat() argument 44 err = do_shmat(shmid, shmaddr, shmflg, &ret, SHMLBA); in xtensa_shmat()
|
/linux-6.3-rc2/security/ |
A D | security.c | 2085 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument 2087 return call_int_hook(shm_associate, 0, shp, shmflg); in security_shm_associate() 2095 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg) in security_shm_shmat() argument 2097 return call_int_hook(shm_shmat, 0, shp, shmaddr, shmflg); in security_shm_shmat()
|
/linux-6.3-rc2/security/smack/ |
A D | smack_lsm.c | 3037 static int smack_shm_associate(struct kern_ipc_perm *isp, int shmflg) in smack_shm_associate() argument 3041 may = smack_flags_to_may(shmflg); in smack_shm_associate() 3089 int shmflg) in smack_shm_shmat() argument 3093 may = smack_flags_to_may(shmflg); in smack_shm_shmat()
|
/linux-6.3-rc2/security/selinux/ |
A D | hooks.c | 6165 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6218 char __user *shmaddr, int shmflg) in selinux_shm_shmat() argument 6222 if (shmflg & SHM_RDONLY) in selinux_shm_shmat()
|
Completed in 50 milliseconds