Skip to content

Commit

Permalink
selinux: Change write to append for appending to log
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Berger <[email protected]>
  • Loading branch information
stefanberger committed Oct 1, 2024
1 parent 2d4a4c5 commit fce9d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selinux/swtpm.te
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ allow swtpm_t virt_var_lib_t:dir { add_name remove_name write };
allow swtpm_t virt_var_lib_t:file { create rename setattr unlink write };
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 write }; # BZ2306817
allow swtpm_t svirt_image_t:file { open append }; # BZ2306817


domain_use_interactive_fds(swtpm_t)
Expand Down

0 comments on commit fce9d3e

Please sign in to comment.