taglinefilesource code
shmflg488arch/alpha/kernel/osf_sys.casmlinkage long osf_shmat(int shmid, void *shmaddr, int shmflg)
shmflg493arch/alpha/kernel/osf_sys.cerr = sys_shmat(shmid, shmaddr, shmflg, &raddr);
shmflg63include/linux/shm.hasmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr);
shmflg19ipc/shm.cextern int ipcperms (struct ipc_perm *ipcp, short shmflg);
shmflg22ipc/shm.cstatic int newseg (key_t key, int shmflg, int size);
shmflg73ipc/shm.cstatic int newseg (key_t key, int shmflg, int size)
shmflg111ipc/shm.cshp->shm_perm.mode = (shmflg & S_IRWXUGO);
shmflg132ipc/shm.casmlinkage int sys_shmget (key_t key, int size, int shmflg)
shmflg140ipc/shm.creturn newseg(key, shmflg, size);
shmflg142ipc/shm.cif (!(shmflg & IPC_CREAT))
shmflg144ipc/shm.creturn newseg(key, shmflg, size);
shmflg146ipc/shm.cif ((shmflg & IPC_CREAT) && (shmflg & IPC_EXCL))
shmflg153ipc/shm.cif (ipcperms (&shp->shm_perm, shmflg))
shmflg455ipc/shm.casmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *raddr)
shmflg475ipc/shm.cif (shmflg & SHM_REMAP)
shmflg480ipc/shm.cif (shmflg & SHM_RND)
shmflg495ipc/shm.cif (!(shmflg & SHM_REMAP))
shmflg502ipc/shm.cif (ipcperms(&shp->shm_perm, shmflg & SHM_RDONLY ? S_IRUGO : S_IRUGO|S_IWUGO))
shmflg519ipc/shm.cshmd->vm_page_prot = (shmflg & SHM_RDONLY) ? PAGE_READONLY : PAGE_SHARED;
shmflg522ipc/shm.c| ((shmflg & SHM_RDONLY) ? 0 : VM_MAYWRITE | VM_WRITE);
shmflg106ipc/util.casmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr)