On 09/10/2018 05:36 AM, Michal Privoznik wrote: > Firstly, the message that says we're setting uid:gid shouldn't be > called from virSecurityDACSetOwnershipInternal() because > virSecurityDACRestoreFileLabelInternal() is calling it too. > Secondly, there are places between us reporting label restore and > us actually doing it where we can quit. Don't say we're doing > something until we are actually about to do it. > > Signed-off-by: Michal Privoznik <[email protected]> > --- > src/security/security_dac.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > Of course both of this adjustments bring to the forefront the odditity of using virSecurityDACTransactionAppend when/if @path == NULL - I mean, what's the purpose then? *Especially* if there's more than one! Dang - so does this mean the previous patch needs adjustment? For this though, Reviewed-by: John Ferlan <[email protected]> John -- libvir-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/libvir-list
- [libvirt] [PATCH v4 16/23] security_manager: Introduce me... Michal Privoznik
- Re: [libvirt] [PATCH v4 16/23] security_manager: Int... Bjoern Walk
- Re: [libvirt] [PATCH v4 16/23] security_manager:... Michal Privoznik
- Re: [libvirt] [PATCH v4 16/23] security_manager: Int... John Ferlan
- Re: [libvirt] [PATCH v4 16/23] security_manager:... Michal Privoznik
- Re: [libvirt] [PATCH v4 16/23] security_manager: Int... John Ferlan
- [libvirt] [PATCH v4 15/23] security_manager: Load lock pl... Michal Privoznik
- [libvirt] [PATCH v4 07/23] lock_driver_lockd: Introduce V... Michal Privoznik
- [libvirt] [PATCH v4 18/23] security_dac: Fix info message... Michal Privoznik
- Re: [libvirt] [PATCH v4 18/23] security_dac: Fix inf... John Ferlan
- [libvirt] [PATCH v4 08/23] lock_driver: Introduce new VIR... Michal Privoznik
- Re: [libvirt] [PATCH v4 08/23] lock_driver: Introduc... John Ferlan
- Re: [libvirt] [PATCH v4 08/23] lock_driver: Intr... Michal Privoznik
- [libvirt] [PATCH v4 10/23] lock_driver: Introduce VIR_LOC... Michal Privoznik
- [libvirt] [PATCH v4 06/23] virlockspace: Allow caller to ... Michal Privoznik
- [libvirt] [PATCH v4 09/23] _virLockManagerLockDaemonPriva... Michal Privoznik
- [libvirt] [PATCH v4 22/23] security_selinux: Move transac... Michal Privoznik
- Re: [libvirt] [PATCH v4 22/23] security_selinux: Mov... John Ferlan
- Re: [libvirt] [PATCH v4 22/23] security_selinux:... Michal Privoznik
