Maciej Żenczykowski | 7262899 | 2024-06-14 13:46:11 -0700 | [diff] [blame] | 1 | # This file takes effect only on T and U (on V netbpfload.35rc takes priority). |
| 2 | # |
| 3 | # The service is started from netd's libnetd_updatable shared library |
| 4 | # on initial (boot time) startup of netd. |
| 5 | # |
| 6 | # However we never start this service on U QPR3. |
| 7 | # |
| 8 | # This is due to lack of a need: U QPR2 split the previously single |
| 9 | # platform bpfloader into platform netbpfload -> platform bpfloader. |
| 10 | # U QPR3 made the platform netbpfload unconditionally exec apex netbpfload, |
| 11 | # so by the time U QPR3's netd runs, apex netbpfload is already done. |
| 12 | |
Maciej Żenczykowski | 15f9731 | 2024-06-13 14:11:28 -0700 | [diff] [blame] | 13 | service mdnsd_netbpfload /apex/com.android.tethering/bin/netbpfload |
Maciej Żenczykowski | 732a141 | 2024-03-14 00:17:18 -0700 | [diff] [blame] | 14 | capabilities CHOWN SYS_ADMIN NET_ADMIN |
| 15 | group system root graphics network_stack net_admin net_bw_acct net_bw_stats net_raw |
| 16 | user system |
Theodore Dubois | 6e8c1aa | 2024-03-25 22:40:04 +0000 | [diff] [blame] | 17 | file /dev/kmsg w |
Maciej Żenczykowski | 732a141 | 2024-03-14 00:17:18 -0700 | [diff] [blame] | 18 | rlimit memlock 1073741824 1073741824 |
| 19 | oneshot |
Maciej Żenczykowski | 2afffc2 | 2024-06-15 06:37:03 -0700 | [diff] [blame] | 20 | reboot_on_failure reboot,netbpfload-failed |