Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do different applications running in the same process share user id and app certificate
    text
    copied!<p>It is about different applications running in the same process. I have read that they share a user id and are signed with the same certificate. </p> <p>My questions are:</p> <ol> <li><p>User ID is defined <a href="http://www.linfo.org/uid.html" rel="nofollow">here</a> as : </p> <blockquote> <p>A user ID (UID) is a unique positive integer assigned by a Unix-like operating system to each user. Each user is identified to the system by its UID, and user names are generally used only as an interface for humans.</p> </blockquote></li> </ol> <p>Now since users are applications installed on the linux system, user id is the unique identifier of the application in the linux system.</p> <p><strong>So how can two applications share the same user id. Moreover, what if two applications developed by different developers ever ever share the same user id?</strong></p> <p><ol> <li>I have read <a href="http://developer.android.com/tools/publishing/app-signing.html" rel="nofollow">here</a> that: </p> <blockquote> <p>The Android system requires that all installed applications be digitally signed with a certificate whose private key is held by the application's developer. The Android system uses the certificate as a means of identifying the author of an application and establishing trust relationships between applications.</li> </ol> <strong>So how can different applications, say developed by different developers, be signed with the same certificate?</strong></p> </blockquote> <p><strong>3. Can somebody give me an example in which components of different applications are running in the same process?</strong></p> <p>Thank you in advance.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload