tag | line | file | source code |
shmflg | 20 | ipc/shm.c | extern int ipcperms (struct ipc_perm *ipcp, short shmflg); |
shmflg | 23 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size); |
shmflg | 74 | ipc/shm.c | static int newseg (key_t key, int shmflg, int size) |
shmflg | 112 | ipc/shm.c | shp->shm_perm.mode = (shmflg & S_IRWXUGO); |
shmflg | 133 | ipc/shm.c | int sys_shmget (key_t key, int size, int shmflg) |
shmflg | 141 | ipc/shm.c | return newseg(key, shmflg, size); |
shmflg | 143 | ipc/shm.c | if (!(shmflg & IPC_CREAT)) |
shmflg | 145 | ipc/shm.c | return newseg(key, shmflg, size); |
shmflg | 147 | ipc/shm.c | if ((shmflg & IPC_CREAT) && (shmflg & IPC_EXCL)) |
shmflg | 154 | ipc/shm.c | if (ipcperms (&shp->shm_perm, shmflg)) |
shmflg | 452 | ipc/shm.c | int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *raddr) |
shmflg | 472 | ipc/shm.c | if (shmflg & SHM_REMAP) |
shmflg | 477 | ipc/shm.c | if (shmflg & SHM_RND) |
shmflg | 486 | ipc/shm.c | if (!(shmflg & SHM_REMAP)) |
shmflg | 493 | ipc/shm.c | if (ipcperms(&shp->shm_perm, shmflg & SHM_RDONLY ? S_IRUGO : S_IRUGO|S_IWUGO)) |
shmflg | 510 | ipc/shm.c | shmd->vm_page_prot = (shmflg & SHM_RDONLY) ? PAGE_READONLY : PAGE_SHARED; |
shmflg | 513 | ipc/shm.c | | ((shmflg & SHM_RDONLY) ? 0 : VM_MAYWRITE | VM_WRITE); |
shmflg | 32 | ipc/util.c | extern int sys_shmat (int shmid, char *shmaddr, int shmflg, ulong *addr); |