public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: andreas@gaisler.com
Cc: joseph@codesourcery.com, libc-alpha@sourceware.org,
	adhemerval.zanella@linaro.org, software@gaisler.com
Subject: Re: [PATCH] sparc32: Make no sendmsg/recvmsg syscalls for older Linux kernels than 4.4
Date: Tue, 08 Nov 2016 16:32:00 -0000	[thread overview]
Message-ID: <20161108.113154.1295121981703386011.davem@davemloft.net> (raw)
In-Reply-To: <5821DF2E.8070002@gaisler.com>

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

      reply	other threads:[~2016-11-08 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07  7:43 Andreas Larsson
2016-11-07 15:48 ` Joseph Myers
2016-11-08 14:20   ` Andreas Larsson
2016-11-08 16:32     ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161108.113154.1295121981703386011.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=adhemerval.zanella@linaro.org \
    --cc=andreas@gaisler.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=software@gaisler.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).