patch-2.3.43 linux/mm/mprotect.c
Next file: linux/mm/page_alloc.c
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Feb 7 19:45:28 2000
- Orig file:
v2.3.42/linux/mm/mprotect.c
- Orig date:
Tue Nov 23 22:42:21 1999
diff -u --recursive --new-file v2.3.42/linux/mm/mprotect.c linux/mm/mprotect.c
@@ -214,7 +214,7 @@
if (start & ~PAGE_MASK)
return -EINVAL;
- len = (len + ~PAGE_MASK) & PAGE_MASK;
+ len = PAGE_ALIGN(len);
end = start + len;
if (end < start)
return -EINVAL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)