change files in /dev/log/ to 666

With newer Android kernels, anyone can read from the files in
/dev/log. If you're in the logs group (have the READ_LOGS) permission,
you'll see all entries. If you're not in that group, you'll see
log messages associated with your UID.

Relax the permissions on the files in /dev/log/ to allow an application
to read it's own log messages.

Bug: 5748848
Change-Id: Ie740284e96a69567dc73d738117316f938491777
This commit is contained in:
Nick Kralevich 2012-03-29 08:58:47 -07:00
parent b6428c07f2
commit 3439cc6145
1 changed files with 3 additions and 2 deletions

View File

@ -8,8 +8,9 @@
/dev/ashmem 0666 root root
/dev/binder 0666 root root
# logger should be world writable (for logging) but not readable
/dev/log/* 0662 root log
# Anyone can read the logs, but if they're not in the "logs"
# group, then they'll only see log entries for their UID.
/dev/log/* 0666 root log
# the msm hw3d client device node is world writable/readable.
/dev/msm_hw3dc 0666 root root