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

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Mar 11, 2024

The type install_t is fedora specific and not declared in the Reference Policy.
Avoid linker failures by using anaconda_fd_use() if available.

Fixes: f9f4a60 ("policy: fix testsuite_domain_type_minimal() to work with rpm-ostree")

Copy link
Member

@WOnder93 WOnder93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the whitespace issue I agree with the change.

policy/test_policy.if Outdated Show resolved Hide resolved
The type install_t is fedora specific and not declared in the Reference
Policy.
Avoid linker failures by using anaconda_fd_use() if available.

Fixes: f9f4a60 ("policy: fix testsuite_domain_type_minimal() to work with rpm-ostree")
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Copy link
Member

@WOnder93 WOnder93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, merging.

@WOnder93 WOnder93 merged commit 72ed9de into SELinuxProject:main Mar 19, 2024
5 of 7 checks passed
@cgzones cgzones deleted the refpolicy branch March 20, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants