unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Update syscall-names.list for 4.15
@ 2018-02-01 18:14 Joseph Myers
  2018-02-01 20:59 ` Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Myers @ 2018-02-01 18:14 UTC (permalink / raw
  To: libc-alpha

[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.

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

-- 
Joseph S. Myers
joseph@codesourcery.com


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Update syscall-names.list for 4.15
  2018-02-01 18:14 Update syscall-names.list for 4.15 Joseph Myers
@ 2018-02-01 20:59 ` Dmitry V. Levin
  2018-02-08 17:47   ` Palmer Dabbelt
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2018-02-01 20:59 UTC (permalink / raw
  To: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 878 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Update syscall-names.list for 4.15
  2018-02-01 20:59 ` Dmitry V. Levin
@ 2018-02-08 17:47   ` Palmer Dabbelt
  0 siblings, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2018-02-08 17:47 UTC (permalink / raw
  To: ldv; +Cc: libc-alpha

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!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-08 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-01 18:14 Update syscall-names.list for 4.15 Joseph Myers
2018-02-01 20:59 ` Dmitry V. Levin
2018-02-08 17:47   ` Palmer Dabbelt

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).