Snap for 5663715 from d9787c2aa4
to qt-c2f2-release
Change-Id: Id3e4aff784c300ab87a55271783a4bd4dfedaa97
This commit is contained in:
commit
56b8a95ea4
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
||||||
service bpfloader /system/bin/bpfloader
|
service bpfloader /system/bin/bpfloader
|
||||||
class main
|
class main
|
||||||
capabilities SYS_ADMIN
|
capabilities SYS_ADMIN
|
||||||
# Set RLIMIT_MEMLOCK to 8MB for bpfloader
|
# Set RLIMIT_MEMLOCK to 64MB for bpfloader
|
||||||
rlimit memlock 8388608 8388608
|
# Actually only 8MB is needed, but since bpfloader runs as root, it shares
|
||||||
|
# the global rlimit. Once bpfloader is running as its own user in the
|
||||||
|
# future, it will have dedicated rlimit to itself and this can be 8MB.
|
||||||
|
rlimit memlock 67108864 67108864
|
||||||
oneshot
|
oneshot
|
||||||
|
|
Loading…
Reference in a new issue