7c0489
commit e788beaf093bfafecd6b4456b984bd927c18987a
7c0489
Author: Joseph Myers <joseph@codesourcery.com>
7c0489
Date:   Fri Apr 3 18:07:55 2020 +0000
7c0489
7c0489
    Update syscall lists for Linux 5.6.
7c0489
7c0489
    Linux 5.6 has new openat2 and pidfd_getfd syscalls.  This patch adds
7c0489
    them to syscall-names.list and regenerates the arch-syscall.h files.
7c0489
7c0489
    Tested with build-many-glibcs.py.
7c0489
7c0489
Modified to only update syscall-names.list for RHEL 8.3.0.
7c0489
Also cleaned up typos in the comments.
7c0489
7c0489
diff -Nrup a/sysdeps/unix/sysv/linux/syscall-names.list b/sysdeps/unix/sysv/linux/syscall-names.list
7c0489
--- a/sysdeps/unix/sysv/linux/syscall-names.list	2020-04-06 12:27:10.519027866 -0400
7c0489
+++ b/sysdeps/unix/sysv/linux/syscall-names.list	2020-04-06 12:31:53.665812810 -0400
7c0489
@@ -16,14 +16,13 @@
7c0489
 # License along with the GNU C Library; if not, see
7c0489
 # <http://www.gnu.org/licenses/>.
7c0489
 
7c0489
-# This file contains the list of system call names names.  It has to
7c0489
-# remain in alphabetica order.  Lines which start with # are treated
7c0489
-# as comments.  This file can list all potential system calls.  The
7c0489
-# names are only used if the installed kernel headers also provide
7c0489
-# them.
7c0489
+# This file contains the list of system call names.  It has to remain in
7c0489
+# alphabetical order.  Lines which start with # are treated as comments.
7c0489
+# This file can list all potential system calls.  The names are only
7c0489
+# used if the installed kernel headers also provide them.
7c0489
 
7c0489
-# The list of system calls is current as of Linux 5.5.
7c0489
-kernel 5.5
7c0489
+# The list of system calls is current as of Linux 5.6.
7c0489
+kernel 5.6
7c0489
 
7c0489
 FAST_atomic_update
7c0489
 FAST_cmpxchg
7c0489
@@ -293,6 +292,7 @@ open
7c0489
 open_by_handle_at
7c0489
 open_tree
7c0489
 openat
7c0489
+openat2
7c0489
 osf_adjtime
7c0489
 osf_afs_syscall
7c0489
 osf_alt_plock
7c0489
@@ -411,6 +411,7 @@ perf_event_open
7c0489
 perfctr
7c0489
 perfmonctl
7c0489
 personality
7c0489
+pidfd_getfd
7c0489
 pidfd_open
7c0489
 pidfd_send_signal
7c0489
 pipe