From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F1869384188B; Thu, 10 Nov 2022 10:36:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F1869384188B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668076594; bh=EOp88r/MoapHu0yJ5n0/koL1wA4PZ0ILOpAymyx8UIo=; h=From:To:Subject:Date:From; b=virwfTfQHlOFbOQsX6uHC7XiT8ON07O01QDMe9FbvgaX6AzU2c1LJSHbINiUDGgqd OtMozD4unv2plgSTwHRFnwFtCE6jtQBMK2J/2XY5wQtbuEE17zLnGcIinuITw4dHSh hGFiPz58Nd87vgrrVi4YanOxfLfwcRZFwafuPze4= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/29771] New: Restore IPC_64 support in sysvipc *ctl functions Date: Thu, 10 Nov 2022 10:36:34 +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: 2.37 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 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=3D29771 Bug ID: 29771 Summary: Restore IPC_64 support in sysvipc *ctl functions Product: glibc Version: 2.37 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: --- Flags: security- In order to call SHM_STAT_ANY kernel operations through shmctl on older gli= bc, it was necessary to pass SHM_STAT_ANY | IPC_64 in the command argument, otherwise the ipc system call would be invoked without the IPC_64 flag, giv= ing unexpected results on powerpc64le-linux-gnu at least. Current glibc no longer supports that because it checks the command argument for validity without masking the IPC_64 bit. Patch posted: [PATCH] Linux: Support __IPC_64 in sysvctl *ctl command arguments --=20 You are receiving this mail because: You are on the CC list for the bug.=