path: root/sys/sys/syscall.h
diff options
authorJamie Gritton <jamie@FreeBSD.org>2018-08-16 18:40:16 +0000
committerJamie Gritton <jamie@FreeBSD.org>2018-08-16 18:40:16 +0000
commit284001a222ae071c063920aa1c1b6477f168002d (patch)
tree10ee709c397d09f7bbe58bae03f7543dbe01998b /sys/sys/syscall.h
parenta8e44f4da0e8b8892688d88a8faea5abfff2219e (diff)
Put jail(2) under COMPAT_FREEBSD11. It has been the "old" way of creating
jails since FreeBSD 7. Along with the system call, put the various security.jail.allow_foo and security.jail.foo_allowed sysctls partly under COMPAT_FREEBSD11 (or BURN_BRIDGES). These sysctls had two disparate uses: on the system side, they were global permissions for jails created via jail(2) which lacked fine-grained permission controls; inside a jail, they're read-only descriptions of what the current jail is allowed to do. The first use is obsolete along with jail(2), but keep them for the second-read-only use. Differential Revision: D14791
Notes: svn path=/head/; revision=337922
Diffstat (limited to 'sys/sys/syscall.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 6e880f04950c..4fe59e68cfb6 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -280,7 +280,7 @@
#define SYS_utrace 335
/* 336 is freebsd4 sendfile */
#define SYS_kldsym 337
-#define SYS_jail 338
+#define SYS_freebsd11_jail 338
#define SYS_nnpfs_syscall 339
#define SYS_sigprocmask 340
#define SYS_sigsuspend 341