From nobody Fri Dec 29 23:17:40 2023 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 4T21W86y3Jz55VP2; Fri, 29 Dec 2023 23:17:40 +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 4T21W86RVKz4KZF; Fri, 29 Dec 2023 23:17:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703891860; 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=GW8Tct/I/Ail4L92uFj85ls5wSAu5bWSoVTcFVWwSv0=; b=YHjCJZYhWqLJUK3gNiX/Nz+14UQf4iv8mLiRuywyC/5m5Ab5F46SAiklp8qt2CIVCh4APB FtrYtvDBhn5i7j4tgsYS7QQoB3qPCy95iMM2RFHDGhAFIkDe/T1TqZIR7gT8oG+GLBxJl1 7I7rnLkHZu+6+bh5kHDp5KmjHfLVf5KsEWk+yEqW3gLHSQt390Bj6LdRC2Mep/aQV7QuRf 5y+Zxj2db66Y6F0QscdY1yZRe0dsQpIVDBuEBWsWtDmzlb7bLZHWrQCLOpg6G9tlVHeN23 /YI8CtyQH0YpJ+8pZ+66hEcvqfGBEmE9Uz+hZP5Gd1ySlW/F4CDyYJQ6TnY1NQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703891860; a=rsa-sha256; cv=none; b=ts6yUklXXILyk8rfIZprWmyU1evOcDQX/wu60DISlEVXtjRVMV3dBqBBZktUCSlJ8Eb6tr Ooooje8BvpBerF09l/xREHL0SEgCFC1fO9mn1GErMewEkouVpnrT6o1vdvCdI1RH0Fnhn4 WcLHBMD3DjwS9i5nQ7uoXf4tsqojK0/FCp9U+HQiT+XI0oMiq9evjQp403cMkFmqxfnv3J /GWU2ssdX8cR17FwNlqPCFUynZflZFbrbELnkr4P1Tg0DJA3x+cxBOgmSSuT3VlBYoGJxY wfEznWDJEG8hitKHFWVGKzRjjilzfO38vyZ+w4/O0rBfv1YoaXnY9w/V0N1i6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703891860; 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=GW8Tct/I/Ail4L92uFj85ls5wSAu5bWSoVTcFVWwSv0=; b=Nr2gtiyabPnst/R3KtFaeBQeoNizn0AFfVVexu6eHa+3i7x6m7izWJWipR9MQJ631voUcd hwshMcWxziozqdZbnwFUl4bU0dtp4IFhfnczo1O5MYCj+NWLCWnF4OU0j5iGeuBgwNqCKH 1SDP8KQWZZvL5X1ZUr6juI53BaokMTmUOvB7YWOGoU5bK5V0P31/9X1KnkKw3EHsXMw2Fi q1vQTvr6ECFJJx42wYsMfS7GUQ85s+dqHgB8nac8/4qZoDnyVy35DXY+BTrJI1X9PEdxic UqqETJj1zicJafXM5UAq59hIrw5CL0NjDOkMNQv9qPjYaNmX9nPTgxKGknpyDg== 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 4T21W85SXszB0d; Fri, 29 Dec 2023 23:17:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BTNHeLB092500; Fri, 29 Dec 2023 23:17:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BTNHeio092497; Fri, 29 Dec 2023 23:17:40 GMT (envelope-from git) Date: Fri, 29 Dec 2023 23:17:40 GMT Message-Id: <202312292317.3BTNHeio092497@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: 2c83f1ada435 - stable/14 - mountd: Update exports.5 for commit 7c5146da1286 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: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 2c83f1ada4356e61b0a33314f3f02736d7a2fb14 Auto-Submitted: auto-generated The branch stable/14 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=2c83f1ada4356e61b0a33314f3f02736d7a2fb14 commit 2c83f1ada4356e61b0a33314f3f02736d7a2fb14 Author: Rick Macklem AuthorDate: 2023-12-22 20:17:36 +0000 Commit: Rick Macklem CommitDate: 2023-12-29 23:16:16 +0000 mountd: Update exports.5 for commit 7c5146da1286 Commit 7c5146da1286 modified mountd so that it uses strunvis(3) to decode directory names in exports lines. This allows special characters, such as blanks, to be encoded in the directory names. This patch updates the exports.5 man page for this change. This is a content change. (cherry picked from commit 922e78f65fd9a58db9e52d84290ed7c187b09278) --- usr.sbin/mountd/exports.5 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/usr.sbin/mountd/exports.5 b/usr.sbin/mountd/exports.5 index 56facef29a12..e394bb036046 100644 --- a/usr.sbin/mountd/exports.5 +++ b/usr.sbin/mountd/exports.5 @@ -27,7 +27,7 @@ .\" .\" @(#)exports.5 8.3 (Berkeley) 3/29/95 .\" -.Dd August 16, 2022 +.Dd December 21, 2023 .Dt EXPORTS 5 .Os .Sh NAME @@ -108,6 +108,17 @@ any or .Dq Pa .. components. +Pathnames are decoded by +.Xr strunvis 3 +allowing special characters to be included in the directory name(s). +In particular, whitespace, such as embedded blanks in directory names +can be handled. +For example, a blank can be encoded as \(rs040. +.Xr vis 1 +with the +.Fl M +option may be used to encode directory name(s) with embedded special +characters. Mount points for a file system may appear on multiple lines each with different sets of hosts and export options. .Pp @@ -584,6 +595,8 @@ NFSv4 mount request for a directory that the client does not have permission for will succeed and read/write access will fail afterwards, whereas NFSv3 rejects the mount request. .Sh SEE ALSO +.Xr vis 1 , +.Xr strunvis 3 , .Xr nfsv4 4 , .Xr netgroup 5 , .Xr mountd 8 ,