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

policy: avoid usage of fedora specific install_t #89

Merged
merged 1 commit into from
Mar 19, 2024
Merged
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
6 changes: 4 additions & 2 deletions policy/test_policy.if
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ interface(`testsuite_domain_type',`
interface(`testsuite_domain_type_minimal',`
gen_require(`
type setrans_var_run_t;
type install_t;
')

testsuite_domain_type_common($1)
Expand All @@ -47,10 +46,13 @@ interface(`testsuite_domain_type_minimal',`
allow $1 proc_t:lnk_file { read };
allow $1 self:dir { search };
allow $1 self:file { open read write };
allow $1 install_t:fd use; # for rpm-ostree --apply-live magic
dontaudit $1 security_t:filesystem getattr;
dontaudit $1 self:file getattr;
dontaudit $1 setrans_var_run_t:dir search;

ifdef(`anaconda_fd_use',`
anaconda_fd_use($1) # for rpm-ostree --apply-live magic
')
')

interface(`testsuite_caller_association_setcontext',`
Expand Down
Loading