This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sparc32: Make no sendmsg/recvmsg syscalls for older Linux kernels than 4.4


From: Andreas Larsson <andreas@gaisler.com>
Date: Tue, 08 Nov 2016 15:20:30 +0100

> On 2016-11-07 16:48, Joseph Myers wrote:
>> On Mon, 7 Nov 2016, Andreas Larsson wrote:
>>
>>> The sendmsg and recvmsg systems calls were not available for 32-bit
>>> sparc Linux kernels before Linux kernel version 4.4.
>>
>> Given the conditional you are putting this under: should I take it it
>> is
>> specifically for 32-bit kernels and the system calls *are* available
>> for
>> 32-bit binaries executed under 64-bit kernels?
> 
> Yes, the intention is specifically for 32-bit kernels. This patch
> makes interfacing older 32-bit kernels work.
> 
> The system calls are available in 64-bit kernels since before Linux
> 3.2. I don't have the possibility to test the case with 32-bit
> binaries under a 64-bit kernel, so I don't want to touch the behavior
> for that case.

The same commit in the kernel added them to all of the 32-bit cases
(native and running under 64-bit kernel) so you can safely assume
they exist universally starting with 4.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]