/system/core/libcutils/ |
D | fs_config.c | 78 { 00770, AID_SYSTEM, AID_CACHE, 0, "cache" }, 80 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app" }, 81 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app-private" }, 82 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/app-ephemeral" }, 84 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data/data" }, 87 { 01771, AID_SYSTEM, AID_MISC, 0, "data/misc" }, 94 { 00771, AID_SYSTEM, AID_SYSTEM, 0, "data" }, 95 { 00755, AID_ROOT, AID_SYSTEM, 0, "mnt" }, 126 { 00644, AID_SYSTEM, AID_SYSTEM, 0, "data/app/*" }, 128 { 00644, AID_SYSTEM, AID_SYSTEM, 0, "data/app-private/*" }, [all …]
|
/system/security/keystore/ |
D | permissions.cpp | 42 {AID_VPN, AID_SYSTEM}, {AID_WIFI, AID_SYSTEM}, {AID_ROOT, AID_SYSTEM}, 51 {AID_SYSTEM, static_cast<perm_t>((uint32_t)(~0))}, 154 if (get_app_id(uid) == AID_SYSTEM) { in has_permission() 155 uid = AID_SYSTEM; in has_permission()
|
/system/vold/ |
D | PrivateVolume.cpp | 159 if (PrepareDir(mPath + "/app", 0771, AID_SYSTEM, AID_SYSTEM) || in doMount() 160 PrepareDir(mPath + "/user", 0711, AID_SYSTEM, AID_SYSTEM) || in doMount() 161 PrepareDir(mPath + "/user_de", 0711, AID_SYSTEM, AID_SYSTEM) || in doMount()
|
D | Ext4Crypt.cpp | 698 if (!prepare_dir(system_legacy_path, 0700, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage() 700 if (!prepare_dir(misc_legacy_path, 0750, multiuser_get_uid(user_id, AID_SYSTEM), in e4crypt_prepare_user_storage() 703 if (!prepare_dir(profiles_de_path, 0771, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage() 704 if (!prepare_dir(foreign_de_path, 0773, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage() 706 if (!prepare_dir(system_de_path, 0770, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage() 707 if (!prepare_dir(misc_de_path, 01771, AID_SYSTEM, AID_MISC)) return false; in e4crypt_prepare_user_storage() 708 if (!prepare_dir(user_de_path, 0771, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage() 727 if (!prepare_dir(system_ce_path, 0770, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage() 728 if (!prepare_dir(misc_ce_path, 01771, AID_SYSTEM, AID_MISC)) return false; in e4crypt_prepare_user_storage() 730 if (!prepare_dir(user_ce_path, 0771, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage()
|
D | Benchmark.cpp | 138 if (android::vold::PrepareDir(benchPath, 01771, AID_SYSTEM, AID_MISC)) { in BenchmarkPrivate()
|
D | CryptCommandListener.cpp | 174 if ((cli->getUid() != 0) && (cli->getUid() != AID_SYSTEM)) { in runCommand()
|
D | VolumeManager.cpp | 943 if (fchown(dirfd, ownerUid, AID_SYSTEM) in createAsec() 1245 result |= fchown(fd, AID_SYSTEM, privateFile? gid : AID_SYSTEM); in fixupAsecPermissions()
|
/system/core/logd/ |
D | FlushCommand.cpp | 101 return (client->getUid() == AID_SYSTEM) || (client->getGid() == AID_SYSTEM); in clientHasSecurityCredentials()
|
D | LogCommand.cpp | 61 if ((uid == AID_ROOT) || (uid == AID_SYSTEM) || (uid == AID_LOG)) { in clientHasLogCredentials() 65 if ((gid == AID_ROOT) || (gid == AID_SYSTEM) || (gid == AID_LOG)) { in clientHasLogCredentials()
|
D | LogStatistics.cpp | 78 if (element->getUid() == AID_SYSTEM) { in add() 113 if (element->getUid() == AID_SYSTEM) { in subtract() 143 if (element->getUid() == AID_SYSTEM) { in drop() 287 if (uid != AID_SYSTEM) { in format()
|
D | README.property | 34 (1000, or AID_SYSTEM). 63 (system or AID_SYSTEM).
|
D | main.cpp | 248 (void)setgid(AID_SYSTEM); in reinit_thread_start() 249 (void)setuid(AID_SYSTEM); in reinit_thread_start()
|
D | LogBuffer.cpp | 325 if (element->getUid() == AID_SYSTEM) { in erase() 574 if ((worst == AID_SYSTEM) && mPrune.worstPidOfSystemEnabled()) { in prune()
|
/system/core/include/private/ |
D | android_filesystem_config.h | 43 #define AID_SYSTEM 1000 /* system server */ macro 150 { "system", AID_SYSTEM, },
|
/system/core/libprocessgroup/ |
D | processgroup.cpp | 347 ret = mkdirAndChown(path, 0750, AID_SYSTEM, AID_SYSTEM); in createProcessGroup() 355 ret = mkdirAndChown(path, 0750, AID_SYSTEM, AID_SYSTEM); in createProcessGroup()
|
/system/core/liblog/ |
D | logger_lock.c | 32 return AID_SYSTEM; in __android_log_uid()
|
D | logger_write.c | 58 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { in check_log_uid_permissions() 60 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { in check_log_uid_permissions() 62 if ((gid != AID_SYSTEM) && in check_log_uid_permissions() 66 if ((gid != AID_SYSTEM) && in check_log_uid_permissions()
|
D | logd_reader.c | 101 if (uid != AID_SYSTEM) { in logdAvailable() 413 return ((uid != AID_ROOT) && (uid != AID_LOG) && (uid != AID_SYSTEM)) ? 3 : 4; in logdVersion()
|
D | logger_read.c | 96 (__android_log_uid() != AID_SYSTEM)) { in init_transport_context()
|
D | pmsg_reader.c | 73 return (uid == AID_SYSTEM) || (uid == AID_LOG) || (uid == AID_ROOT); in uid_has_log_permission()
|
/system/core/run-as/ |
D | package.c | 117 if ((st.st_uid != AID_SYSTEM) || (st.st_gid != AID_PACKAGE_INFO)) { in map_file() 263 if (check_directory_ownership(subpath, AID_SYSTEM) < 0) in check_data_path()
|
/system/core/debuggerd/ |
D | tombstone.cpp | 663 fchown(fd, AID_SYSTEM, AID_SYSTEM); in open_tombstone() 683 fchown(fd, AID_SYSTEM, AID_SYSTEM); in open_tombstone()
|
/system/netd/server/ |
D | SoftapController.cpp | 177 if (!WriteStringToFile(fbuf, HOSTAPD_CONF_FILE, 0660, AID_SYSTEM, AID_WIFI)) { in setSoftap()
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 379 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG) in TEST() 380 && (gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { in TEST() 382 if ((euid != AID_SYSTEM) && (euid != AID_ROOT) && (euid != AID_LOG)) { in TEST() 384 if ((egid != AID_SYSTEM) && (egid != AID_ROOT) && (egid != AID_LOG)) { in TEST() 464 bool clientHasSecurityCredentials = (uid == AID_SYSTEM) || (gid == AID_SYSTEM); in TEST()
|
/system/core/crash_reporter/ |
D | user_collector.cc | 93 gid_t groups[] = { AID_ROOT, AID_SYSTEM, AID_DBUS, AID_READPROC }; in Initialize()
|