Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport a few patches #977

Merged
merged 2 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/test-swtpm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ runs:
- name: Build and test
shell: bash
run: |
sudo apt-get -y update
sudo apt-get -y install automake autoconf libtool libssl-dev sed make gawk \
sed bash dh-exec python3-pip libfuse-dev libglib2.0-dev libjson-glib-dev \
libgmp-dev expect libtasn1-dev socat findutils gnutls-dev gnutls-bin softhsm2 \
Expand Down
3 changes: 2 additions & 1 deletion src/selinux/swtpm.te
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require {
type qemu_var_run_t;
type svirt_image_t;
type var_log_t;
type virt_log_t;
type virt_var_lib_t;
type virtqemud_t;
type virtqemud_tmp_t;
Expand Down Expand Up @@ -37,7 +38,7 @@ allow swtpm_t virt_var_lib_t:file { create rename setattr unlink write map };
allow swtpm_t virtqemud_t:unix_stream_socket { read write getattr };
allow swtpm_t virtqemud_tmp_t:file { open write };
allow swtpm_t svirt_image_t:file { open append }; # BZ2306817

allow swtpm_t virt_log_t:file open; # BZ2278123 Comment 39

domain_use_interactive_fds(swtpm_t)

Expand Down
Loading