Searched refs:shmflg (Results 1 – 10 of 10) sorted by relevance
/linux/ipc/ |
A D | shm.c | 692 int shmflg = params->flg; in newseg() local 727 if (shmflg & SHM_HUGETLB) { in newseg() 739 if (shmflg & SHM_NORESERVE) in newseg() 748 if ((shmflg & SHM_NORESERVE) && in newseg() 828 shm_params.flg = shmflg; in ksys_shmget() 1528 if (shmflg & SHM_RND) { in do_shmat() 1536 if (!addr && (shmflg & SHM_REMAP)) in do_shmat() 1546 } else if ((shmflg & SHM_REMAP)) in do_shmat() 1549 if (shmflg & SHM_RDONLY) { in do_shmat() 1558 if (shmflg & SHM_EXEC) { in do_shmat() [all …]
|
/linux/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 | 452 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg); 454 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg); 1255 int shmflg) in security_shm_associate() argument 1266 char __user *shmaddr, int shmflg) in security_shm_shmat() argument
|
A D | lsm_hook_defs.h | 245 LSM_HOOK(int, 0, shm_associate, struct kern_ipc_perm *perm, int shmflg) 248 int shmflg)
|
A D | syscalls.h | 838 asmlinkage long sys_shmat(int shmid, char __user *shmaddr, int shmflg); 1375 long ksys_shmget(key_t key, size_t size, int shmflg);
|
A D | compat.h | 776 asmlinkage long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg);
|
/linux/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/security/ |
A D | security.c | 1986 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) in security_shm_associate() argument 1988 return call_int_hook(shm_associate, 0, shp, shmflg); in security_shm_associate() 1996 int security_shm_shmat(struct kern_ipc_perm *shp, char __user *shmaddr, int shmflg) in security_shm_shmat() argument 1998 return call_int_hook(shm_shmat, 0, shp, shmaddr, shmflg); in security_shm_shmat()
|
/linux/security/smack/ |
A D | smack_lsm.c | 2963 static int smack_shm_associate(struct kern_ipc_perm *isp, int shmflg) in smack_shm_associate() argument 2967 may = smack_flags_to_may(shmflg); in smack_shm_associate() 3015 int shmflg) in smack_shm_shmat() argument 3019 may = smack_flags_to_may(shmflg); in smack_shm_shmat()
|
/linux/security/selinux/ |
A D | hooks.c | 6206 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6259 char __user *shmaddr, int shmflg) in selinux_shm_shmat() argument 6263 if (shmflg & SHM_RDONLY) in selinux_shm_shmat()
|
Completed in 46 milliseconds