[Bug 226931] Deprecating jail(2) and related sysctls
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 26 01:42:20 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226931
Bug ID: 226931
Summary: Deprecating jail(2) and related sysctls
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: jamie at FreeBSD.org
Flags: exp-run?, mfc-stable10-, mfc-stable11-
Created attachment 191820
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=191820&action=edit
Patch for exp-run
jail(2) has been the old way of adding jails for nearly a decade, and it's past
due for moving into COMPAT. Also, the sysctls under security.jail that went
along with it are more confusing than useful for the modern jail_set(2) world,
and they should go away as well.
My plan is to put jail(2) under #ifdef COMPAT_FREEBSD11, and the sysctls under
#ifndef BURN_BRIDGES. But I want to make sure I can find and hopefully fix any
ports still using jail(2).
So the included patch actually removes jail(2) and the sysctls entirely,
regardless of those defines, so an exp-run should catch anything still running
under the old system.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list