ea5460ab6e
Enforce new requirements on app with targetSdkVersion=32 including: - No RTM_GETNEIGH on netlink route sockets. - No RTM_GETNEIGHTBL on netlink route sockets. Bug: 171572148 Test: atest NetworkInterfaceTest Test: atest bionic-unit-tests-static Test: atest CtsSelinuxTargetSdkCurrentTestCases Test: atest CtsSelinuxTargetSdk30TestCases Test: atest CtsSelinuxTargetSdk29TestCases Test: atest CtsSelinuxTargetSdk28TestCases Test: atest CtsSelinuxTargetSdk27TestCases Test: atest CompatChangesSelinuxTest Test: atest NetlinkSocketTest Change-Id: I2167e6cd564854c2656ee06c2202cfff2b727af5
20 lines
591 B
Text
20 lines
591 B
Text
###
|
|
### Untrusted_29.
|
|
###
|
|
### This file defines the rules for untrusted apps running with
|
|
### targetSdkVersion = 29.
|
|
###
|
|
### See public/untrusted_app.te for more information about which apps are
|
|
### placed in this selinux domain.
|
|
###
|
|
|
|
typeattribute untrusted_app_29 coredomain;
|
|
|
|
app_domain(untrusted_app_29)
|
|
untrusted_app_domain(untrusted_app_29)
|
|
net_domain(untrusted_app_29)
|
|
bluetooth_domain(untrusted_app_29)
|
|
|
|
# allow sending RTM_GETNEIGH{TBL} messages.
|
|
allow untrusted_app_29 self:netlink_route_socket nlmsg_getneigh;
|
|
auditallow untrusted_app_29 self:netlink_route_socket nlmsg_getneigh;
|