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
2 files changed
tree: 1b963e54644e9c2c556e16375ed71835556ba80e
  1. devicetree/
  2. net/
  3. Android.bp