blob: 31747fb7b69e3c07f32642de4a5016da12dd59a0 [file] [log] [blame]
Joel Fernandes6e1341e2018-11-29 11:36:13 -08001service bpfloader /system/bin/bpfloader
2 class main
3 capabilities SYS_ADMIN
Joel Fernandes2d817692019-06-13 13:58:10 -04004 # Set RLIMIT_MEMLOCK to 64MB for bpfloader
5 # Actually only 8MB is needed, but since bpfloader runs as root, it shares
6 # the global rlimit. Once bpfloader is running as its own user in the
7 # future, it will have dedicated rlimit to itself and this can be 8MB.
8 rlimit memlock 67108864 67108864
Joel Fernandes6e1341e2018-11-29 11:36:13 -08009 oneshot