mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
qemu: Fix dynamic_ownership qemu.conf setting
Commit307fb904
(Sep 10) added a 'privileged' variable when creating the DAC driver: @@ -153,6 +157,7 @@ virSecurityManagerNewDAC(const char *virtDriver, bool defaultConfined, bool requireConfined, bool dynamicOwnership, + bool privileged, virSecurityManagerDACChownCallback chownCallback) But argument order is mixed up at the caller, swapping dynamicOwnership and privileged values. This corrects the argument order https://bugzilla.redhat.com/show_bug.cgi?id=1266628 (cherry picked from commit68572de822
)
This commit is contained in:
parent
a267bb501b
commit
ee7a60854b
@ -430,8 +430,8 @@ qemuSecurityInit(virQEMUDriverPtr driver)
|
||||
cfg->allowDiskFormatProbing,
|
||||
cfg->securityDefaultConfined,
|
||||
cfg->securityRequireConfined,
|
||||
virQEMUDriverIsPrivileged(driver),
|
||||
cfg->dynamicOwnership,
|
||||
virQEMUDriverIsPrivileged(driver),
|
||||
qemuSecurityChownCallback)))
|
||||
goto error;
|
||||
if (!stack) {
|
||||
|
Loading…
Reference in New Issue
Block a user