unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/5] sysvipc: Fix compat msgctl
@ 2019-05-16 15:12 Adhemerval Zanella
  2019-05-16 15:12 ` [PATCH 2/5] sysvipc: Move __IPC_64 to kernel-features.h Adhemerval Zanella
                   ` (4 more replies)
  0 siblings, 5 replies; 23+ messages in thread
From: Adhemerval Zanella @ 2019-05-16 15:12 UTC (permalink / raw)
  To: libc-alpha

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.

	* sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
	usage.
---
 sysdeps/unix/sysv/linux/msgctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.17.1


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

end of thread, other threads:[~2019-05-20 13:29 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 15:12 [PATCH 1/5] sysvipc: Fix compat msgctl Adhemerval Zanella
2019-05-16 15:12 ` [PATCH 2/5] sysvipc: Move __IPC_64 to kernel-features.h Adhemerval Zanella
2019-05-16 15:38   ` Andreas Schwab
2019-05-16 18:57     ` Adhemerval Zanella
2019-05-20  7:42       ` Andreas Schwab
2019-05-20 11:53         ` Adhemerval Zanella
2019-05-20 12:20           ` Andreas Schwab
2019-05-20 12:30             ` Adhemerval Zanella
2019-05-20 12:38               ` Adhemerval Zanella
2019-05-16 15:12 ` [PATCH 3/5] sysvipc: Consolidate semtimedop s390 Adhemerval Zanella
2019-05-16 15:41   ` Florian Weimer
2019-05-16 19:09     ` Adhemerval Zanella
2019-05-17  9:13       ` Florian Weimer
2019-05-17 12:30         ` Adhemerval Zanella
2019-05-17 12:44           ` Florian Weimer
2019-05-17 19:09           ` Arnd Bergmann
2019-05-20 13:29             ` Adhemerval Zanella
2019-05-16 15:12 ` [PATCH 4/5] ipc: Refactor sysvipc compat type Adhemerval Zanella
2019-05-16 15:12 ` [PATCH 5/5] Update sysvipc kernel-features.h files for Linux 5.1 Adhemerval Zanella
2019-05-17 21:00   ` Stepan Golosunov
2019-05-20 12:31     ` Adhemerval Zanella
2019-05-16 15:36 ` [PATCH 1/5] sysvipc: Fix compat msgctl Florian Weimer
2019-05-16 19:06   ` Adhemerval Zanella

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).