I'd like to know how the backend/permissions work for Android(I'm using v4.1.2 on a s3 mini).
On android, I'm capable of running GUI applications which have different UID/GID-s on the system as seen in ps/top output.
On a linux desktop, all applications you run as your user, unless you use sudo/su to run software as someone else.
So how does android run GUI apps without throwing up permission denied errors and asking for password from the start?
I've looked around on search results and haven't found anyone discussing this.