commit | 1aca8ee36a66eebeb471c2ad3cbc949918260b39 | [log] [tgz] |
---|---|---|
author | Sarup Dalwani <sarup@google.com> | Tue Jan 21 19:24:31 2025 +0000 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Jan 22 17:14:10 2025 -0800 |
tree | 5573400f71099eb5dc5172e2dd5058b3ec2b8797 | |
parent | 77e337282ebb5b1eef8e25bfc536f3773f3caf9e [diff] |
bpf netd: block local network calls if permission is not allowed. Adding map local_net_blocked_uid_map, which will store uid for the applications that have opted in but do not have the required permission. The entry would be absent or the value would be false if the application is allowed to access local network. Test: Manually populating the values and checking EPERM error. Bug: 390168818 Change-Id: Idf6caff204295a3f0aa7f552ea4af50bfd2df78c