Searched refs:shmflg (Results 1 – 6 of 6) sorted by relevance
| /linux/include/linux/ |
| H A D | shm.h | 17 long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr, 27 int shmflg, unsigned long *addr, in do_shmat() argument
|
| H A D | compat.h | 754 asmlinkage long compat_sys_shmat(int shmid, compat_uptr_t shmaddr, int shmflg);
|
| /linux/arch/xtensa/kernel/ |
| H 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/ |
| H A D | security.c | 3562 * @shmflg: operation flags 3571 int security_shm_associate(struct kern_ipc_perm *shp, int shmflg) 3573 return call_int_hook(shm_associate, shp, shmflg); in security_shm_associate() 3595 * @shmflg: operation flags 3604 char __user *shmaddr, int shmflg) in security_shm_shmat() 3606 return call_int_hook(shm_shmat, shp, shmaddr, shmflg); in security_shm_shmat() 3572 security_shm_associate(struct kern_ipc_perm * shp,int shmflg) security_shm_associate() argument 3605 security_shm_shmat(struct kern_ipc_perm * shp,char __user * shmaddr,int shmflg) security_shm_shmat() argument
|
| /linux/security/smack/ |
| H A D | smack_lsm.c | 3200 * @shmflg: access requested in smack_shm_associate() argument 3204 static int smack_shm_associate(struct kern_ipc_perm *isp, int shmflg) in smack_shm_associate() 3208 may = smack_flags_to_may(shmflg); 3251 * @shmflg: access requested in smack_shm_shmat() 3256 int shmflg) in smack_shm_shmat() 3260 may = smack_flags_to_may(shmflg); 3252 smack_shm_shmat(struct kern_ipc_perm * isp,char __user * shmaddr,int shmflg) smack_shm_shmat() argument
|
| /linux/security/selinux/ |
| H A D | hooks.c | 6509 static int selinux_shm_associate(struct kern_ipc_perm *shp, int shmflg) in selinux_shm_associate() argument 6558 char __user *shmaddr, int shmflg) in selinux_shm_shmat() argument 6562 if (shmflg & SHM_RDONLY) in selinux_shm_shmat()
|