aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2012-08-29 14:29:43 +0200
committerPeter Krempa <pkrempa@redhat.com>2012-08-29 16:18:41 +0200
commitba150e5504d81b24c81556d9be2ab4d3a4904a56 (patch)
treea78e6309fc9db7734d55dbf52e6d21b83dee1bf4 /src/security
parentqemu: Fix starting domains with no cpu cgroup (diff)
downloadlibvirt-ba150e5504d81b24c81556d9be2ab4d3a4904a56.tar.gz
libvirt-ba150e5504d81b24c81556d9be2ab4d3a4904a56.tar.bz2
libvirt-ba150e5504d81b24c81556d9be2ab4d3a4904a56.zip
Revert "security: Add DAC to security_drivers"
This reverts commit 9f9b7b85c9b422e8f4e813f3920bf8f433246a4a. The DAC security driver needs special handling and extra parameters and can't just be added to regular security drivers.
Diffstat (limited to 'src/security')
-rw-r--r--src/security/security_driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/security/security_driver.c b/src/security/security_driver.c
index e6da2208b..f450a9437 100644
--- a/src/security/security_driver.c
+++ b/src/security/security_driver.c
@@ -35,7 +35,6 @@
# include "security_apparmor.h"
#endif
-#include "security_dac.h"
#include "security_nop.h"
#define VIR_FROM_THIS VIR_FROM_SECURITY
@@ -47,7 +46,6 @@ static virSecurityDriverPtr security_drivers[] = {
#ifdef WITH_SECDRIVER_APPARMOR
&virAppArmorSecurityDriver,
#endif
- &virSecurityDriverDAC,
&virSecurityDriverNop, /* Must always be last, since it will always probe */
};