[Apparmor-general] module compilation problems - missing
mnt_namespace.h - apparmor 2.0.1 + debian etch + kernel 2.6.18
John Johansen
jjohansen at suse.de
Wed Apr 18 14:53:51 MDT 2007
On Wed, Apr 18, 2007 at 10:05:01PM +0200, Adrian Gruntkowski wrote:
> Hello,
>
> I'm trying to compile apparmor module on Debian Etch using Ubuntu Feisty packages
> by Magnus Runesson. I've downloaded set of patches for kernel from forge.novell.com,
> and applied 2.6.18.8 set to kernel source from debian's repo - no problems
> occured during patching.
>
> After successful compiling of kernel itself (with apparmor support enabled), I've tried
> to compile the external module. The result is pasted below:
>
* snip *
>
> I did some search, and I've found that this mnt_namespace.h is present in vanilla kernel since 2.6.20
> or so... Took a look on apparmor-external-module on novell.sourceforge.com - this one also requires
> mnt_namespace.h.
> Does it mean that I can't compile apparmor module on 2.6.18?
>
you need to apply a patch to the module to get it to compile against 2.6.18
the patch is available in svn
trunk/kernel-patches/2.6.18/postapply/module/undo_2.6.20_mnt_namespace.patch
or you can down load that latest snapshot and get it from there. I
wouldn't use the module supplied in the snapshot because a few important
patches have been made in svn since that snapshot was made.
thanks
john
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-general/attachments/20070418/857660fc/attachment.pgp
More information about the Apparmor-general
mailing list