taglinefilesource code
shmflg499arch/alpha/kernel/osf_sys.casmlinkage long osf_shmat(int shmid, void *shmaddr, int shmflg)
shmflg504arch/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);
shmflg20ipc/shm.cextern int ipcperms (struct ipc_perm *ipcp, short shmflg);
shmflg23ipc/shm.cstatic int newseg (key_t key, int shmflg, int size);
shmflg74ipc/shm.cstatic int newseg (key_t key, int shmflg, int size)
shmflg112ipc/shm.cshp->shm_perm.mode = (shmflg & S_IRWXUGO);
shmflg133ipc/shm.casmlinkage int sys_shmget (key_t key, int size, int shmflg)
shmflg141ipc/shm.creturn newseg(key, shmflg, size);
shmflg143ipc/shm.cif (!(shmflg & IPC_CREAT))
shmflg145ipc/shm.creturn newseg(key, shmflg, size);
shmflg147ipc/shm.cif ((shmflg & IPC_CREAT) && (shmflg & IPC_EXCL))
shmflg154ipc/shm.cif (ipcperms (&shp->shm_perm, shmflg))
shmflg456ipc/shm.casmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *raddr)
shmflg476ipc/shm.cif (shmflg & SHM_REMAP)
shmflg481ipc/shm.cif (shmflg & SHM_RND)
shmflg496ipc/shm.cif (!(shmflg & SHM_REMAP))
shmflg503ipc/shm.cif (ipcperms(&shp->shm_perm, shmflg & SHM_RDONLY ? S_IRUGO : S_IRUGO|S_IWUGO))
shmflg520ipc/shm.cshmd->vm_page_prot = (shmflg & SHM_RDONLY) ? PAGE_READONLY : PAGE_SHARED;
shmflg523ipc/shm.c| ((shmflg & SHM_RDONLY) ? 0 : VM_MAYWRITE | VM_WRITE);
shmflg106ipc/util.casmlinkage int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr)