bpfloader.rc 406 B

123456789
  1. service bpfloader /system/bin/bpfloader
  2. class main
  3. capabilities SYS_ADMIN
  4. # 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
  9. oneshot