libvirt/src/security
Arnaud Patard 800aed4644
virt-aa-helper: Add support for smartcard host-certificates
When emulating smartcard with host certificates, qemu needs to
be able to read the certificates files. Add necessary code to
add the smartcard certificates file path to the apparmor profile.

Passthrough support has been tested with spicevmc and remote-viewer.

v2:
- Fix CodingStyle
- Add support for 'host' case.
- Add a comment to mention that the passthrough case doesn't need
  some configuration
- Use one rule with '{,*}' instead of two rules.

Signed-off-by: Arnaud Patard <apatard@hupstream.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2020-02-12 10:35:04 +01:00
..
apparmor apparmor: Reflect paths from configure in profiles 2020-02-04 09:08:51 +01:00
Makefile.inc.am gnulib: delete all gnulib integration 2020-02-07 15:03:54 +00:00
security_apparmor.c Add a space before ending a comment 2020-01-30 12:32:03 +01:00
security_apparmor.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_dac.c src: conditionalize use of chown & stat constants 2020-01-29 14:51:40 +00: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 src: conditionalize use of S_ISSOCK macro 2020-01-29 14:51:40 +00: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 src: remove usage of strchrnul function 2020-01-29 14:51:39 +00: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 support for smartcard host-certificates 2020-02-12 10:35:04 +01:00