diff options
author | Maciej enczykowski <maze@google.com> | 2019-03-24 20:28:47 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-24 20:28:47 -0700 |
commit | 0e8bdcfce58f3ecc6a515c54a20863d04b925d2f (patch) | |
tree | 46e04db69c291ff2641384ae036feb09577df0a9 | |
parent | 9a9bdc5af9acbfbe333bb3c6d95d36501339fd79 (diff) | |
parent | ba594a073f7d3827bfd95b2f391274f9c30a0540 (diff) | |
download | tests-0e8bdcfce58f3ecc6a515c54a20863d04b925d2f.tar.gz |
net-test: allow bpf on 32-bit userspace with 64-bit kernel am: fab9a47146 am: 0508643812
am: ba594a073f
Change-Id: I2972f08b042ae8d2e768a47a208d3f7a6208eb7f
-rwxr-xr-x | net/test/bpf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/test/bpf.py b/net/test/bpf.py index 43502bd..5062e31 100755 --- a/net/test/bpf.py +++ b/net/test/bpf.py @@ -31,12 +31,14 @@ import platform # are not running with COMPAT_UTS_MACHINE and must be 64-bit at all times. # TODO: is there a better way of doing this? __NR_bpf = { + "aarch64-32bit": 386, "aarch64-64bit": 280, "armv7l-32bit": 386, "armv8l-32bit": 386, "armv8l-64bit": 280, "i686-32bit": 357, "i686-64bit": 321, + "x86_64-32bit": 357, "x86_64-64bit": 321, }[os.uname()[4] + "-" + platform.architecture()[0]] |