commit | 47dd073ca85df9fa7dc611f7b6fafcb0f7fccefa | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Tue Dec 11 12:23:24 2018 -0800 |
committer | Chenbo Feng <fengc@google.com> | Fri Feb 15 04:33:30 2019 +0000 |
tree | 2819bfe21613d72a1e7f89f3c71b5d77ff6f9d83 | |
parent | abdb0bde3a39717c5b8c2e1f8b2b5687880bf85e [diff] |
Get bpf level when check bpf support Instead of return boolean, bpf support check now returns a integer represent the current bpf level on device. This level is used to decide if the device support some advanced bpf feature such as map_in_map and bpf cgroup socket filter. Delete the binder call for bpf status check since no one is using it. Bug: 111441138 Test: libnetdbpf_test, netd_integration_test Change-Id: Ib70c07647ffe491d493b4582b4b4b0eba7caf3a9