getBpfSupportLevel - check ro.product.kernel_has_ebpf first

This allows a launched on Android O device but now running
a 4.9-P+ kernel to declare itself as ebpf capable.

This will eliminate a whole class of waivers.

Test: atest
Bug: 151753987
Signed-off-by: Maciej ┼╗enczykowski <maze@google.com>
Change-Id: I4c860991abc252919283d6c17a5ff70915d14dd7
1 file changed
tree: 2fc5696ec10d064b854eaa84a6b604d8a4a18a80
  1. Android.bp
  2. MODULE_LICENSE_APACHE2
  3. NOTICE
  4. OWNERS
  5. PREUPLOAD.cfg
  6. bpfloader/
  7. libbpf_android/
  8. progs/