Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mprotect.c File Reference
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/shm.h>
#include <linux/mman.h>
#include <linux/fs.h>
#include <linux/highmem.h>
#include <linux/security.h>
#include <linux/mempolicy.h>
#include <linux/personality.h>
#include <linux/syscalls.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <linux/mmu_notifier.h>
#include <linux/migrate.h>
#include <linux/perf_event.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>

Go to the source code of this file.

Functions

int mprotect_fixup (struct vm_area_struct *vma, struct vm_area_struct **pprev, unsigned long start, unsigned long end, unsigned long newflags)
 
 SYSCALL_DEFINE3 (mprotect, unsigned long, start, size_t, len, unsigned long, prot)
 

Function Documentation

int mprotect_fixup ( struct vm_area_struct vma,
struct vm_area_struct **  pprev,
unsigned long  start,
unsigned long  end,
unsigned long  newflags 
)

Definition at line 145 of file mprotect.c.

SYSCALL_DEFINE3 ( mprotect  ,
unsigned  long,
start  ,
size_t  ,
len  ,
unsigned  long,
prot   
)

Definition at line 232 of file mprotect.c.