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: Andreas Schwab <schwab at linux-m68k dot org>
- To: Michael Ellerman <mpe at ellerman dot id dot au>
- Cc: Arnd Bergmann <arnd at arndb dot de>, libc-alpha at sourceware 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>, Sam Bobroff <sam dot bobroff at au1 dot ibm dot com>
- Date: Wed, 16 Dec 2015 11:45:40 +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> <1450253328 dot 19757 dot 2 dot camel at ellerman dot id dot au> <mvmy4cu6aya dot fsf at hawking dot suse dot de> <2535039 dot fp0alOV0kv at wuerfel> <1450257707 dot 4370 dot 2 dot camel at ellerman dot id dot au> <mvmr3im67e8 dot fsf at hawking dot suse dot de> <1450261571 dot 4370 dot 4 dot camel at ellerman dot id dot au>
Michael Ellerman <mpe@ellerman.id.au> writes:
> I think it's also important not to #define __NR_semop etc. right? Otherwise
> userspace code might be doing #ifdef __NR_semop to detect whether that syscall
> is implemented.
That has never been a reliable test, as the compile time environment
(using the newest available kernel headers) usually does not match the
runtime environment (running an older kernel).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."