[PATCH] Linux: Update syscall-names.list to Linux 5.2

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Linux: Update syscall-names.list to Linux 5.2

Florian Weimer-5
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  <[hidden email]>

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

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
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Linux: Update syscall-names.list to Linux 5.2

Carlos O'Donell-6
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  <[hidden email]>
>
> * 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 <[hidden email]>

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


--
Cheers,
Carlos.
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] Linux: Update syscall-names.list to Linux 5.2

Dmitry V. Levin
In reply to this post by Florian Weimer-5
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  <[hidden email]>
>
> * 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.


--
ldv

signature.asc (817 bytes) Download Attachment