From owner-freebsd-current Mon Mar 4 2:10:28 2002 Delivered-To: freebsd-current@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id C1AD737B402 for ; Mon, 4 Mar 2002 02:10:21 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Mar 2002 10:10:20 +0000 (GMT) Date: Mon, 4 Mar 2002 10:10:20 +0000 From: David Malone To: Poul-Henning Kamp Cc: cjclark@alum.mit.edu, current@FreeBSD.ORG Subject: Re: devfs(5) Permissions Message-ID: <20020304101020.GA61840@walton.maths.tcd.ie> References: <200203032023.aa92755@salmon.maths.tcd.ie> <27342.1015187171@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <27342.1015187171@critter.freebsd.dk> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 03, 2002 at 09:26:11PM +0100, Poul-Henning Kamp wrote: > >I presume you'd push the rules in using sysclt or did you have > >something more filesystem like in mind? > > Nope, just a sysctl. I guess then you just need a sysctl which lets you read the rules for a given devfs mount point and another which lets you set the rules for a given defvs mount point. I don't know if we also need a global ruleset which is applied if the mount point speficic rules fail to match. The rules should be able to chmod and chown the nodes. Should it also be able to prevent the creation matching nodes also? You mentioned matching on the names drivers and nodes. Are there any other sorts of matching we are likely to need? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message