]> xenbits.xensource.com Git - libvirt.git/commit
virSecurityDACRestoreChardevLabel: Restore UNIX sockets too
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 15 Apr 2019 15:16:39 +0000 (17:16 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 16 Apr 2019 08:47:51 +0000 (10:47 +0200)
commitabd70ac3ae35ef0425c197c619b0f319b4a7ce4d
tree0ecdc6187c2e5370ef0074e32188c28f021e40c4
parent3958e3d6a5d666bdb859959ce064da787c0c1a9c
virSecurityDACRestoreChardevLabel: Restore UNIX sockets too

We're setting seclabels on unix sockets but never restoring them.
Surprisingly, we are doing so in SELinux driver.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/security/security_dac.c