[Btrfs-devel] [PATCH 1/4] btrfs: Add workaround for AppArmor changing remove_suid() prototype

Christoph Hellwig hch at lst.de
Wed Feb 6 20:47:28 PST 2008


On Wed, Feb 06, 2008 at 05:14:44PM -0500, Jeff Mahoney wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>  In openSUSE 10.3, AppArmor modifies remove_suid to take a struct path
>  rather than just a dentry. This patch tests that the kernel is openSUSE
>  10.3 or newer and adjusts the call accordingly.
> 
>  Debian/Ubuntu with AppArmor applied will also need a similar patch.
>  Maintainers of btrfs under those distributions should build on this
>  patch or, alternatively, alter their package descriptions to add
>  -DREMOVE_SUID_PATH to the compiler command line.

Please don't put junk like this into the tree.  What about SuSE killing
that crap instead?




More information about the Btrfs-devel mailing list