From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10633 Path: news.gmane.org!.POSTED!not-for-mail From: Khem Raj Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH 1/7] fix preadv2 and pwritev2 syscall numbers on x32 for linux v4.8 Date: Fri, 14 Oct 2016 14:09:10 +0200 Message-ID: References: <20161009165810.GC28065@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1476447015 32081 195.159.176.226 (14 Oct 2016 12:10:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2016 12:10:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10646-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 14 14:10:10 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1bv1JC-0005n6-S0 for gllmg-musl@m.gmane.org; Fri, 14 Oct 2016 14:09:54 +0200 Original-Received: (qmail 12158 invoked by uid 550); 14 Oct 2016 12:09:54 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 12140 invoked from network); 14 Oct 2016 12:09:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=++f7xZBfrUKJizwQgvEBJNzMyaXvWfyblbeo4HrOOVI=; b=NSUeEQLY2SwQblVWLiKtYB1F/KEY7UYmIgzBOLCNn0vWwILe0srL4UzXkNPs9g97HD 7f67ehRP2pWw+1NrHlkJGdcEImJ2PP44B1H2/YMMEUyEe/JaByUomrqLnD0MtO9arjxj eBWdZ3TovGZiaHQ71DFgdTdDPUnQa0GcjvlvyeLhV4wG0/p9Ub0uUzpXTQSPcaFZFCUB 1zCVHFEPGqXm1RJBUFdjsTB41ZZzYIW7jFVfpw0rhujZ2uKK5JdS8I+ykO4f61Cg1lAy WQwoM/e4E2XLKIbrZcWf1eiuWuzTKE1kGEO2KJ0jwQlX4icsA4WlHKXfQW5/uXS2qp5D UFZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=++f7xZBfrUKJizwQgvEBJNzMyaXvWfyblbeo4HrOOVI=; b=ghpQhtuq/qGEIair5fq9LrNPi/cl949HwXnPXlRbTJtrCd3QHCh3OoO+RM/oi886DC 9TYBeGU2CQQMCUeISpc0ORPrH7/GhgvO5MVMHICra9gWtcNoYmn4jG5CQ97wLHSWTb+G N1grJrNHYBFPabwYP4uPldJKO0XoVrm1cvn8r7sIy690GnXJK+APFPIi5WOSl2ihYzPR WQwxtYimzoPbK7PWQwAJjlsa8/2/T+GWLztz/dYAiFO4o5AIaJ6cgLAlXNDnhtoWaCh0 5KmiJPASfba9peJxuhfZJkfG/LE1Z9qSD7ElgPmxd9tXnraqt5AhQNM/77kGVxwJBjiE 6awQ== X-Gm-Message-State: AA6/9RkfN96/V4e0fvOTtiwzbVLHk2I1ul68fgR5U5YM6tyviYxWbcS3NMTWrzQYMRgJwnlX9Xp4m6zGS2bUDw== X-Received: by 10.31.0.67 with SMTP id 64mr8337429vka.173.1476446981131; Fri, 14 Oct 2016 05:09:41 -0700 (PDT) In-Reply-To: <20161009165810.GC28065@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:10633 Archived-At: On Sun, Oct 9, 2016 at 6:58 PM, Szabolcs Nagy 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 ? > --- > arch/x32/bits/syscall.h.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x32/bits/syscall.h.in b/arch/x32/bits/syscall.h.in > index cf2b4f1..e94dcb2 100644 > --- a/arch/x32/bits/syscall.h.in > +++ b/arch/x32/bits/syscall.h.in > @@ -280,8 +280,6 @@ > #define __NR_membarrier (0x40000000 + 324) > #define __NR_mlock2 (0x40000000 + 325) > #define __NR_copy_file_range (0x40000000 + 326) > -#define __NR_preadv2 (0x40000000 + 327) > -#define __NR_pwritev2 (0x40000000 + 328) > > #define __NR_rt_sigaction (0x40000000 + 512) > #define __NR_rt_sigreturn (0x40000000 + 513) > @@ -317,4 +315,6 @@ > #define __NR_io_setup (0x40000000 + 543) > #define __NR_io_submit (0x40000000 + 544) > #define __NR_execveat (0x40000000 + 545) > +#define __NR_preadv2 (0x40000000 + 546) > +#define __NR_pwritev2 (0x40000000 + 547) > > -- > 2.10.0 >