Update syscall-names.list for 4.15

Message ID alpine.DEB.2.20.1802011813130.21283@digraph.polyomino.org.uk
State New
Headers show
Series
  • Update syscall-names.list for 4.15
Related show

Commit Message

Joseph Myers Feb. 1, 2018, 6:14 p.m.
[Proposed for once the release changes for 2.27, and the post-release 
changes opening master for development for 2.28, have been committed.]

This patch updates sysdeps/unix/sysv/linux/syscall-names.list for
Linux 4.15.  There only appears to be one new syscall to add to the
list.  (The riscv_flush_icache syscall is *not* added because for
whatever reason it doesn't appear in the uapi asm/unistd.h; only in
arch/riscv/include/uapi/asm/syscalls.h, which is only included by the
non-uapi asm/unistd.h - and only syscalls whose __NR_* macros are
defined in the uapi asm/unistd.h are relevant for this list.)

Tested for x86_64, and with build-many-glibcs.py.

2018-02-01  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
	version to 4.15.
	(s390_sthyi): New syscall.


-- 
Joseph S. Myers
joseph@codesourcery.com

Comments

Dmitry V. Levin Feb. 1, 2018, 8:59 p.m. | #1
On Thu, Feb 01, 2018 at 06:14:06PM +0000, Joseph Myers wrote:
> [Proposed for once the release changes for 2.27, and the post-release 

> changes opening master for development for 2.28, have been committed.]

> 

> This patch updates sysdeps/unix/sysv/linux/syscall-names.list for

> Linux 4.15.  There only appears to be one new syscall to add to the

> list.  (The riscv_flush_icache syscall is *not* added because for

> whatever reason it doesn't appear in the uapi asm/unistd.h; only in

> arch/riscv/include/uapi/asm/syscalls.h, which is only included by the

> non-uapi asm/unistd.h - and only syscalls whose __NR_* macros are

> defined in the uapi asm/unistd.h are relevant for this list.)


The rationale given in linux commit v4.15-rc8~25^2~2 for defining
__NR_riscv_flush_icache in this unusual location doesn't look convincing.

OK for master.


-- 
ldv
Palmer Dabbelt Feb. 8, 2018, 5:47 p.m. | #2
On Thu, 01 Feb 2018 12:59:06 PST (-0800), ldv@altlinux.org wrote:
> On Thu, Feb 01, 2018 at 06:14:06PM +0000, Joseph Myers wrote:

>> [Proposed for once the release changes for 2.27, and the post-release 

>> changes opening master for development for 2.28, have been committed.]

>> 

>> This patch updates sysdeps/unix/sysv/linux/syscall-names.list for

>> Linux 4.15.  There only appears to be one new syscall to add to the

>> list.  (The riscv_flush_icache syscall is *not* added because for

>> whatever reason it doesn't appear in the uapi asm/unistd.h; only in

>> arch/riscv/include/uapi/asm/syscalls.h, which is only included by the

>> non-uapi asm/unistd.h - and only syscalls whose __NR_* macros are

>> defined in the uapi asm/unistd.h are relevant for this list.)

>

> The rationale given in linux commit v4.15-rc8~25^2~2 for defining

> __NR_riscv_flush_icache in this unusual location doesn't look convincing.

>

> OK for master.


It's probably just be not knowing what I'm doing.  Is it expected that all of 
the __NR_ macros end up in unistd.h?  If so I can try to figure out how to fix 
it in Linux.

Sorry!

Patch

diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
index 64eb2ad..ffbc5f9 100644
--- a/sysdeps/unix/sysv/linux/syscall-names.list
+++ b/sysdeps/unix/sysv/linux/syscall-names.list
@@ -22,8 +22,8 @@ 
 # names are only used if the installed kernel headers also provide
 # them.
 
-# The list of system calls is current as of Linux 4.14.
-kernel 4.14
+# The list of system calls is current as of Linux 4.15.
+kernel 4.15
 
 FAST_atomic_update
 FAST_cmpxchg
@@ -444,6 +444,7 @@  s390_guarded_storage
 s390_pci_mmio_read
 s390_pci_mmio_write
 s390_runtime_instr
+s390_sthyi
 sched_get_affinity
 sched_get_priority_max
 sched_get_priority_min