The branch main has been updated by dchagin:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8e523be5a5a2cb9660021d2de5732ee7257b2788

commit 8e523be5a5a2cb9660021d2de5732ee7257b2788
Author:     Dmitry Chagin <dcha...@freebsd.org>
AuthorDate: 2023-10-03 07:38:02 +0000
Commit:     Dmitry Chagin <dcha...@freebsd.org>
CommitDate: 2023-10-03 07:38:02 +0000

    linux(4): Deorbit linux_nosys from syscalls.master
    
    Differential Revision:  https://reviews.freebsd.org/D41902
    MFC after:              1 week
---
 sys/amd64/linux/syscalls.master   | 7 +------
 sys/amd64/linux32/syscalls.master | 7 +------
 sys/arm64/linux/syscalls.master   | 7 +------
 sys/i386/linux/syscalls.master    | 7 +------
 4 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/sys/amd64/linux/syscalls.master b/sys/amd64/linux/syscalls.master
index 437066d1655b..8e12a539b87f 100644
--- a/sys/amd64/linux/syscalls.master
+++ b/sys/amd64/linux/syscalls.master
@@ -32,13 +32,9 @@
 #include <sys/param.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
-#include <compat/linux/linux_sysproto.h>
 #include <amd64/linux/linux.h>
 #include <amd64/linux/linux_proto.h>
 
-; Isn't pretty, but there seems to be no other way to trap nosys
-#define        nosys   linux_nosys
-
 0      AUE_NULL        NOPROTO {
                int read(
                    int fd,
@@ -2191,6 +2187,5 @@
 453    AUE_NULL                STD {
                int linux_map_shadow_stack(void);
        }
-; please, keep this line at the end.
-454    AUE_NULL        UNIMPL  nosys
+
 ; vim: syntax=off
diff --git a/sys/amd64/linux32/syscalls.master 
b/sys/amd64/linux32/syscalls.master
index 32ed678fe0c6..7d796df1aed3 100644
--- a/sys/amd64/linux32/syscalls.master
+++ b/sys/amd64/linux32/syscalls.master
@@ -32,14 +32,10 @@
 #include <sys/param.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
-#include <compat/linux/linux_sysproto.h>
 #include <compat/freebsd32/freebsd32_util.h>
 #include <amd64/linux32/linux.h>
 #include <amd64/linux32/linux32_proto.h>
 
-; Isn't pretty, but there seems to be no other way to trap nosys
-#define        nosys   linux_nosys
-
 0      AUE_NULL        UNIMPL  setup
 1      AUE_EXIT        STD {
                void linux_exit(
@@ -2616,6 +2612,5 @@
 452    AUE_NULL                STD {
                int linux_fchmodat2(void);
        }
- ; please, keep this line at the end.
-453    AUE_NULL        UNIMPL  nosys
+
  ; vim: syntax=off
diff --git a/sys/arm64/linux/syscalls.master b/sys/arm64/linux/syscalls.master
index 9ba548359c46..61c7499d57b3 100644
--- a/sys/arm64/linux/syscalls.master
+++ b/sys/arm64/linux/syscalls.master
@@ -9,13 +9,9 @@
 #include <sys/param.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
-#include <compat/linux/linux_sysproto.h>
 #include <arm64/linux/linux.h>
 #include <arm64/linux/linux_proto.h>
 
-; Isn't pretty, but there seems to be no other way to trap nosys
-#define        nosys   linux_nosys
-
 0      AUE_NULL        UNIMPL  linux_io_setup
 1      AUE_NULL        UNIMPL  linux_io_destroy
 2      AUE_NULL        UNIMPL  linux_io_submit
@@ -1865,6 +1861,5 @@
 452    AUE_NULL                STD {
                int linux_fchmodat2(void);
        }
- ; please, keep this line at the end.
-453    AUE_NULL        UNIMPL  nosys
+
  ; vim: syntax=off
diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master
index 3f37cc2fc485..e3c39e50986c 100644
--- a/sys/i386/linux/syscalls.master
+++ b/sys/i386/linux/syscalls.master
@@ -32,13 +32,9 @@
 #include <sys/param.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
-#include <compat/linux/linux_sysproto.h>
 #include <i386/linux/linux.h>
 #include <i386/linux/linux_proto.h>
 
-; Isn't pretty, but there seems to be no other way to trap nosys
-#define        nosys   linux_nosys
-
 0      AUE_NULL        UNIMPL  setup
 1      AUE_EXIT        STD {
                void linux_exit(
@@ -2628,6 +2624,5 @@
 452    AUE_NULL                STD {
                int linux_fchmodat2(void);
        }
- ; please, keep this line at the end.
-453    AUE_NULL        UNIMPL  nosys
+
  ; vim: syntax=off

Reply via email to