lkml.org 
[lkml]   [2007]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/2] [RFC] Simple tamper-proof device filesystem.

--- Valdis.Kletnieks@vt.edu wrote:

> On Thu, 06 Dec 2007 15:29:07 GMT, Pavel Machek said:
> >
> > > Why not use SELinux?
> > >
> > > Because SELinux doesn't guarantee filename and its attribute.
> > > The purpose of this filesystem is to ensure filename and its attribute
> > > (e.g. /dev/null is guaranteed to be a character device file
> > > with major=1 and minor=3).
> >
> > Why not improve selinux to be able to assign label of new file based
> > on directory label and name?
>
> The problem isn't the label, it's the *other* attributes...
>
> What happens if /dev/null has the correct SELinux label, but the major/minor
> is 1,27 rather than 1,3?

Isn't this the kind of thing that Bastille is good for?


Casey Schaufler
casey@schaufler-ca.com


\
 
 \ /
  Last update: 2007-12-18 17:45    [W:0.153 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site