[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100308191749.19e20430@lxorguk.ukuu.org.uk>
Date: Mon, 8 Mar 2010 19:17:49 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Al Viro <viro@...IV.linux.org.uk>, Ingo Molnar <mingo@...e.hu>,
James Morris <jmorris@...ei.org>, linux-kernel@...r.kernel.org,
Kyle McMartin <kyle@...artin.ca>,
Alexander Viro <viro@....linux.org.uk>
Subject: Re: Upstream first policy
> always worked. I don't even understand why you have that crazy "either or"
> mentality to begin with. Why?
>
> It's not "either pathname or inode". I'm saying _both_ make sense.
SELinux uses both. Things like "I put a file in my public_html directory"
are a good example.
Its object based in the sense that the origin of the data might matter
(eg 'no app which opens the credit card db creates a file httpd can send')
Its path based in the sense that public_html has a path based meaning by
convention understood by httpd. Copy a jpeg into your public_html and it
will be labelled up for http access under the Fedora shipped rule sets.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists