LSB compliance fix in mprotect
Subsystems (2)
PATCH 1/1 LSB compliance fix in mprotect
Hi Linus, Andrew,
http://linux.bkbits.net:8080/linux-2.4/diffs/mm/[email protected]?nav=index.html|
src/|src/mm|hist/mm/mprotect.c
2.4 patch from Adrian.
Please apply.
ciao, Marc
# mm/mprotect.c | 2 +- # 1 files changed, 1 insertion(+), 1 deletion(-)
mm/mprotect.c +1 -1
@@ -237,7 +237,7 @@ len =PAGE_ALIGN (len); end = start + len;if (end < start) -return -EINVAL ; +return -ENOMEM ;if (prot & ~(PROT_READ |PROT_WRITE |PROT_EXEC |PROT_SEM ))return -EINVAL ;if (end == start)