On Aug 16, 2:54 am, Sunny <nimitkala...@gmail.com> wrote: > Hi all, > > How does user-process will get privilege level-3 when it is created? So > that i can not access resources directly. > > Thanks, > Nimit
Your question was briefly answered here: http://android.stackexchange.com/questions/27672/how-do-android-user-processes-get-privilege-level-3-on-creation Your question is a basic question which is commonly taught to beginner Operating System classes. Ring one-two-three is a Intel concept: http://en.wikipedia.org/wiki/Ring_(computer_security) and how OS is normally partitioned is between Ring 0 and 3 - whether it is Windows or Linux. All userspace processes are running at ring 3 but they can still have different privilege level via userid (like being root vs non-root). Your problem now is u need certain permission/privileges for resource acccess? Inside Android, u will have to conform to Android permission architecture: How about this article as an introduction: http://www.cse.lehigh.edu/~ben210/Seminar/2011-10-10/slides.pdf -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel