[CVE-2009-0029] System call wrappers part 13

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
Heiko Carstens
2009-01-14 14:14:15 +01:00
parent 64fd1de3d8
commit 6a6160a7b5
8 changed files with 20 additions and 22 deletions

View File

@@ -217,8 +217,8 @@ fail:
return error;
}
asmlinkage long
sys_mprotect(unsigned long start, size_t len, unsigned long prot)
SYSCALL_DEFINE3(mprotect, unsigned long, start, size_t, len,
unsigned long, prot)
{
unsigned long vm_flags, nstart, end, tmp, reqprot;
struct vm_area_struct *vma, *prev;