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