public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Linux: Update syscall-names.list to Linux 5.2
@ 2019-07-18 18:41 Florian Weimer
  2019-07-18 19:17 ` Carlos O'Donell
  2019-07-18 20:53 ` Dmitry V. Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Florian Weimer @ 2019-07-18 18:41 UTC (permalink / raw)
  To: libc-alpha

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.

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

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

* Re: [PATCH] Linux: Update syscall-names.list to Linux 5.2
  2019-07-18 18:41 [PATCH] Linux: Update syscall-names.list to Linux 5.2 Florian Weimer
@ 2019-07-18 19:17 ` Carlos O'Donell
  2019-07-18 20:53 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Carlos O'Donell @ 2019-07-18 19:17 UTC (permalink / raw)
  To: Florian Weimer, libc-alpha

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
> 


-- 
Cheers,
Carlos.

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

* Re: [PATCH] Linux: Update syscall-names.list to Linux 5.2
  2019-07-18 18:41 [PATCH] Linux: Update syscall-names.list to Linux 5.2 Florian Weimer
  2019-07-18 19:17 ` Carlos O'Donell
@ 2019-07-18 20:53 ` Dmitry V. Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2019-07-18 20:53 UTC (permalink / raw)
  To: libc-alpha

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

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.


-- 
ldv

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

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

end of thread, other threads:[~2019-07-18 20:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-18 18:41 [PATCH] Linux: Update syscall-names.list to Linux 5.2 Florian Weimer
2019-07-18 19:17 ` Carlos O'Donell
2019-07-18 20:53 ` Dmitry V. Levin

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