Xudong,

On May 5, 2009, at 12:59 PM, 倪旭东 wrote:
Thank you. I still have some questions:
1. After the installation, the app's related permissions files is saved in the same .apk file or saved in a system central file?

Take a look at /data/system/packages.xml

2. At runtime, I learned that there is a "reference monitor" from the paper Understanding Android Security to check the permission lable. Which is the source code for this "reference monitor", or it's a vitual concept. I wonder to know which parts of source code dealing with this function. Thanks.


We described it more as a "virtual concept". There isn't code directly corresponding to a reference monitor, but the Activity Manager (frameworks/base/services/java/com/android/server/am/ ActivityManagerService.java) is a good place to start looking.

-Will

--
William Enck
PhD Candidate
Department of Computer Science and Engineering
The Pennsylvania State University
[email protected]

Reply via email to