BpfLoader: exec mainline netbpfload for finalization

Move setting 'bpf.progs_loaded' property to 1 into mainline.

This doesn't terribly matter, but it gives mainline bpf loading
code a chance to run after platform and perform any required
finalization.

While at it also use distinctive error return values,
as these are often the only thing that init reports about
a bpfloader failure.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: If502cf07c8ceed306c18821075a92f99437da4dd
2 files changed
tree: bd675d184fd2541957cf82c654376a90d14f05b9
  1. loader/
  2. progs/
  3. Android.bp
  4. NOTICE
  5. OWNERS
  6. OWNERS_bpf
  7. PREUPLOAD.cfg
  8. TEST_MAPPING