patch-2.4.23 linux-2.4.23/mm/mprotect.c
Next file: linux-2.4.23/mm/oom_kill.c
Previous file: linux-2.4.23/mm/mmap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/mm/mprotect.c
- Orig date:
2002-08-02 17:39:46.000000000 -0700
diff -urN linux-2.4.22/mm/mprotect.c linux-2.4.23/mm/mprotect.c
@@ -275,7 +275,7 @@
len = PAGE_ALIGN(len);
end = start + len;
if (end < start)
- return -EINVAL;
+ return -ENOMEM;
if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC))
return -EINVAL;
if (end == start)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)