summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorHungming Chen <nuccachen@google.com>2022-01-14 17:42:43 +0800
committerHungming Chen <nuccachen@google.com>2022-01-14 18:33:40 +0800
commitf9d40ae77aa5884cb14bec350b8c44d35fe75fda (patch)
tree7071cf00e1717920c26c2535e1479e187ce0802a /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent21f0d58294154d21cd6e8710bc66981435a1a84b (diff)
Set the permission to file clatd and directory for-system
Set clatd privs to clat:clat:-r-sr-sr-x and set its parent directory privs to root:system:dr-xr-x---. Makes sure that only root and system group members can execute the binary. Test: flash and check the file permission $ adb shell ls -lZ /apex/com.android.tethering/bin dr-xr-x--- 2 root system u:object_r:system_file:s0 4096 1970-01-01 08:00 for-system $ adb shell ls -lZ /apex/com.android.tethering/bin/for-system -r-sr-sr-x 1 clat clat u:object_r:clatd_exec:s0 24352 1970-01-01 08:00 clatd Bug: 212345928 Test: test clat 1. Connect to ipv6-only wifi. 2. Make IPv4 traffic. $ ping 8.8.8.8 Change-Id: I9537d47b135e6e0324fb40ece2b9f7befb159244
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions