[Unionfs] ERROR: "security_inode_permission"
[fs/unionfs/unionfs.ko] undefined!
Erez Zadok
ezk at cs.sunysb.edu
Tue Mar 10 12:16:23 EDT 2009
In message <20090310120402.0c5d1b75 at jacob-gdesktop>, Jacob writes:
> I am using linux-2.6.27-gentoo-r8, with the "unionfs-2.5.1_for_2.6.27.10" p=
> atch applied, and I get the following error right at the end:
>
> Kernel: arch/x86/boot/bzImage is ready (#1)
> Building modules, stage 2.
> MODPOST 69 modules
> ERROR: "security_inode_permission" [fs/unionfs/unionfs.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> I have done some research, and the following patch was created:
> --- a/security/security.c 2009-03-10 11:49:11.000000000 -0400
> +++ b/security/security.c 2009-03-10 11:49:47.000000000 -0400
> @@ -439,6 +439,7 @@
> return 0;
> return security_ops->inode_permission(inode, mask);
> }
> +EXPORT_SYMBOL(security_inode_permission);
> =20
> int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
> {
> @@ -554,6 +555,7 @@
> {
> return security_ops->file_ioctl(file, cmd, arg);
> }
Jacob, the above patch was indeed needed, but only as of 2.6.28. It wasn't
needed in 2.6.27-vanilla. Perhaps Gentoo has back-ported some code from
2.6.28 into their 2.6.27 kernel? Can you try the unionfs patch on top of a
vanilla 2.6.27?
Alternatively, if you can get me a tarball w/ the gentoo-r8 kernel sources,
plus your kernel .config, I'll build it here and get you a clean working
unionfs patch against gentoo.
Cheers,
Erez.
More information about the unionfs
mailing list