commit | 9d73b138cb69496454cb1c66cd0c4af08b425142 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <[email protected]> | Mon Feb 19 16:47:28 2018 +0900 |
committer | Lorenzo Colitti <[email protected]> | Mon Feb 26 16:34:06 2018 +0900 |
tree | 1b963e54644e9c2c556e16375ed71835556ba80e | |
parent | 3a38134704bd62482ea371a015aa71e6a3e073d2 [diff] |
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