mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Deorbit linux_nosys from syscalls.master
Differential Revision: https://reviews.freebsd.org/D41902 MFC after: 1 week (cherry picked from commit 8e523be5a5a2cb9660021d2de5732ee7257b2788)
This commit is contained in:
parent
761d9162d2
commit
ea54d65b34
4 changed files with 4 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue