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

Add check for fcontext lines containing only spaces #282

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Feb 23, 2024

Currently file context definition lines containing only white spaces will result in an error:

libraries.mod.fc:   130: (E): Bad file context format (E-002)

Support parsing those lines and issue a new style check.

Suggested in SELinuxProject/refpolicy#763.

Currently file context definition lines containing only white spaces
will result in an error:

    libraries.mod.fc:   130: (E): Bad file context format (E-002)

Support parsing those lines and issue a new style check.
@dburgener dburgener merged commit 6ff3d00 into SELinuxProject:main Apr 19, 2024
2 of 3 checks passed
@dburgener
Copy link
Member

This looks great, thanks very much!

@cgzones cgzones deleted the fcontext_spaces branch April 26, 2024 17:17
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