This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Enable demuxed sysv IPC syscalls
- From: Arnd Bergmann <arnd at arndb dot de>
- To: libc-alpha at sourceware dot org
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, "Paul E. Murphy" <murphyp at linux dot vnet dot ibm dot com>, Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Date: Fri, 04 Dec 2015 00:09:08 +0100
- Subject: Re: [PATCH] powerpc: Enable demuxed sysv IPC syscalls
- Authentication-results: sourceware.org; auth=none
- References: <5660A8D0 dot 5090003 at linux dot vnet dot ibm dot com> <8737vjkwqt dot fsf at igel dot home>
On Thursday 03 December 2015 23:12:10 Andreas Schwab wrote:
> > #endif
> > @@ -64,7 +68,12 @@ compat_symbol (libc, __old_msgctl, msgctl, GLIBC_2_0);
> > int
> > __new_msgctl (int msqid, int cmd, struct msqid_ds *buf)
> > {
> > +#ifdef __ASSUME_MSGCTL_SYSCALL
> > + return INLINE_SYSCALL (msgctl, 3, msqid, cmd | __IPC_64, buf);
>
> Why does a brand new syscall need IPC_64?
This is a bug in the kernel, which we should fix there. The same
problem currently exists on ARM and AVR32, which also support the
old IPC API (pre-__IPC64) and are adding separate syscalls now.
Arnd