From owner-svn-src-all@freebsd.org Sat Aug 18 01:14:20 2018 Return-Path: Delivered-To: svn-src-all@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 7AD331080DCF; Sat, 18 Aug 2018 01:14:20 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C57A7B41E; Sat, 18 Aug 2018 01:14:20 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id BFDC4B538; Sat, 18 Aug 2018 01:14:19 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f46.google.com with SMTP id e23-v6so1757997lfc.13; Fri, 17 Aug 2018 18:14:19 -0700 (PDT) X-Gm-Message-State: AOUpUlGCzkjN+MGvjsrlFk7+dcwoB4+Aw5AZf2mx4g7tWdinStF0r6Do 02f+aCXWMG6113n7rQVsi5m/UUwBTfXBaek2mWo= X-Google-Smtp-Source: AA+uWPym1lgft5uekhrSLgFHkr/SEiyO96pEUNKtbGv/dKFZoR67x8Zg8MDrBiW153575rQzL/x1/aMXio8I/ZAo8v8= X-Received: by 2002:a19:26d2:: with SMTP id m201-v6mr22768209lfm.43.1534554858445; Fri, 17 Aug 2018 18:14:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:5742:0:0:0:0:0 with HTTP; Fri, 17 Aug 2018 18:13:57 -0700 (PDT) In-Reply-To: <201808180112.w7I1Cjkw094247@repo.freebsd.org> References: <201808180112.w7I1Cjkw094247@repo.freebsd.org> From: Kyle Evans Date: Fri, 17 Aug 2018 20:13:57 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r337993 - head/sbin/bectl To: Kyle Evans Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Aug 2018 01:14:20 -0000 On Fri, Aug 17, 2018 at 8:12 PM, Kyle Evans wrote: > Author: kevans > Date: Sat Aug 18 01:12:44 2018 > New Revision: 337993 > URL: https://svnweb.freebsd.org/changeset/base/337993 > > Log: > bectl(8): Allow running a custom command in the 'jail' subcommand > > Instead of always running /bin/sh, allow the user to specify the command > to run. The jail is not removed when the command finishes. Meaning, > `bectl unjail` will still need to be run. > > For example: > > ``` > bectl jail newBE pkg upgrade > bectl ujail newBE > ``` > > Submitted by: Shawn Webb > Obtained from: HardenedBSD (8b451014ab) > I meant to note here that Shawn can only be blamed for the bectl_jail.c modifications. =) The usage and manpage update were done post-submission, pre-commit. Thanks, Kyle Evans