1
0
mirror of https://passt.top/passt synced 2024-06-30 15:02:40 +00:00
passt/contrib
Stefano Brivio d361fe6e80 contrib/selinux: Let interface users set paths for log, PID, socket files
Even libvirt itself will configure passt to write log, PID and socket
files to different locations depending on whether the domain is
started as root (/var/log/libvirt/...) or as a regular user
(/var/log/<PID>/libvirt/...), and user_tmp_t would only cover the
latter.

Create interfaces for log and PID files, so that callers can specify
different file contexts for those, and modify the interface for the
UNIX socket file to allow different paths as well.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Tested-by: Laine Stump <laine@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
2023-03-09 00:36:08 +01:00
..
apparmor contrib/apparmor: Split profile into abstractions, use them 2023-02-27 18:56:32 +01:00
fedora conf, log, Makefile: Add versioning information 2022-10-15 02:10:28 +02:00
kata-containers Don't abbreviate ip(8) arguments in examples and tests 2022-06-15 09:38:10 +02:00
libvirt libvirt, qemu: Move patches to new directory, contrib 2022-01-28 18:51:50 +01:00
podman contrib/podman: Rebase to latest upstream 2022-09-24 00:00:32 +02:00
qemu libvirt, qemu: Move patches to new directory, contrib 2022-01-28 18:51:50 +01:00
selinux contrib/selinux: Let interface users set paths for log, PID, socket files 2023-03-09 00:36:08 +01:00