mirror of https://gitee.com/openkylin/libvirt.git
Revert "security: Add DAC to security_drivers"
This reverts commit 9f9b7b85c9
.
The DAC security driver needs special handling and extra parameters and
can't just be added to regular security drivers.
This commit is contained in:
parent
0c7cca36e7
commit
ba150e5504
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue