blob: eb937ddfa585d3de053dd01afb07085af5cf2089 [file] [log] [blame]
Maciej Żenczykowski72628992024-06-14 13:46:11 -07001# 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 Żenczykowski15f97312024-06-13 14:11:28 -070013service mdnsd_netbpfload /apex/com.android.tethering/bin/netbpfload
Maciej Żenczykowski732a1412024-03-14 00:17:18 -070014 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 Dubois6e8c1aa2024-03-25 22:40:04 +000017 file /dev/kmsg w
Maciej Żenczykowski732a1412024-03-14 00:17:18 -070018 rlimit memlock 1073741824 1073741824
19 oneshot
Maciej Żenczykowski2afffc22024-06-15 06:37:03 -070020 reboot_on_failure reboot,netbpfload-failed