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
 };
 

Attachment: signature.asc
Description: Digital signature

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to