mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
sysvipc: Fix compat msgctl (BZ#24570)
The __IPC64 flags is meant to be used to enable the new sysv struct format when the architectures supports it (ARCH_WANT_IPC_PARSE_VERSION config flag on Linux kernel). This currently issue only affects alpha. [BZ #24570] * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64 usage.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
|
[BZ #24570]
|
||||||
|
* sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
|
||||||
|
usage.
|
||||||
|
|
||||||
2019-05-20 Joseph Myers <joseph@codesourcery.com>
|
2019-05-20 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* elf/elf.h (NT_ARM_PACA_KEYS): New macro.
|
* elf/elf.h (NT_ARM_PACA_KEYS): New macro.
|
||||||
|
@ -62,7 +62,7 @@ attribute_compat_text_section
|
|||||||
__old_msgctl (int msqid, int cmd, struct __old_msqid_ds *buf)
|
__old_msgctl (int msqid, int cmd, struct __old_msqid_ds *buf)
|
||||||
{
|
{
|
||||||
#ifdef __ASSUME_DIRECT_SYSVIPC_SYSCALLS
|
#ifdef __ASSUME_DIRECT_SYSVIPC_SYSCALLS
|
||||||
return INLINE_SYSCALL_CALL (msgctl, msqid, cmd | __IPC_64, buf);
|
return INLINE_SYSCALL_CALL (msgctl, msqid, cmd, buf);
|
||||||
#else
|
#else
|
||||||
return INLINE_SYSCALL_CALL (ipc, IPCOP_msgctl, msqid, cmd, 0, buf);
|
return INLINE_SYSCALL_CALL (ipc, IPCOP_msgctl, msqid, cmd, 0, buf);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user