Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3439cc61 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

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
parent b6428c07
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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