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

Drop default SIDs #182

Open
dburgener opened this issue Apr 19, 2023 · 0 comments
Open

Drop default SIDs #182

dburgener opened this issue Apr 19, 2023 · 0 comments

Comments

@dburgener
Copy link
Owner

Currently if a policy doesn't specify any initial_context() calls, there are default types (kernel_sid, security_sid and unlabled_sid) generated for the mandatory sids, and all the sid configuration is done. This could potentially be opt-in behavior, but doing it implicitly isn't the right answer, since the user won't even know about these types to work with them. The blocker on removing them now is that the tests rely on this behavior. So we'll need to augment the tests to add a file of initial_context() calls in all tests in order to avoid breaking nearly all the tests while removing the default initial_contexts()

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

No branches or pull requests

1 participant