Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
White list /proc/stat and black list /proc/cpuinfo
Browse files Browse the repository at this point in the history
/proc/cpuinfo contains the ID of the CPU
It is not possible to fake this individually

Refs #1320
  • Loading branch information
M66B committed Feb 19, 2014
1 parent 54e5cf8 commit 3343596
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Changelog
* Fixed touch sensitivity on demand restricting check box
* Fixed on demand getting set for functions, when category on demand not set
* Attempt to fix hooking of native functions ([issue](/../../issues/1366))
* White list */proc/cpuinfo* and */proc/meminfo* ([issue](/../../issues/1320))
* White list */proc/meminfo* and */proc/stat* ([issue](/../../issues/1320))
* Added option to fake [GSM CID/LAC](http://en.wikipedia.org/wiki/Cell_ID) ([issue](/../../issues/1289))
* Note: only [cell locations](http://developer.android.com/reference/android/telephony/CellLocation.html) can be faked, not [cell info](http://developer.android.com/reference/android/telephony/CellInfo.html)
* *Apply to entire category* and *Once for ... seconds* exclude each other ([issue](/../../issues/1381))
Expand Down
4 changes: 2 additions & 2 deletions src/biz/bokhorst/xprivacy/XIoBridge.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ public class XIoBridge extends XHook {

// @formatter:off
public static List<String> cProcWhiteList = Arrays.asList(new String[] {
"/proc/cpuinfo",
"/proc/meminfo",
"/proc/self/cmdline"
"/proc/self/cmdline",
"/proc/stat",
});
// @formatter:on

Expand Down

0 comments on commit 3343596

Please sign in to comment.