From owner-freebsd-bugs@freebsd.org Mon Mar 26 01:42:20 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14BA5F5D6B4 for ; Mon, 26 Mar 2018 01:42:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A75CF842AD for ; Mon, 26 Mar 2018 01:42:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 04CEB17436 for ; Mon, 26 Mar 2018 01:42:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w2Q1gIvB033485 for ; Mon, 26 Mar 2018 01:42:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w2Q1gIdG033484 for freebsd-bugs@FreeBSD.org; Mon, 26 Mar 2018 01:42:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 226931] Deprecating jail(2) and related sysctls Date: Mon, 26 Mar 2018 01:42:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jamie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: exp-run? mfc-stable10- mfc-stable11- X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2018 01:42:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226931 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@FreeBSD.org Reporter: jamie@FreeBSD.org Flags: exp-run?, mfc-stable10-, mfc-stable11- Created attachment 191820 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191820&action= =3Dedit 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) wor= ld, and they should go away as well. My plan is to put jail(2) under #ifdef COMPAT_FREEBSD11, and the sysctls un= der #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 runn= ing under the old system. --=20 You are receiving this mail because: You are the assignee for the bug.=