platform_system_core/logcat
Mike Ma a7fb095207 Relax permissions on /data/misc/logd
Incidentd needs to access /data/misc/logd to get persisted logs for
debugging purposes. Relax permissions on /data/misc/logd to allow
group (log) to access the dir and read its files. Effectively change
to:
drwxr-x--- logd log /data/misc/logd
-rw-r----- logd log /data/misc/logd/logcat*

Since this dir stores the past output of logcat, anyone that can run
logcat can be granted access to this dir. Access to this dir is further
guarded by SELinux. So it is safe.

Bug: 147924172
Test: Build, flash, reboot. Verify that the files have the right
      permissions.

Change-Id: I4d2aa9d5883d1ef14411b2b3902f0ca7c641dd7e
2020-01-21 18:39:19 -08:00
..
tests liblog: don't return 0xFFFFFFFF as an invalid log id. 2019-03-25 16:41:39 -07:00
Android.bp logcat: fix logcatd / logpersist 2019-10-31 06:43:47 -07:00
event.logtags Logtags for com.android.server.policy 2019-03-26 12:36:53 -07:00
logcat.cpp Relax permissions on /data/misc/logd 2020-01-21 18:39:19 -08:00
logcatd Relax permissions on /data/misc/logd 2020-01-21 18:39:19 -08:00
logcatd.rc Relax permissions on /data/misc/logd 2020-01-21 18:39:19 -08:00
logpersist logcat: fix logpersist.stop and logpersist.clear 2019-10-31 06:43:47 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Add OWNERS. 2017-12-07 13:30:03 -08:00