diff --git a/Tethering/apex/canned_fs_config b/Tethering/apex/canned_fs_config index 1f5fcfaef5..edc5515233 100644 --- a/Tethering/apex/canned_fs_config +++ b/Tethering/apex/canned_fs_config @@ -1,3 +1,3 @@ -/bin/for-system 0 1000 0750 +/bin/for-system 1029 1000 0750 /bin/for-system/clatd 1029 1029 06755 /bin/netbpfload 0 0 0750 diff --git a/service/jni/com_android_server_connectivity_ClatCoordinator.cpp b/service/jni/com_android_server_connectivity_ClatCoordinator.cpp index c0082bbe3a..622fba8d0c 100644 --- a/service/jni/com_android_server_connectivity_ClatCoordinator.cpp +++ b/service/jni/com_android_server_connectivity_ClatCoordinator.cpp @@ -104,7 +104,7 @@ static void verifyClatPerms() { // First verify the clatd directory and binary, // since this is built into the apex file system image, // failures here are 99% likely to be build problems. - V(kClatdDir, S_IFDIR|0750, ROOT, SYSTEM, "system_file", DIR); + V(kClatdDir, S_IFDIR|0750, CLAT, SYSTEM, "system_file", DIR); V(kClatdBin, S_IFREG|S_ISUID|S_ISGID|0755, CLAT, CLAT, "clatd_exec", BIN); // Move on to verifying that the bpf programs and maps are as expected.