Subject: Re: mount(2) on kauth(9)
To: None <elad@NetBSD.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 12/29/2006 23:44:15
> YAMAMOTO Takashi wrote:
> >> I don't see
> >> any case where this would matter, in practice.
> > 
> > i think a listener might want to know the original request,
> > if it does some kind of logging.
> > 
> > YAMAMOTO Takashi
> 
> yeah that's the obvious case, but I think that's something we'll just
> have to live with. :)

i disagree.
if we want to introduce the order of listeners, we should introduce
a way to control it as well.

> let's put it another way: bsd44 secmodel says "silently enforce nosuid
> and nodev, as if the original request had them". so logging "non-root
> user wanted to mount /foo on /bar with no flags" or "with nosuid, nodev
> flags", as far as bsd44 secmodel, is the same.

are you serious?

> other cases.. well, "when the time comes". :) (we're already past 4.0
> branch so we have time to change in the future if there's need.)

i don't understand what you mean here.

YAMAMOTO Takashi