Commit 9d73b138 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

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
parent 3a381347
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment