koush / Superuser

Other
1.48k stars 1k forks source link

sepolicy-inject for SELinux policy customization #270

Open xmikos opened 9 years ago

xmikos commented 9 years ago

I have fixed and enhanced sepolicy-inject tool by Joshua Brindle and combined it with setools-android by Dmitry Podgorny (pasis) to make it buildable with Android NDK. Now we can use sepolicy-inject and don't be dependent on Chainfire's closed source supolicy tool (part of SuperSU). There are also sesearch and seinfo tools to make analyzing SELinux policies more comfortable.

Can you integrate sepolicy-inject into Superuser and subsequently make Superuser finally compatible with Android 5.0 Lollipop?

Here is the code: https://github.com/xmikos/setools-android/

jeekajoo commented 9 years ago

Hi @xmikos I assume @koush completely abandonned superuser

Is it something do-able on your side to fork superuser and integrate you fix in it?

I wish I could help but I have no knowledge in this area. But I guess many people like me would like to have free/opensource alternative to superSU on android 5. I'm still stuck to android 4.4.4 because of this.

Thanks J