Here is a patch against -test10 that adds an option for the security.
namespace (controlled by a configure option), which is used by SELinux
to store it's security labels. I created this patch based off Tad
Glines' (tadglines@xxxxxxxxxxx) 2.4 patch
(http://www.glines.com/xfs.patch.bz2). Please critique this, and if its
ok, please consider for inclusion.
I was warned on #xfs that this may break IRIX compatability, so there is
a note in the Kconfig. However Tad says that the security. attributes
will show up in the user namespace on a standard XFS linux kernel, but I
didn't verify. He also mentioned that xfsdump and xfsrestore would need
to be patched to support this.
--
Chris PeBenito
<pebenito@xxxxxxxxxx>
Developer,
Hardened Gentoo Linux
Embedded Gentoo Linux
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243
Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243
xfs-security-namespace-2.6.0-test10.diff
Description: Text Data
signature.asc
Description: This is a digitally signed message part
|