libvirt/src/security
Michal Privoznik c012e0f7fa virSecurityManagerMetadataLock: Skip over duplicate paths
If there are two paths on the list that are the same we need to
lock it only once. Because when we try to lock it the second time
then open() fails. And if it didn't, locking it the second time
would fail for sure. After all, it is sufficient to lock all
paths just once satisfy the caller.

Reported-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2019-07-18 15:13:13 +02:00
..
apparmor security: aa-helper: allow virt-aa-helper to read .vhd images 2019-07-15 13:43:51 +02:00
Makefile.inc.am src: don't statically link code that's already in libvirt.so 2019-05-17 14:34:45 +01:00
security_apparmor.c apparmor: Check libvirtd profile status by name 2019-03-13 11:58:11 -06:00
security_apparmor.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_dac.c security_dac: Implement virSecurityManagerMoveImageMetadata 2019-07-03 08:36:04 +02:00
security_dac.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_driver.c
security_driver.h security: Introduce virSecurityManagerMoveImageMetadata 2019-07-03 08:36:04 +02:00
security_manager.c virSecurityManagerMetadataLock: Skip over duplicate paths 2019-07-18 15:13:13 +02:00
security_manager.h security: Introduce virSecurityManagerMoveImageMetadata 2019-07-03 08:36:04 +02:00
security_nop.c security: Introduce virSecurityManagerMoveImageMetadata 2019-07-03 08:36:04 +02:00
security_nop.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_selinux.c security_selinux: Implement virSecurityManagerMoveImageMetadata 2019-07-03 08:36:04 +02:00
security_selinux.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_stack.c security: Introduce virSecurityManagerMoveImageMetadata 2019-07-03 08:36:04 +02:00
security_stack.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_util.c security_util: Introduce virSecurityMoveRememberedLabel 2019-07-03 08:36:04 +02:00
security_util.h security_util: Introduce virSecurityMoveRememberedLabel 2019-07-03 08:36:04 +02:00
virt-aa-helper.c virt-aa-helper: allow sysfs path used for vhost-scsi 2019-05-16 09:31:58 +02:00