Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Allow recovery to access kmsg for log retrieval
Browse files Browse the repository at this point in the history
Bug: 18642766

Change-Id: I97d6ab0b76b69d99dcc1928232c8961437e1e68c
Signed-off-by: Patrick Tjin <[email protected]>
  • Loading branch information
pattjin committed Dec 9, 2014
1 parent 56c0899 commit bd050a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recovery.te
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ recovery_only(`
# TODO: create more specific label?
allow recovery sysfs:file w_file_perms;

access_kmsg(recovery)

# Access /dev/android_adb or /dev/usb-ffs/adb/ep0
allow recovery adb_device:chr_file rw_file_perms;
allow recovery functionfs:dir search;
Expand Down

0 comments on commit bd050a8

Please sign in to comment.