提交 9f9b7b85 编写于 作者: M Michal Privoznik

security: Add DAC to security_drivers

Currently, if users set 'security_driver="dac"' in qemu.conf libvirtd
fails to initialize as DAC driver is not found because it is missing
in our security drivers array.
上级 239c5d71
......@@ -35,6 +35,7 @@
# include "security_apparmor.h"
#endif
#include "security_dac.h"
#include "security_nop.h"
#define VIR_FROM_THIS VIR_FROM_SECURITY
......@@ -46,6 +47,7 @@ static virSecurityDriverPtr security_drivers[] = {
#ifdef WITH_SECDRIVER_APPARMOR
&virAppArmorSecurityDriver,
#endif
&virSecurityDriverDAC,
&virSecurityDriverNop, /* Must always be last, since it will always probe */
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册