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

Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
Heiko Carstens 2009-01-14 14:14:15 +01:00
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;