public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/29771] New: Restore IPC_64 support in sysvipc *ctl functions
@ 2022-11-10 10:36 fweimer at redhat dot com
  2022-11-10 10:36 ` [Bug libc/29771] " fweimer at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2022-11-10 10:36 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29771

            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 glibc,
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, giving
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
<https://sourceware.org/pipermail/libc-alpha/2022-November/143343.html>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-11 18:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 10:36 [Bug libc/29771] New: Restore IPC_64 support in sysvipc *ctl functions fweimer at redhat dot com
2022-11-10 10:36 ` [Bug libc/29771] " fweimer at redhat dot com
2022-11-10 10:37 ` fweimer at redhat dot com
2022-11-10 10:54 ` fweimer at redhat dot com
2022-11-10 13:23 ` fweimer at redhat dot com
2022-11-11 18:16 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).