grant bpfloader CAP_CHOWN

so that it can change the uid/gid of pinned bpf progs and maps

Test: build, atest
Bug: 149434314
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Id23f9caaddf620d4e99d970523f0a9768826e0d7
This commit is contained in:
Maciej Żenczykowski 2020-02-13 13:08:30 -08:00
parent 672b0e7aae
commit 669f7388df

View file

@ -1,6 +1,6 @@
service bpfloader /system/bin/bpfloader
class main
capabilities SYS_ADMIN
capabilities CHOWN SYS_ADMIN
#
# Set RLIMIT_MEMLOCK to 1GiB for bpfloader
#