diff mbox series

Linux: Update syscall-names.list to Linux 5.2

Message ID 87sgr3xk1p.fsf@oldenburg2.str.redhat.com
State New
Headers show
Series Linux: Update syscall-names.list to Linux 5.2 | expand

Commit Message

Florian Weimer July 18, 2019, 6:41 p.m. UTC
This adds the system call names fsconfig, fsmount, fsopen, fspick,
move_mount, open_tree.

Tested with build-many-glibcs.py.

2019-07-18  Florian Weimer  <fweimer@redhat.com>

	* sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
	from Linux 5.2.
	(fsconfig): Add system call name.
	(fsmount): Likewise.
	(fsopen): Likewise.
	(fspick): Likewise.
	(move_mount): Likewise.
	(open_tree): Likewise.

Comments

Carlos O'Donell July 18, 2019, 7:17 p.m. UTC | #1
On 7/18/19 2:41 PM, Florian Weimer wrote:
> This adds the system call names fsconfig, fsmount, fsopen, fspick,
> move_mount, open_tree.
> 
> Tested with build-many-glibcs.py.
> 
> 2019-07-18  Florian Weimer  <fweimer@redhat.com>
> 
> 	* sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
> 	from Linux 5.2.
> 	(fsconfig): Add system call name.
> 	(fsmount): Likewise.
> 	(fsopen): Likewise.
> 	(fspick): Likewise.
> 	(move_mount): Likewise.
> 	(open_tree): Likewise.

This looks good to me.

Cursory review of the linux 5.2 tree verifies this is correct.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>

> diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
> index 95aa3ec7a5..21bf37c627 100644
> --- a/sysdeps/unix/sysv/linux/syscall-names.list
> +++ b/sysdeps/unix/sysv/linux/syscall-names.list

After io_uring_enter I see:

* open_tree
* move_mount
* fsopen
* fsconfig
* fsmount
* fspick
* pidfd_open (added in 5.3 which is not out yet)
* clone3 (likewise)

> @@ -23,7 +23,7 @@
>   # them.
>   
>   # The list of system calls is current as of Linux 5.1.
> -kernel 5.1
> +kernel 5.2
>   
>   FAST_atomic_update
>   FAST_cmpxchg
> @@ -124,7 +124,11 @@ fork
>   fp_udfiex_crtl
>   free_hugepages
>   fremovexattr
> +fsconfig

OK.

>   fsetxattr
> +fsmount

OK.

> +fsopen

OK.

> +fspick

OK.

>   fstat
>   fstat64
>   fstatat64
> @@ -248,6 +252,7 @@ mmap
>   mmap2
>   modify_ldt
>   mount
> +move_mount

OK.

>   move_pages
>   mprotect
>   mpx
> @@ -285,6 +290,7 @@ oldumount
>   olduname
>   open
>   open_by_handle_at
> +open_tree

OK.

>   openat
>   osf_adjtime
>   osf_afs_syscall
>
Dmitry V. Levin July 18, 2019, 8:53 p.m. UTC | #2
On Thu, Jul 18, 2019 at 08:41:06PM +0200, Florian Weimer wrote:
> This adds the system call names fsconfig, fsmount, fsopen, fspick,
> move_mount, open_tree.
> 
> Tested with build-many-glibcs.py.
> 
> 2019-07-18  Florian Weimer  <fweimer@redhat.com>
> 
> 	* sysdeps/unix/sysv/linux/syscall-names.list: Add system calls
> 	from Linux 5.2.
> 	(fsconfig): Add system call name.
> 	(fsmount): Likewise.
> 	(fsopen): Likewise.
> 	(fspick): Likewise.
> 	(move_mount): Likewise.
> 	(open_tree): Likewise.

I follow Linux changes in this area closely enough to confirm that
exactly these 6 syscalls were added in Linux 5.2.
diff mbox series

Patch

diff --git a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
index 95aa3ec7a5..21bf37c627 100644
--- a/sysdeps/unix/sysv/linux/syscall-names.list
+++ b/sysdeps/unix/sysv/linux/syscall-names.list
@@ -23,7 +23,7 @@ 
 # them.
 
 # The list of system calls is current as of Linux 5.1.
-kernel 5.1
+kernel 5.2
 
 FAST_atomic_update
 FAST_cmpxchg
@@ -124,7 +124,11 @@  fork
 fp_udfiex_crtl
 free_hugepages
 fremovexattr
+fsconfig
 fsetxattr
+fsmount
+fsopen
+fspick
 fstat
 fstat64
 fstatat64
@@ -248,6 +252,7 @@  mmap
 mmap2
 modify_ldt
 mount
+move_mount
 move_pages
 mprotect
 mpx
@@ -285,6 +290,7 @@  oldumount
 olduname
 open
 open_by_handle_at
+open_tree
 openat
 osf_adjtime
 osf_afs_syscall