-
Notifications
You must be signed in to change notification settings - Fork 527
Restrict reading /proc data #227
Comments
./libcore/luni/src/main/java/libcore/io/IoBridge.java |
Will be fixed in the next release |
/proc are necessary component read by android from the kernel so restricting access to it may cause bootloops. |
Maybe if the category ID for Android itself was restricted, but my best guess is that there is also an open method without parameters, but I have to look into this. Else calling isRestricted may have side effects in some environments. |
I installed it this night and got a bootloop, so I had to downgrade back to 1.5... |
@unclefab version 1.6.1 should solve the problem. |
Sure!! But I'm back to V 1.5 (see my comment in the bootloop issue). |
Will be fixed and work in the next release. |
Under /proc there's a lot of information that can be read without root access and is likely to include privacy-related info.
Some examples:
All this can be read from any app using the standard java IO apis.
Note that the structure of /proc can vary a lot between devices, so a restriction on file access to /proc/* might be needed (shell commands can be restricted through the existing option).
The text was updated successfully, but these errors were encountered: