From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F31B23858C60; Thu, 10 Nov 2022 13:23:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F31B23858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668086623; bh=gBy5OVvyUPXUVSSd0tFM1Knbo+u1aohZqCr/zznoPZ0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eLiEYdekqUYTYX/2w279Dm2KAlZoqqf8gV7WztWhrs9lxBp22X8m+8SAEcJoRwtXI Vp4m8oB52pe7nOqN0GZX+dccTrLKPpDb1xZbV0PjsNgQGF1VM9E56LjdnJLXBUmjoq EXUcvj/yJpGHPNCfUmuF/2Oy0TeYPZRew/BtoHZE= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/29771] Restore IPC_64 support in sysvipc *ctl functions Date: Thu, 10 Nov 2022 13:23:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29771 --- Comment #2 from Florian Weimer --- Fixed in glibc 2.37 via: commit 22a46dee24351fd5f4f188ad80554cad79c82524 Author: Florian Weimer Date: Tue Nov 8 14:15:02 2022 +0100 Linux: Support __IPC_64 in sysvctl *ctl command arguments (bug 29771) Old applications pass __IPC_64 as part of the command argument because old glibc did not check for unknown commands, and passed through the arguments directly to the kernel, without adding __IPC_64. Applications need to continue doing that for old glibc compatibility, so this commit enables this approach in current glibc. For msgctl and shmctl, if no translation is required, make direct system calls, as we did before the time64 changes. If translation is required, mask __IPC_64 from the command argument. For semctl, the union-in-vararg argument handling means that translation is needed on all architectures. Reviewed-by: Adhemerval Zanella --=20 You are receiving this mail because: You are on the CC list for the bug.=