Skip to content

Change su domain from 'su' to 'ksu'#4

Open
gavdoc38 wants to merge 1 commit intosidex15:OpenELA-4.14.y-Stockfrom
gavdoc38:patch-1
Open

Change su domain from 'su' to 'ksu'#4
gavdoc38 wants to merge 1 commit intosidex15:OpenELA-4.14.y-Stockfrom
gavdoc38:patch-1

Conversation

@gavdoc38
Copy link
Copy Markdown
Contributor

Tiniest of things and there will obviously be several larger official SUSFS things to adapt, but I spent ages trying to work out why the sdcard_monitor function was exiting as not su... Turns out KSU & SUSFS official (and your fork) have changed the su domain to 'ksu' and so that needs changed here to match and then it works fine without further changes; there probably are further changes/optimizations but this quickly restores it to working again!

I couldn't find many other instances of hardcoding a context like this in the other files, other than with AVC spoofing 'u:r:priv_app:s0:c512,c768' and so unless they suddenly feel the need to rename init, zygote or priv_app, I doubt it's likely to be a problem in future!

Feel free to close this without merging as I'm sure you don't need a one character commit, but just to make you aware 😊

Tiniest of things and there will obviously be several larger official SUSFS things to adapt, but I spent ages trying to work out why the sdcard_monitor function was exiting as not su... Turns out KSU & SUSFS official (and your fork) have changed the su domain to 'ksu' and so that needs changed here to match and then it works fine without further changes; there probably are further changes/optimizations but this quickly restores it to working again!

I couldn't find many other instances of hardcoding a context like this in the other files, other than with AVC spoofing 'u:r:priv_app:s0:c512,c768' and so unless they suddenly feel the need to rename init, zygote or priv_app, I doubt it's likely to be a problem in future!

Feel free to close this without merging as I'm sure you don't need a one character commit, but just to make you aware 😊
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.

1 participant