From nobody Thu Apr 14 00:04:02 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 034D61B35C45; Thu, 14 Apr 2022 00:04:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kf07652fgz3nL6; Thu, 14 Apr 2022 00:04:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649894642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C0F0CZq52rM0CFUNZpfamrkHHB7HeJ3dYRbTku/dLS8=; b=MJocFtQCUOLqkuR4rYl2fIdtgVKTjZBD1CVO4sGMJE3FOH7gU9l4p1eXUIcq5CBiwRJwzR ko1nCJqKRROVF6zu341JAQ4W2kFfXeaRRoCs7c7sszbsvA2JbL9YcawM5AjNsnz2X2mVYe /XZuxa/17r4V/XUFjKpmE7JeGWJ9edwcCAJp/11z0llBq09uUL+DwB5z9aCFx4hMBe7Z7o wL9MibukdU9SZlCB3+tyafgsD6eszq82fOFM2kg6yVyu9jrShBDU/vy9IWKg18LSDHxdG3 MqDGcN4M0PLRYY/soxwHbun3y7aFOkE0MAxMZL2sWseZejZONYc0V07owxSLag== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8A8AF15B63; Thu, 14 Apr 2022 00:04:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23E042Sn055994; Thu, 14 Apr 2022 00:04:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23E042NO055993; Thu, 14 Apr 2022 00:04:02 GMT (envelope-from git) Date: Thu, 14 Apr 2022 00:04:02 GMT Message-Id: <202204140004.23E042NO055993@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Greg Lehey Subject: git: 01f095a35560 - stable/13 - chroot.2: Correct grammar errors. No functional change. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grog X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 01f095a355606e9b7b10f0b03c37980e65243055 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649894642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C0F0CZq52rM0CFUNZpfamrkHHB7HeJ3dYRbTku/dLS8=; b=LqB+3O90EIAjtlrKHByDZuptusE4Hs1iWcA61f6xg5KXRCfL9K/FHl6vuOx9vWcRodwjkG YnXZc9pSdDqZcNX5y5laZ92F89c0On4P+u1IQn4cLYM+rKSv9PWxixkp9FY05FjOPsKEEH K4KEle6sS8NDZOYIP32vtGj+k0QHn8of7LYLg/2FaLkgeRbJIu+nFEHOY5D3ddGfYbNLEZ dCCr4F9+utPQmC8nHskc+DOD4st/VBoaw9vnMu8xbneJGPvCXlJnOtOxh9zf4oD4qmLJGT hm0JnsQCjQQFKL9duigDLM4GqbWQd4sRehbH3tEl9G11i4AXXuwjHdozqrlwDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649894642; a=rsa-sha256; cv=none; b=BHRrSC3qAShVXAvYUovcRCYjVtM0VXgOgO8fmnV51EWzHlQQcDDQ0wVg48JZEGQ6oTpOV9 Zg7uHXfv9X2LgjM6Fhg5cPlfPQTMZL77sP6IF0oVG20c7ghRLz8ePCzyPDrRv7uL41clUe nu++ICcdBC4cjxZM2XwtAUvec+QxLZmh7VIyULdx837mcFkastS0QS9+ehyL4h6E8LewUG JFYsGCTvn04yWHRpn5MmR9qsO56nYeHekqFGElUNW8ME/dBe/jWPELlpmnzRlufmcK72r5 yS1JfzolRdIJ2PBcsCIgN73Q10cBnR/rPT9EE8vx3GQ+IOten4Oc1BZtlRWHQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by grog: URL: https://cgit.FreeBSD.org/src/commit/?id=01f095a355606e9b7b10f0b03c37980e65243055 commit 01f095a355606e9b7b10f0b03c37980e65243055 Author: Greg Lehey AuthorDate: 2022-03-31 02:05:49 +0000 Commit: Greg Lehey CommitDate: 2022-04-14 00:03:36 +0000 chroot.2: Correct grammar errors. No functional change. MFC after: 1 week (cherry picked from commit 4044083079ea55097284adeed98a58067c737b98) --- lib/libc/sys/chroot.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index 69ee3743d9d3..f5d9fa5a8515 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -147,7 +147,7 @@ open directories, or a MAC check), it is possible that this system call may return an error, with the working directory of the process left changed. .Sh SECURITY CONSIDERATIONS -The system have many hardcoded paths to files where it may load after +The system has many hardcoded paths to files which it may load after the process starts. It is generally recommended to drop privileges immediately after a successful @@ -155,8 +155,8 @@ successful call, and restrict write access to a limited subtree of the .Nm -root, -for instance, +root. +For instance, setup the sandbox so that the sandboxed user will have no write access to any well-known system directories. .Pp