libvirt/src/security
Michal Privoznik 320459b8c6 security_dac: Set DAC label on SGX /dev nodes
As advertised in previous commits, QEMU needs to access
/dev/sgx_vepc and /dev/sgx_provision files when SGX memory
backend is configured. And if it weren't for QEMU's namespaces,
we wouldn't dare to relabel them, because they are system wide
files. But if namespaces are used, then we can set label on
domain's private copies, just like we do for /dev/sev.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2022-11-11 14:06:45 +01:00
..
apparmor apparmor: Allow locking AAVMF firmware 2022-05-23 14:01:21 +02:00
meson.build meson: Always use the / operator to join paths 2021-08-11 09:16:36 +02:00
security_apparmor.c conf: Introduce SGX EPC element into device memory xml 2022-11-11 14:06:34 +01:00
security_apparmor.h
security_dac.c security_dac: Set DAC label on SGX /dev nodes 2022-11-11 14:06:45 +01:00
security_dac.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
security_driver.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
security_driver.h qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
security_manager.c security_manager: Use automatic mutex management 2022-04-14 19:03:43 +02:00
security_manager.h security: Remove unused includes 2022-06-07 16:07:00 +02:00
security_nop.c security: Remove unused includes 2022-06-07 16:07:00 +02:00
security_nop.h
security_selinux.c conf: Introduce SGX EPC element into device memory xml 2022-11-11 14:06:34 +01:00
security_selinux.h
security_stack.c security: Remove unused includes 2022-06-07 16:07:00 +02:00
security_stack.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
security_util.c security: Remove unused includes 2022-06-07 16:07:00 +02:00
security_util.h qemusecuritytest: Skip on non supported platforms 2020-11-06 09:14:53 +01:00
virt-aa-helper.c security: aa-helper: Use virXMLParse instead of virXMLParseString 2022-10-06 10:54:25 +02:00