
On Tue, Sep 08, 2009 at 04:20:43PM -0500, Jamie Strandboge wrote:
On Tue, 08 Sep 2009, Jamie Strandboge wrote:
[PATCH 2] patch_2_security_c.patch: Updates src/security.c for AppArmor
-- Jamie Strandboge | http://www.canonical.com
diff -Nurp ./libvirt.orig/src/security.c ./libvirt/src/security.c --- ./libvirt.orig/src/security.c 2009-08-17 11:00:40.000000000 -0500 +++ ./libvirt/src/security.c 2009-09-08 15:32:22.000000000 -0500 @@ -20,10 +20,17 @@ #include "security_selinux.h" #endif
+#ifdef WITH_SECDRIVER_APPARMOR +#include "security_apparmor.h" +#endif + static virSecurityDriverPtr security_drivers[] = { #ifdef WITH_SECDRIVER_SELINUX &virSELinuxSecurityDriver, #endif +#ifdef WITH_SECDRIVER_APPARMOR + &virAppArmorSecurityDriver, +#endif NULL };
ACK, but this part should really be part of the next patch, since you can't apply this & still compile without also applying the next patch Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|