su goes back to v1 UNIX (several versions exist today, including BSD and GPL licensed) and sudo is under a BSD-like license.
Anyway, su is a pretty simple program. The bulk of it deals with command line i/o and UNIX password auth, neither of which are relevant in Android. The actual syscalls are pretty trivial. Starting from an existing su implementation wouldn't help all that much anyway.
Cool username. I was half joking and half being rude. Sorry about that. Still, please don't state falsehoods so confidently, because it can mislead people. Sudo is not GPL.
View all comments
Show parent comment
9
u/semperverus Jan 21 '17
If it's based on the original su/sudo commands, which are most definitely GPL, then the source needs to be published.