From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 25C053858D3C; Thu, 10 Nov 2022 08:36:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25C053858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668069420; bh=Cw8arrq13aJG2cPzv9lu2K10TyE8IL7vq9nuCtByYUw=; h=From:To:Subject:Date:From; b=MTRFErawBUrT0koWgR8xguZvUql8Fg/d7g7cXeaOgH4020HQDHDm1/4rZwjYw4zmQ LJM6Y+V27yCuGFZ1fglVjwtOURPv0pnIfIL70x8zALV5XqtnFpGHkujDn3fPTeAKd7 WpVZDlqdYE+6O6pS535ceRLFMhfR4YQhKEAvyX84= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/29770] New: prctl does not match manual page ABI on powerpc64le-linux-gnu Date: Thu, 10 Nov 2022 08:36:56 +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: fweimer at redhat dot com 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: security- X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget flagtypes.name Message-ID: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29770 Bug ID: 29770 Summary: prctl does not match manual page ABI on powerpc64le-linux-gnu Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: fweimer at redhat dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Target: powerpc64le-linux-gnu Flags: security- On powerpc64le-linux-gnu, since commit ff026950e280bc3e9487b41b460fb31bc5b57721 Author: H.J. Lu Date: Thu Apr 30 10:42:43 2020 -0700 Add a C wrapper for prctl [BZ #25896] Add a C wrapper to pass arguments in /* Control process execution. */ extern int prctl (int __option, ...) __THROW; to prctl syscall: extern int prctl (int, unsigned long int, unsigned long int, unsigned long int, unsigned long int); the glibc ABI no longer matches what is documented in the manual page, which mentions the second prototype only. Calls through the non-variadic prototyp= e do not set up a parameter save area, and use of the area by the glibc implementation corrupts the stack in the caller. --=20 You are receiving this mail because: You are on the CC list for the bug.=