It depends on what you are doing. This is pretty much all standard Linux stuff -- filesystem permissions, passing fds through sockets, etc. (Actually it is mostly really just generic Unix stuff.) You would probably be best looking specifically at Unix/Linux to find out the information you want, than asking here.
The binder is the main Android-specific thing, but for purposes of security it is really the same semantics as passing an fd through a socket. 2009/11/24 dane131 <[email protected]> > well in what way do the kernel mechanisms allow the processes to see > each other files(when the ids are the same),through shared > memory,sockets?is a process with the same id with another one,allowed > to write its address space? > > On 24 Νοέ, 05:10, Dianne Hackborn <[email protected]> wrote: > > They are allowed to do IPC between each other if the the things that > check > > uids allow it. Your question is a little too general to answer more > > specifically than that. > > > > On Mon, Nov 23, 2009 at 12:51 PM, dane131 <[email protected]> wrote: > > > well,i am quite confused with the user ids stuff and what they mean in > > > the process level.In Linux,every process uses its own virtual address > > > space and no process can write to the address space of another > > > process.So the communication between two processes is conducted via > > > IPC mechanims which are part of the Linux kernel.Are two processes > > > with different user ids allowed to ipc? > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Android Developers" group. > > > To post to this group, send email to > [email protected] > > > To unsubscribe from this group, send email to > > > [email protected]<android-developers%[email protected]><android-developers%2Bunsubs > [email protected]> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see > and > > answer them. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

