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

remove rules #13

Open
dimalukas opened this issue Feb 17, 2018 · 0 comments
Open

remove rules #13

dimalukas opened this issue Feb 17, 2018 · 0 comments

Comments

@dimalukas
Copy link

Hi,
I have a problem recompiling an existing sepolicy file.. i can reverse an existing sepolicy to .conf using "sedump" tool, dumping it back to sepolicy file using "checkpolicy" tool.

I have all the required tools but my device is stuck in an endless loop at boot after recompiling so my solution was to inject rules to the current sepolicy file which works, but for my needs I need to remove certain rules.

Is there a way you can modify the code of the tool so it will have options to remove an entire "allow rule" or an entire "transition"?
Thanks.

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