Generate Fixes for your SELinux Denials. Updated with love by me.
Cuz I'm also a lazy noob trying to fix his broken enforcing build.
Run into WSL/your preferred Linux terminal: python3 denials.py.
You can also run it as a normal executable: ./denials.py.
-1 denialoutputs only the fix for the inserted denial.-ccleans up your working directory from unnecessary files.-d fileenables the dmesg parsing mode. Acts like logcat mode.-hshows the help page.-l fileenables the logcat parsing mode.-ssanitizes log file encoding before processing it.-venables verbose mode. It'll output every denial into its respective file.
Please, do not address random things. (see untrusted_apps, system_server...)
If you need to do something like that, refer to the LineageOS guide.
- If
-sdoesn't work, rundos2unixover your file to fix its encoding.
@baalajimaestro for the initial base, StackOverflow cuz why not lol
Raphielscape Public License, version 1.c.