diff options
author | Nick Kralevich <nnk@google.com> | 2012-03-29 08:58:47 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2012-03-29 09:32:33 -0700 |
commit | 3439cc6145d24d2495490dab3e48d91cf36bccc3 (patch) | |
tree | 5096ba757f433921852a581a9815e3cac0432654 /rootdir | |
parent | b6428c07f2bfb213f85883a17d8814b68d335a5d (diff) | |
download | system_core-3439cc6145d24d2495490dab3e48d91cf36bccc3.tar.gz system_core-3439cc6145d24d2495490dab3e48d91cf36bccc3.tar.bz2 system_core-3439cc6145d24d2495490dab3e48d91cf36bccc3.zip |
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
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/ueventd.rc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc index 438cf0a5..07624c4a 100644 --- a/rootdir/ueventd.rc +++ b/rootdir/ueventd.rc @@ -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 |