InProcessTethering runs as system_server (uid/gid AID_SYSTEM) instead of as the network_stack (uid/gid AID_NETWORK_STACK). Additionally only the network_stack has access to the default selinux context of /sys/fs/bpf/tethering, which is fs_bpf_tethering, so we need to use 'fs_bpf_net_shared' instead. Bug: 190523685 Bug: 236925089 Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Ibb6ae255dcd8a8e8049be112055f60c3b2cf7df0
Symbolic link
1 line
6 B
C
Symbolic link
1 line
6 B
C
test.c |