[PATCH] security: Don't stop restoring labels too early

2025-03-11 Thread Michal Privoznik
The point of virSecurityManagerRestoreAllLabel() function is to restore ALL labels and be tolerant to possible errors, i.e. continue restoring seclabels and NOT return early. Well, in two implementations of this internal API this type of problem was found: 1) virSecurityDACRestoreAllLabel() retur

Re: [PATCH] security: Don't stop restoring labels too early

2025-03-11 Thread Peter Krempa
On Tue, Mar 11, 2025 at 13:56:44 +0100, Michal Privoznik wrote: > The point of virSecurityManagerRestoreAllLabel() function is to > restore ALL labels and be tolerant to possible errors, i.e. > continue restoring seclabels and NOT return early. > > Well, in two implementations of this internal API