NetBSD Problem Report #53299

From dmb@yenn.ulegend.net  Sat May 19 11:38:25 2018
Return-Path: <dmb@yenn.ulegend.net>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 8EE6E7A0F8
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 19 May 2018 11:38:25 +0000 (UTC)
Message-Id: <20180519113822.2C0495A99@yenn.ulegend.net>
Date: Sat, 19 May 2018 11:38:22 +0000 (UTC)
From: dmb@yenn.ulegend.net
Reply-To: dmb@yenn.ulegend.net
To: gnats-bugs@NetBSD.org
Subject: kernfs and procfs are broken when sysctl security.curtain is enabled
X-Send-Pr-Version: 3.95

>Number:         53299
>Category:       kern
>Synopsis:       kernfs and procfs are broken when sysctl security.curtain is enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 19 11:40:00 +0000 2018
>Originator:     Dominik Bialy
>Release:        NetBSD 8.0_RC1
>Organization:
Underlegend Networks
>Environment:


System: NetBSD yenn 8.0_RC1 NetBSD 8.0_RC1 (YENN) #0: Thu May 10 18:49:42 UTC 2018 [**CENSORED**]:/builds/netbsd-8/amd64/obj/sys/arch/amd64/compile/YENN amd64
Architecture: x86_64
Machine: amd64
>Description:
	kernfs and procfs, when security.curtain is enabled, show any file name on it
	multiple times, and in effect, none file on these filesystems can be read.
	(Also it might be worth mentioning that I have multiuser securelevel enabled
	on this system.)
>How-To-Repeat:
	Have any of /kern or /proc mounted, sysctl -w security.curtain=1, and try
	to make use of these filesystems.
>Fix:
	I'm waiting for one.  Thank you in advance.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.