[Btrfs-devel] Re: [PATCH 1/1] Fix incompatible pointer

Jeff Mahoney jeffm at suse.com
Fri Sep 14 02:36:07 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jan Engelhardt wrote:
> On Sep 14 2007 16:35, Yan Zheng wrote:
>>> 10:15 ichi:../include/linux > grep remove_suid *
>>> fs.h:extern int __remove_suid(struct path *, int);
>>> fs.h:extern int should_remove_suid(struct dentry *);
>>> fs.h:extern int remove_suid(struct path *);
>>> This may be due to the apparmor stuff.
>> Strange enough, I found the declaration of remove_suid is 'extern int
>> remove_suid(struct dentry *);' in both 2.6.22 and 2.6.23-rc5.
> 
> Yes, like I said this must be the apparmor patch Novell puts in :-/

I posted a patch for the btrfs packages on the opensuse build service
that tweaks this to work with AppArmor. I've attached it.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG6lYHLPWxlyuTD7IRAiG7AJ0Z1T5AUmjMislrX9cWZ2/QAKi74gCgqMrE
jjqm509dUc2My3QZjpiU1C8=
=f4Y/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: btrfs-apparmor.diff
Type: text/x-patch
Size: 373 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/btrfs-devel/attachments/20070914/c8c1f69f/btrfs-apparmor.bin


More information about the Btrfs-devel mailing list