[PATCH] powerpc: Enable demuxed sysv IPC syscalls
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Dec 3 22:57:00 GMT 2015
On 03-12-2015 20:22, Joseph Myers wrote:
> On Thu, 3 Dec 2015, Adhemerval Zanella wrote:
>
>> My inclination would to avoid the __ASSUME_XXX macros definition and just
>> check if the current kernel header defines of not __NR_msgctl and use it
>> as the condition to enable the wire-up syscall.
>
> I'm not clear exactly what you're suggesting. If you check like that
> (whether the kernel headers, possibly for a newer kernel than the minimum
> supported by that glibc build, define a syscall number) then you need a
> run-time fallback if the new syscall fails with ENOSYS.
>
But building with a newer kernel header will bind the libc.so to the
specific version, isn't? I am assuming ENOSYS will be retuned only when
the libc.so issues the syscall on an older kernel (which it should not
suppose to support).
More information about the Libc-alpha
mailing list