libvirt/src/security
Michal Privoznik 087fac8fa7 selinux: Drop needless getfilecon()-s
When SELinux support was first introduced the libselinux library
wasn't that advanced and setfilecon_raw() or fsetfilecon_raw()
could fail even when the target context was set. Looking at the
current code [1][2] this is no longer the case. We can drop our
workarounds.

1: https://github.com/SELinuxProject/selinux/blob/master/libselinux/src/setfilecon.c#L10
2: https://github.com/SELinuxProject/selinux/blob/master/libselinux/src/fsetfilecon.c#L10

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-12-03 08:34:09 +01:00
..
apparmor virt-aa-helper: Drop unnecessary AppArmor rule 2019-08-22 10:58:41 +02:00
Makefile.inc.am build: link to glib library 2019-10-14 10:54:42 +01:00
security_apparmor.c apparmor: let AppArmorSetSecurityImageLabel append rules 2019-11-21 08:26:07 +01:00
security_apparmor.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_dac.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
security_dac.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_driver.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
security_driver.h security: Pass @migrated to virSecurityManagerSetAllLabel 2019-10-14 17:14:13 +02:00
security_manager.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
security_manager.h security: Introduce virSecurityManagerGetDriver() 2019-10-14 17:20:30 +02:00
security_nop.c Use g_strdup instead of ignoring VIR_STRDUP's value 2019-10-21 12:51:55 +02:00
security_nop.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_selinux.c selinux: Drop needless getfilecon()-s 2019-12-03 08:34:09 +01:00
security_selinux.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_stack.c security: use G_GNUC_UNUSED 2019-10-15 11:25:24 +02:00
security_stack.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_util.c security: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
security_util.h security_util: Introduce virSecurityMoveRememberedLabel 2019-07-03 08:36:04 +02:00
virt-aa-helper.c virt-aa-helper: add rules for shmem devices 2019-11-21 08:26:56 +01:00