From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF376388A81D; Thu, 16 Jul 2020 08:36:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF376388A81D From: "aurelien at aurel32 dot net" To: glibc-bugs@sourceware.org Subject: [Bug nptl/26248] Incorrect argument types for INLINE_SETXID_SYSCALL Date: Thu, 16 Jul 2020 08:36:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 dot net 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: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2020 08:36:12 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26248 Aurelien Jarno changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aurelien at aurel32 dot net --- Comment #2 from Aurelien Jarno --- Created attachment 12703 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D12703&action=3Ded= it Reproducer for the issue Please find attached a small reproducer for the issue. Compile it with "gcc -mx32 -o setgroups-x32 setgroups-x32.c -lpthread". Running it as root retur= ns: # ./setgroups-x32=20 setgroups failed: Bad address It runs successfully with commit df76ff3a446a787a95cf74cb15c285464d73a93d reverted. (Note that this commit has been backported in 2.30 and 2.31). --=20 You are receiving this mail because: You are on the CC list for the bug.=