JFS filesystem support for SELinux ..... kernel patch included
Subsystems (3)
The JFS filesystem has been missing SELinux exposure do to it's lack of "Security Labels" support. Attached is a kernel patch by Dave Kleikamp ("Shaggy") that adds this support to JFS. This patch should be included in rc3-mm1 kernel, but for those who would like to try it out now, you could help us out by trying it out and see if you run into any issues. We have a machine running it successfully with strict policy on Fedora 3.
Quick howto
-----------
1) Apply kernel patch and recompile kernel
2) In your policy source edit "fs_use" and add the line:
fs_use_xattr jfs system_u:object_r:fs_t;
3) recompile policy with changes , and move binary policy to proper directory
4) reboot
Signature · 2 lines
Jerone Young <[email protected]> Linux Technology Center Security Team
fs/Kconfig +12 -0
@@ -266,6 +266,18 @@ config JFS_POSIX_ACL If you don't know what Access Control Lists are, say N +config JFS_SECURITY + bool "JFS Security Labels" + depends on JFS_FS + help + Security labels support alternative access control models + implemented by security modules like SELinux. This option + enables an extended attribute handler for file security + labels in the jfs filesystem. + + If you are not using a security module that requires using + extended attributes for file security labels, say N. + config JFS_DEBUG bool "JFS debugging" depends on JFS_FS
fs/jfs/xattr.c +55 -4
103 lines not on this page · raw message