2015-08-14 22:02:51 +02:00
|
|
|
service logd /system/bin/logd
|
|
|
|
socket logd stream 0666 logd logd
|
|
|
|
socket logdr seqpacket 0666 logd logd
|
2017-05-06 00:32:10 +02:00
|
|
|
socket logdw dgram+passcred 0222 logd logd
|
2016-10-27 17:21:35 +02:00
|
|
|
file /proc/kmsg r
|
|
|
|
file /dev/kmsg w
|
2016-10-28 23:36:36 +02:00
|
|
|
user logd
|
2017-04-27 23:46:31 +02:00
|
|
|
group logd system package_info readproc
|
2019-06-06 22:41:20 +02:00
|
|
|
capabilities SYSLOG AUDIT_CONTROL
|
|
|
|
priority 10
|
2015-09-21 23:25:34 +02:00
|
|
|
writepid /dev/cpuset/system-background/tasks
|
2015-08-14 22:02:51 +02:00
|
|
|
|
|
|
|
service logd-reinit /system/bin/logd --reinit
|
|
|
|
oneshot
|
|
|
|
disabled
|
2016-10-27 17:34:12 +02:00
|
|
|
user logd
|
|
|
|
group logd
|
2015-09-21 23:25:34 +02:00
|
|
|
writepid /dev/cpuset/system-background/tasks
|
2016-09-12 23:51:54 +02:00
|
|
|
|
2019-04-09 19:59:39 +02:00
|
|
|
# Limit SELinux denial generation to 5/second
|
|
|
|
service logd-auditctl /system/bin/auditctl -r 5
|
|
|
|
oneshot
|
|
|
|
disabled
|
|
|
|
user logd
|
|
|
|
group logd
|
|
|
|
capabilities AUDIT_CONTROL
|
|
|
|
|
2016-09-12 23:51:54 +02:00
|
|
|
on fs
|
|
|
|
write /dev/event-log-tags "# content owned by logd
|
|
|
|
"
|
|
|
|
chown logd logd /dev/event-log-tags
|
|
|
|
chmod 0644 /dev/event-log-tags
|
2019-04-09 19:59:39 +02:00
|
|
|
|
|
|
|
on property:sys.boot_completed=1
|
|
|
|
start logd-auditctl
|