diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-05-14 15:01:32 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-05-20 12:25:28 -0300 |
commit | dfba907fedcb0e95af735a2d064761559f703ab6 (patch) | |
tree | 0472f0fabfb60315d2d81cb54dbd22d453039890 /sysdeps/unix | |
parent | 1388600877a8db404459682e9842cd55975409ba (diff) | |
download | glibc-dfba907fedcb0e95af735a2d064761559f703ab6.tar.gz glibc-dfba907fedcb0e95af735a2d064761559f703ab6.tar.xz glibc-dfba907fedcb0e95af735a2d064761559f703ab6.zip |
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.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/msgctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/msgctl.c b/sysdeps/unix/sysv/linux/msgctl.c index e4f78adda1..2d49567686 100644 --- a/sysdeps/unix/sysv/linux/msgctl.c +++ b/sysdeps/unix/sysv/linux/msgctl.c @@ -62,7 +62,7 @@ attribute_compat_text_section __old_msgctl (int msqid, int cmd, struct __old_msqid_ds *buf) { #ifdef __ASSUME_DIRECT_SYSVIPC_SYSCALLS - return INLINE_SYSCALL_CALL (msgctl, msqid, cmd | __IPC_64, buf); + return INLINE_SYSCALL_CALL (msgctl, msqid, cmd, buf); #else return INLINE_SYSCALL_CALL (ipc, IPCOP_msgctl, msqid, cmd, 0, buf); #endif |