2d8176917f
The rlimit was recently set to 8MB for bpfloader in Change Id Ib97d1d304f4ea9a6215afed76e1c1e28f1415221 This could be causing intermittent failures to create maps, let us increase it to 64MB for bpfloader. Bug: 134558982 Change-Id: Iabb2e6c7d9ea3843ae28f2c465756e5aacdf1904 Signed-off-by: Joel Fernandes <joelaf@google.com>
9 lines
406 B
Text
9 lines
406 B
Text
service bpfloader /system/bin/bpfloader
|
|
class main
|
|
capabilities SYS_ADMIN
|
|
# Set RLIMIT_MEMLOCK to 64MB for bpfloader
|
|
# 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
|