diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-11-07 12:28:27 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-11-07 12:28:27 +0100 |
commit | 74e6f48038e64bbdfa5fa265db330f95ce68c182 (patch) | |
tree | ce541306f7b570e831786aa02681d57e45c0893b /tcp.c | |
parent | 50bc25a23cfb2c9f3708cfdb3e2787ddf3d5ab34 (diff) | |
download | passt-74e6f48038e64bbdfa5fa265db330f95ce68c182.tar passt-74e6f48038e64bbdfa5fa265db330f95ce68c182.tar.gz passt-74e6f48038e64bbdfa5fa265db330f95ce68c182.tar.bz2 passt-74e6f48038e64bbdfa5fa265db330f95ce68c182.tar.lz passt-74e6f48038e64bbdfa5fa265db330f95ce68c182.tar.xz passt-74e6f48038e64bbdfa5fa265db330f95ce68c182.tar.zst passt-74e6f48038e64bbdfa5fa265db330f95ce68c182.zip |
selinux: Allow passt to talk over unconfined_t UNIX domain socket for --fd2023_11_07.74e6f48
If passt is started with --fd to talk over a pre-opened UNIX domain
socket, we don't really know what label might be associated to it,
but at least for an unconfined_t socket, this bit of policy wouldn't
belong to anywhere else: enable that here.
This is rather loose, of course, but on the other hand passt will
sandbox itself into an empty filesystem, so we're not really adding
much to the attack surface except for what --fd is supposed to do.
Reported-by: Matej Hrica <mhrica@redhat.com>
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2247221
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp.c')
0 files changed, 0 insertions, 0 deletions