From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116321 invoked by alias); 27 Aug 2015 17:27:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 115795 invoked by uid 48); 27 Aug 2015 17:27:43 -0000 From: "ldv at altlinux dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/18877] New: arm: mmap offset regression Date: Thu, 27 Aug 2015 17:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ldv at altlinux dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg00452.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18877 Bug ID: 18877 Summary: arm: mmap offset regression Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: ldv at altlinux dot org CC: adhemerval.zanella at linaro dot org, drepper.fsp at gmail dot com Target Milestone: --- Host: armv7hl-redhat-linux-gnu Commit glibc-2.22-7-g2aa6c8af26e65695e9daf382a6e508574a30cdf2 introduced a regression in mmap on arm. If mmap is called with negative offset, it now performs a right shift operation with sign extension, resulting to incorrect offset being passed to mmap2 syscall. This regression was detected by strace testsuite. -- You are receiving this mail because: You are on the CC list for the bug.