From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11050 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: syscall table discrepancies Date: Thu, 16 Feb 2017 20:51:47 -0500 Message-ID: <20170217015147.GA7188@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1487296322 4654 195.159.176.226 (17 Feb 2017 01:52:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2017 01:52:02 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-11065-gllmg-musl=m.gmane.org@lists.openwall.com Fri Feb 17 02:51:59 2017 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 1ceXiI-0000t4-As for gllmg-musl@m.gmane.org; Fri, 17 Feb 2017 02:51:58 +0100 Original-Received: (qmail 15867 invoked by uid 550); 17 Feb 2017 01:52:02 -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 15827 invoked from network); 17 Feb 2017 01:52:01 -0000 Content-Disposition: inline Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11050 Archived-At: Szabolcs Nagy worked out diffs of musl's idea of the syscalls for each arch vs the kernel's which I'm pasting below; I'll follow up with comments as a reply. aarch64 -o__NR_fstatat 79 +o__NR_newfstatat 79 -o__NR_or1k_atomic 244 arm +o__NR_arm_fadvise64_64 270 +o__NR_arm_sync_file_range 341 -o__NR_fadvise64_64 270 i386 -o__NR_madvise1 219 microblaze -o__NR_fadvise 250 +o__NR_fadvise64 250 -o__NR_fstatat 300 +o__NR_fstatat64 300 -o__NR_pread 180 +o__NR_pread64 180 -o__NR_pwrite 181 +o__NR_pwrite64 181 mips +o__NR__newselect 4142 -o__NR_fadvise 4254 +o__NR_fadvise64 4254 -o__NR_fstatat 4293 +o__NR_fstatat64 4293 -o__NR_pread 4200 +o__NR_pread64 4200 -o__NR_pwrite 4201 +o__NR_pwrite64 4201 -o__NR_select 4142 mipsn32 -o__NR_fstatat 6256 +o__NR_newfstatat 6256 or1k -o__NR__llseek 62 +o__NR_llseek 62 powerpc -o__NR_getresgid32 170 -o__NR_getresuid32 165 -o__NR_setresgid32 169 -o__NR_setresuid32 164 -o__NR_timerfd 306