NetBSD Problem Report #58082

From www@netbsd.org  Tue Mar 26 21:18:44 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 834051A9239
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 26 Mar 2024 21:18:44 +0000 (UTC)
Message-Id: <20240326211843.A91321A923B@mollari.NetBSD.org>
Date: Tue, 26 Mar 2024 21:18:43 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: mount_null(8) is missing important semantics
X-Send-Pr-Version: www-1.0

>Number:         58082
>Category:       kern
>Synopsis:       mount_null(8) is missing important semantics
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 26 21:20:00 +0000 2024
>Last-Modified:  Thu Mar 28 02:55:52 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, 8, ...
>Organization:
The NullBSD Foundationsystem
>Environment:
>Description:
mount_null(8) exposes the directory tree of a mount point, but doesn't
actually hide anything in the file system from file handles, so it
cannot be used to make a subtree-restricted NFS export of a file
system.

The bulk of the mount_null(8) file system is about the implementation
details of layerfs, not about the semantics.  This should be moved to
a design document in /usr/share/doc or something and the man page
should focus on semantics.
>How-To-Repeat:
man mount_null
>Fix:
Yes, please!

>Release-Note:

>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.