Make BPF tests pass on device.
1. Add __NR_bpf constants for armv8l and aarch64. 2. Move the temporary cgroup BPF mount from /tmp (which does not exist on device) to a temporary directory. 3. Use proper ctypes functions to pass pointers. Bug: 36510518 Test: all_tests.sh passes on android-4.9 Test: 32-bit and 64-bit BPF tests pass on 4.9 device Change-Id: Id3cca05d8ea547aeaa5cfd1d2d88b22115fe432d
Loading
Please sign in to comment