Merge "reverse bpfloader vs netbpfload order" into main am: 04229c8453

Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2794731

Change-Id: Ibec1c5e3dd12a82c457cca8fcef6103bb66662af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Maciej Żenczykowski 2023-10-21 02:41:05 +00:00 committed by Automerger Merge Worker
commit 36ec4b0dd9
2 changed files with 6 additions and 1 deletions

View file

@ -227,5 +227,10 @@ int main(int argc, char** argv) {
}
}
if (android::base::SetProperty("bpf.progs_loaded", "1") == false) {
ALOGE("Failed to set bpf.progs_loaded property");
return 1;
}
return 0;
}

View file

@ -15,8 +15,8 @@
# considered to have booted successfully.
#
on load_bpf_programs
exec_start bpfloader
exec_start netbpfload
exec_start bpfloader
service bpfloader /system/bin/bpfloader
capabilities CHOWN SYS_ADMIN