git: ea54d65b340e - stable/14 - linux(4): Deorbit linux_nosys from syscalls.master
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Oct 2023 05:14:16 UTC
The branch stable/14 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=ea54d65b340eb090518f79c2322db2644b39e634 commit ea54d65b340eb090518f79c2322db2644b39e634 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2023-10-03 07:38:02 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2023-10-10 05:12:12 +0000 linux(4): Deorbit linux_nosys from syscalls.master Differential Revision: https://reviews.freebsd.org/D41902 MFC after: 1 week (cherry picked from commit 8e523be5a5a2cb9660021d2de5732ee7257b2788) --- 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