From b0af120fd01e10653256c6f949b930d72f0fd2a1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 25 Aug 2000 18:23:57 +0000 Subject: Update. * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap): Return -EINVAL even if bits 10 a 11 are non-zero. * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64): Likewise. --- sysdeps/unix/sysv/linux/i386/mmap.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/i386/mmap.S') diff --git a/sysdeps/unix/sysv/linux/i386/mmap.S b/sysdeps/unix/sysv/linux/i386/mmap.S index 46d26125a5..8010b53f84 100644 --- a/sysdeps/unix/sysv/linux/i386/mmap.S +++ b/sysdeps/unix/sysv/linux/i386/mmap.S @@ -42,7 +42,7 @@ ENTRY (__mmap) movl 32(%esp), %esi movl 36(%esp), %edi movl 40(%esp), %ebp - testl $0x3ff, %ebp + testl $0xfff, %ebp movl $-EINVAL, %eax jne L(skip) shrl $12, %ebp /* mmap2 takes the offset in pages. */ -- cgit v1.2.3