mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: [PATCH 1/7] fix preadv2 and pwritev2 syscall numbers on x32 for linux v4.8
Date: Fri, 14 Oct 2016 11:04:37 -0400	[thread overview]
Message-ID: <20161014150437.GY19318@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAMKF1spZkxppe+RnZdpsmqgDNj5e4=1KLkKk_4Atu_pn82HZKA@mail.gmail.com>

On Fri, Oct 14, 2016 at 02:09:10PM +0200, Khem Raj wrote:
> On Sun, Oct 9, 2016 at 6:58 PM, Szabolcs Nagy <nsz@port70.net> wrote:
> > the numbers were wrong in musl, but they were also wrong in the kernel
> > and got fixed in v4.8 commit 3ebfd81f7fb3e81a754e37283b7f38c62244641a
> 
> what happens if we now build musl trunk with linux kernel 3.7 ?

There's no such thing as "building musl with linux 3.7". musl need not
be built on a Linux system at all; there's no build-time dependency on
Linux, only run-time.

As for what happens at run-time, the wrong values of the syscall
numbers presumably don't work at all, or worse yet do the wrong thing.
I'm not sure if the fixed values work if called when running on the
old kernel, but for practical purposes that kernel should just be
considered buggy/not-usable or "not supporting these new syscalls
yet" for x32. In any case they're new nonstandard ones and essentially
unused at this time.

Rich


  reply	other threads:[~2016-10-14 15:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-09 16:58 Szabolcs Nagy
2016-10-14 12:09 ` Khem Raj
2016-10-14 15:04   ` Rich Felker [this message]
2016-10-14 15:13   ` Szabolcs Nagy
2016-10-14 15:16     ` Rich Felker

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=20161014150437.GY19318@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).