diff mbox series

[v5,02/20] linux-user: alpha: Update syscall numbers to kernel 5.5 rc3 level

Message ID 1578947683-21011-3-git-send-email-aleksandar.markovic@rt-rk.com (mailing list archive)
State New, archived
Headers show
Series linux-user: Misc patches for 5.0 | expand

Commit Message

Aleksandar Markovic Jan. 13, 2020, 8:34 p.m. UTC
From: Aleksandar Markovic <amarkovic@wavecomp.com>

Update alpha syscall numbers based on Linux kernel tag v5.5-rc3
(commit 46cf053e).

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>

---

cc: Richard Henderson <rth@twiddle.net>
---
 linux-user/alpha/syscall_nr.h | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Comments

Laurent Vivier Jan. 14, 2020, 3:12 p.m. UTC | #1
Le 13/01/2020 à 21:34, Aleksandar Markovic a écrit :
> From: Aleksandar Markovic <amarkovic@wavecomp.com>
> 
> Update alpha syscall numbers based on Linux kernel tag v5.5-rc3
> (commit 46cf053e).
> 
> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
> 
> ---
> 
> cc: Richard Henderson <rth@twiddle.net>
> ---
>  linux-user/alpha/syscall_nr.h | 35 +++++++++++++++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
> 
> diff --git a/linux-user/alpha/syscall_nr.h b/linux-user/alpha/syscall_nr.h
> index 2e5541b..c29fc17 100644
> --- a/linux-user/alpha/syscall_nr.h
> +++ b/linux-user/alpha/syscall_nr.h
> @@ -453,5 +453,40 @@
>  #define TARGET_NR_getrandom                     511
>  #define TARGET_NR_memfd_create                  512
>  #define TARGET_NR_execveat                      513
> +#define TARGET_NR_seccomp                       514
> +#define TARGET_NR_bpf                           515
> +#define TARGET_NR_userfaultfd                   516
> +#define TARGET_NR_membarrier                    517
> +#define TARGET_NR_mlock2                        518
> +#define TARGET_NR_copy_file_range               519
> +#define TARGET_NR_preadv2                       520
> +#define TARGET_NR_pwritev2                      521
> +#define TARGET_NR_statx                         522
> +#define TARGET_NR_io_pgetevents                 523
> +#define TARGET_NR_pkey_mprotect                 524
> +#define TARGET_NR_pkey_alloc                    525
> +#define TARGET_NR_pkey_free                     526
> +#define TARGET_NR_rseq                          527
> +#define TARGET_NR_statfs64                      528
> +#define TARGET_NR_fstatfs64                     529
> +#define TARGET_NR_getegid                       530
> +#define TARGET_NR_geteuid                       531
> +#define TARGET_NR_getppid                       532
> +/*
> + * all other architectures have common numbers for new syscall, alpha
> + * is the exception.
> + */
> +#define TARGET_NR_pidfd_send_signal             534
> +#define TARGET_NR_io_uring_setup                535
> +#define TARGET_NR_io_uring_enter                536
> +#define TARGET_NR_io_uring_register             537
> +#define TARGET_NR_open_tree                     538
> +#define TARGET_NR_move_mount                    539
> +#define TARGET_NR_fsopen                        540
> +#define TARGET_NR_fsconfig                      541
> +#define TARGET_NR_fsmount                       542
> +#define TARGET_NR_fspick                        543
> +#define TARGET_NR_pidfd_open                    544
> +/* 545 reserved for clone3 */
>  
>  #endif
> 

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
diff mbox series

Patch

diff --git a/linux-user/alpha/syscall_nr.h b/linux-user/alpha/syscall_nr.h
index 2e5541b..c29fc17 100644
--- a/linux-user/alpha/syscall_nr.h
+++ b/linux-user/alpha/syscall_nr.h
@@ -453,5 +453,40 @@ 
 #define TARGET_NR_getrandom                     511
 #define TARGET_NR_memfd_create                  512
 #define TARGET_NR_execveat                      513
+#define TARGET_NR_seccomp                       514
+#define TARGET_NR_bpf                           515
+#define TARGET_NR_userfaultfd                   516
+#define TARGET_NR_membarrier                    517
+#define TARGET_NR_mlock2                        518
+#define TARGET_NR_copy_file_range               519
+#define TARGET_NR_preadv2                       520
+#define TARGET_NR_pwritev2                      521
+#define TARGET_NR_statx                         522
+#define TARGET_NR_io_pgetevents                 523
+#define TARGET_NR_pkey_mprotect                 524
+#define TARGET_NR_pkey_alloc                    525
+#define TARGET_NR_pkey_free                     526
+#define TARGET_NR_rseq                          527
+#define TARGET_NR_statfs64                      528
+#define TARGET_NR_fstatfs64                     529
+#define TARGET_NR_getegid                       530
+#define TARGET_NR_geteuid                       531
+#define TARGET_NR_getppid                       532
+/*
+ * all other architectures have common numbers for new syscall, alpha
+ * is the exception.
+ */
+#define TARGET_NR_pidfd_send_signal             534
+#define TARGET_NR_io_uring_setup                535
+#define TARGET_NR_io_uring_enter                536
+#define TARGET_NR_io_uring_register             537
+#define TARGET_NR_open_tree                     538
+#define TARGET_NR_move_mount                    539
+#define TARGET_NR_fsopen                        540
+#define TARGET_NR_fsconfig                      541
+#define TARGET_NR_fsmount                       542
+#define TARGET_NR_fspick                        543
+#define TARGET_NR_pidfd_open                    544
+/* 545 reserved for clone3 */
 
 #endif