Fork me on GitHub
prot              308 fs/elf.c       	unsigned int prot;
prot              351 fs/elf.c       			prot = 0;
prot              353 fs/elf.c       				prot = PROT_READ;
prot              356 fs/elf.c       				prot |= PROT_WRITE;
prot              359 fs/elf.c       				prot |= PROT_EXEC;
prot              362 fs/elf.c       			errno = do_mmap(ii, start, length, prot, MAP_PRIVATE | MAP_FIXED, elf32_ph->p_offset & PAGE_MASK, type, O_RDONLY);
prot              408 fs/elf.c       	unsigned int prot;
prot              499 fs/elf.c       			prot = 0;
prot              501 fs/elf.c       				prot = PROT_READ;
prot              504 fs/elf.c       				prot |= PROT_WRITE;
prot              507 fs/elf.c       				prot |= PROT_EXEC;
prot              510 fs/elf.c       			errno = do_mmap(i, start, length, prot, MAP_PRIVATE | MAP_FIXED, elf32_ph->p_offset & PAGE_MASK, type, O_RDONLY);
prot              557 fs/procfs/data.c 			r = vma->prot & PROT_READ ? 'r' : '-';
prot              558 fs/procfs/data.c 			w = vma->prot & PROT_WRITE ? 'w' : '-';
prot              559 fs/procfs/data.c 			x = vma->prot & PROT_EXEC ? 'x' : '-';
prot               45 include/fiwix/mman.h 	unsigned int prot;
prot               14 include/fiwix/process.h 	char prot;		/* PROT_READ, PROT_WRITE, ... */
prot               49 kernel/syscalls.c 		if(!(vma->prot & PROT_READ)) {
prot               55 kernel/syscalls.c 				if(vma->prot & PROT_READ) {
prot              133 kernel/syscalls.c 				if(!(vma->prot & PROT_WRITE)) {
prot              137 kernel/syscalls.c 				if(!(vma->prot & PROT_READ)) {
prot              110 kernel/syscalls/mount.c 	if(!(vma->prot & PROT_READ)) {
prot               19 kernel/syscalls/mprotect.c int sys_mprotect(unsigned int addr, __size_t length, int prot)
prot               24 kernel/syscalls/mprotect.c 	printk("(pid %d) sys_mprotect(0x%08x, %d, %d)\n", current->pid, addr, length, prot);
prot               30 kernel/syscalls/mprotect.c 	if(prot > (PROT_READ | PROT_WRITE | PROT_EXEC)) {
prot               41 kernel/syscalls/mprotect.c 		if(prot & PROT_WRITE) {
prot               48 kernel/syscalls/mprotect.c 	return do_mprotect(vma, addr, length, prot);
prot               28 kernel/syscalls/old_mmap.c 	printk("(pid %d) old_mmap(0x%08x, %d, 0x%02x, 0x%02x, %d, 0x%08x) -> ", current->pid, mmap->start, mmap->length, mmap->prot, mmap->flags, mmap->fd, mmap->offset);
prot               47 kernel/syscalls/old_mmap.c 	page = do_mmap(i, mmap->start, mmap->length, mmap->prot, mmap->flags, mmap->offset, P_MMAP, flags);
prot              105 mm/fault.c     	if(!vma || vma->prot == PROT_NONE) {
prot              116 mm/fault.c     		if(!(vma->prot & PROT_WRITE) || vma->flags & MAP_SHARED) {
prot              119 mm/fault.c     				if(!map_page(current, cr2, (unsigned int)V2P(pg->data), vma->prot)) {
prot              127 mm/fault.c     			if(!(addr = map_page(current, cr2, 0, vma->prot))) {
prot              132 mm/fault.c     			if(bread_page(pg, vma->inode, file_offset, vma->prot, vma->flags)) {
prot              145 mm/fault.c     			if(!(addr = map_page(current, cr2, 0, vma->prot))) {
prot              169 mm/memory.c    					if(vma->prot & PROT_WRITE) {
prot              201 mm/memory.c    unsigned int map_page(struct proc *p, unsigned int vaddr, unsigned int addr, unsigned int prot)
prot              230 mm/memory.c    	if(prot & PROT_WRITE) {
prot               33 mm/mmap.c      		r = vma->prot & PROT_READ ? 'r' : '-';
prot               34 mm/mmap.c      		w = vma->prot & PROT_WRITE ? 'w' : '-';
prot               35 mm/mmap.c      		x = vma->prot & PROT_EXEC ? 'x' : '-';
prot              105 mm/mmap.c      				  (vma[n].prot == vma[n2].prot) &&
prot              158 mm/mmap.c      				new->prot = prev->prot;
prot              234 mm/mmap.c      				if(vma->prot & PROT_WRITE && vma->flags & MAP_SHARED) {
prot              270 mm/mmap.c      	new->prot = vma->prot;
prot              353 mm/mmap.c      int do_mmap(struct inode *i, unsigned int start, unsigned int length, unsigned int prot, unsigned int flags, unsigned int offset, char type, char mode)
prot              382 mm/mmap.c      				if(prot & PROT_WRITE) {
prot              424 mm/mmap.c      	vma->prot = prot;
prot              492 mm/mmap.c      int do_mprotect(struct vma *vma, unsigned int addr, __size_t length, int prot)
prot              504 mm/mmap.c      	new->prot = prot;
prot              298 mm/page.c      int bread_page(struct page *pg, struct inode *i, __off_t offset, char prot, char flags)
prot              326 mm/page.c      	if(!(prot & PROT_WRITE) || flags & MAP_SHARED) {