time_in_state: set group & modes for maps & progs

Set all maps & programs to the system group and grant read and/or
write access as appropriate so that system_server can use them.

Test: boot, ls -l /sys/fs/bpf shows correct results
Test: system_server successfully starts tracking & reads data
Bug: 138317993
Change-Id: I0670db069d332cd31c5d8819e2a502b82eab9559
Signed-off-by: Connor O'Brien <connoro@google.com>
1 file changed
tree: e0dbd5d7e40c1385d7d282e95912ac2f6eea7403
  1. test/
  2. Android.bp
  3. time_in_state.c