tag | line | file | source code |
---|---|---|---|
P | 35 | mm/mmap.c | #define PREAD(T,P) (((P) & PROT_READ) ? 1 : 0) |
P | 36 | mm/mmap.c | #define PWRITE(T,P) (((P) & PROT_WRITE) ? (MTYP(T) == MAP_SHARED ? 2 : 10) : 0) |
P | 37 | mm/mmap.c | #define PEXEC(T,P) (((P) & PROT_EXEC) ? 4 : 0) |
P | 38 | mm/mmap.c | #define PERMISS(T,P) (PREAD(T,P)|PWRITE(T,P)|PEXEC(T,P)) |