SELinux and ReiserFS

Pete Chown 1 at 234.cx
Tue Apr 6 13:38:53 UTC 2004


James Morris wrote:

> The patch must be acceptable upstream, in the mainline kernel.

As I understand it, Hans Reiser has indicated that he will only accept 
bugfixes for reiser3.  It is therefore very unlikely that anyone could 
come up with a patch which would be merged upstream.  Reiser4 will 
support file metadata from the beginning, but of course it's not 
available yet.

I realised, though, that I don't really need to build a custom kernel. 
All I need to make is one module ("sereiserfs") which I then load into 
the normal kernel.  I should be able to build that using the normal 
RedHat kernel source plus the SuSE patch.

Assuming it works as expected, I'll announce it here for the benefit of 
anyone else who wants to use reiserfs.  I'm unlikely to build it until 
FC2 is actually released though.

> It is labeled at the kernel level (like genfs mounts), SELinux controls
> work normally, and root cannot do anything special that could not be done
> with an xattr filesystem.

So is the idea that the whole filesystem gets the same label?  That 
sounds useful in some circumstances, but building a new reiserfs module 
is more *fun*. :-)

Pete



More information about the fedora-selinux-list mailing list