Tom Cherry | 20391b1 | 2015-08-14 13:02:51 -0700 | [diff] [blame] | 1 | service logd /system/bin/logd |
Tom Cherry | 20391b1 | 2015-08-14 13:02:51 -0700 | [diff] [blame] | 2 | socket logd stream 0666 logd logd |
| 3 | socket logdr seqpacket 0666 logd logd |
| 4 | socket logdw dgram 0222 logd logd |
Mark Salyzyn | e0b8ccd | 2016-10-27 08:21:35 -0700 | [diff] [blame] | 5 | file /proc/kmsg r |
| 6 | file /dev/kmsg w |
Mark Salyzyn | 77fdb22 | 2016-10-28 14:36:36 -0700 | [diff] [blame] | 7 | user logd |
Mark Salyzyn | 5b44340 | 2016-10-27 08:34:12 -0700 | [diff] [blame] | 8 | group logd system readproc |
Tom Cherry | 984bd83 | 2015-09-21 14:25:34 -0700 | [diff] [blame] | 9 | writepid /dev/cpuset/system-background/tasks |
Tom Cherry | 20391b1 | 2015-08-14 13:02:51 -0700 | [diff] [blame] | 10 | |
| 11 | service logd-reinit /system/bin/logd --reinit |
| 12 | oneshot |
| 13 | disabled |
Mark Salyzyn | 5b44340 | 2016-10-27 08:34:12 -0700 | [diff] [blame] | 14 | user logd |
| 15 | group logd |
Tom Cherry | 984bd83 | 2015-09-21 14:25:34 -0700 | [diff] [blame] | 16 | writepid /dev/cpuset/system-background/tasks |
Mark Salyzyn | 61e9ce6 | 2016-09-12 14:51:54 -0700 | [diff] [blame] | 17 | |
| 18 | on fs |
| 19 | write /dev/event-log-tags "# content owned by logd |
| 20 | " |
| 21 | chown logd logd /dev/event-log-tags |
| 22 | chmod 0644 /dev/event-log-tags |
| 23 | restorecon /dev/event-log-tags |