No description
Find a file
Maciej Żenczykowski 483d5710e8 execute bpfloader via netbpfload
This effectively reverts us most of the way back to U,
after this change we have:

$ git diff aosp/android14-release:bpfloader/bpfloader.rc HEAD:bpfloader/bpfloader.rc
@@ -17,7 +17,8 @@
 on load_bpf_programs
     exec_start bpfloader

-service bpfloader /system/bin/bpfloader
+service bpfloader /system/bin/netbpfload
+    # netbpfload will do network bpf loading, then execute /system/bin/bpfloader
     capabilities CHOWN SYS_ADMIN NET_ADMIN
     # The following group memberships are a workaround for lack of DAC_OVERRIDE
     # and allow us to open (among other things) files that we created and are
@@ -67,10 +68,10 @@ service bpfloader /system/bin/bpfloader
     # 2. comment out 'reboot_on_failure reboot,bpfloader-failed' below
     # 3. rebuild/reflash/reboot
     # 4. as the device is booting up capture bpfloader logs via:
-    #    adb logcat -s 'bpfloader:*' 'LibBpfLoader:*'
+    #    adb logcat -s 'bpfloader:*' 'LibBpfLoader:*' 'NetBpfLoad:*' 'NetBpfLoader:*'
     #
     # something like:
-    #   $ adb reboot; sleep 1; adb wait-for-device; adb root; sleep 1; adb wait-for-device; adb logcat -s 'bpfloader:*' 'LibBpfLoader:*'
+    #   $ adb reboot; sleep 1; adb wait-for-device; adb root; sleep 1; adb wait-for-device; adb logcat -s 'bpfloader:*' 'LibBpfLoader:*' 'NetBpfLoad:*' 'NetBpfLoader:*'
     # will take care of capturing logs as early as possible
     #
     # 5. look through the logs from the kernel's bpf verifier that bpfloader dumps out,

Change-Id: If3bc3da2b66fdb135850d094df68a9dc420be832
2023-10-20 14:19:04 -07:00
bpfloader execute bpfloader via netbpfload 2023-10-20 14:19:04 -07:00
libbpf_android bpfloader: remove support for networking bpf programs 2023-10-10 02:31:15 +00:00
progs bpfRingbufProg: use named values not raw true/false values. 2023-10-06 14:42:52 -07:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp Disable tidy DeprecatedOrUnsafeBufferHandling check 2023-01-09 10:58:19 -08:00
NOTICE Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00
OWNERS Move OWNER reference master=>main. 2023-07-18 17:09:29 +00:00
OWNERS_bpf Remove connoro@ from bpf OWNERS file. 2023-01-24 09:16:55 +00:00
PREUPLOAD.cfg Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00
TEST_MAPPING Make system/bpf changes trigger connectivity CTS tests in presubmit 2022-07-20 11:23:08 +08:00