aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/linux
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-12-09 04:37:28 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-12-17 02:56:28 +0000
commit849466665811981d2e55201f6901d576d947a745 (patch)
tree093de0ad9e244c417ac042541f5b09ed63eee2a6 /sys/amd64/linux
parentd8b45c8e14c53941e0bc43d20cfcbfad7691cd8f (diff)
downloadsrc-849466665811981d2e55201f6901d576d947a745.tar.gz
src-849466665811981d2e55201f6901d576d947a745.zip
sysent: move away from allowing all compat options for other ABIs
Notably, the current compat_options only makes sense for native and freebsd32 ABIs. For the others, it just adds cruft. Switch to having sets of compat options, and default to the native set. Setup the other ABIs where it doesn't make sense to opt-out of the native set. This removes some redundant COMPAT_FREEBSD* stuff from Linuxolator bits. line_expr in makesyscalls.lua is fixed to allow empty strings to be specified, since they're harmless. Reviewed by: brooks, kib (both earlier version) Differential Revision: https://reviews.freebsd.org/D33356
Diffstat (limited to 'sys/amd64/linux')
-rw-r--r--sys/amd64/linux/syscalls.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/linux/syscalls.conf b/sys/amd64/linux/syscalls.conf
index 29f37920bba6..a47f80444c2a 100644
--- a/sys/amd64/linux/syscalls.conf
+++ b/sys/amd64/linux/syscalls.conf
@@ -9,3 +9,4 @@ syscallprefix="LINUX_SYS_"
switchname="linux_sysent"
namesname="linux_syscallnames"
systrace="linux_systrace_args.c"
+compat_set=""