Home
last modified time | relevance | path

Searched refs:AID_SYSTEM (Results 1 – 25 of 29) sorted by relevance

12

/system/core/libcutils/
Dfs_config.c78 { 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/
Dpermissions.cpp42 {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/
DPrivateVolume.cpp159 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()
DExt4Crypt.cpp698 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()
DBenchmark.cpp138 if (android::vold::PrepareDir(benchPath, 01771, AID_SYSTEM, AID_MISC)) { in BenchmarkPrivate()
DCryptCommandListener.cpp174 if ((cli->getUid() != 0) && (cli->getUid() != AID_SYSTEM)) { in runCommand()
DVolumeManager.cpp943 if (fchown(dirfd, ownerUid, AID_SYSTEM) in createAsec()
1245 result |= fchown(fd, AID_SYSTEM, privateFile? gid : AID_SYSTEM); in fixupAsecPermissions()
/system/core/logd/
DFlushCommand.cpp101 return (client->getUid() == AID_SYSTEM) || (client->getGid() == AID_SYSTEM); in clientHasSecurityCredentials()
DLogCommand.cpp61 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()
DLogStatistics.cpp78 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()
DREADME.property34 (1000, or AID_SYSTEM).
63 (system or AID_SYSTEM).
Dmain.cpp248 (void)setgid(AID_SYSTEM); in reinit_thread_start()
249 (void)setuid(AID_SYSTEM); in reinit_thread_start()
DLogBuffer.cpp325 if (element->getUid() == AID_SYSTEM) { in erase()
574 if ((worst == AID_SYSTEM) && mPrune.worstPidOfSystemEnabled()) { in prune()
/system/core/include/private/
Dandroid_filesystem_config.h43 #define AID_SYSTEM 1000 /* system server */ macro
150 { "system", AID_SYSTEM, },
/system/core/libprocessgroup/
Dprocessgroup.cpp347 ret = mkdirAndChown(path, 0750, AID_SYSTEM, AID_SYSTEM); in createProcessGroup()
355 ret = mkdirAndChown(path, 0750, AID_SYSTEM, AID_SYSTEM); in createProcessGroup()
/system/core/liblog/
Dlogger_lock.c32 return AID_SYSTEM; in __android_log_uid()
Dlogger_write.c58 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()
Dlogd_reader.c101 if (uid != AID_SYSTEM) { in logdAvailable()
413 return ((uid != AID_ROOT) && (uid != AID_LOG) && (uid != AID_SYSTEM)) ? 3 : 4; in logdVersion()
Dlogger_read.c96 (__android_log_uid() != AID_SYSTEM)) { in init_transport_context()
Dpmsg_reader.c73 return (uid == AID_SYSTEM) || (uid == AID_LOG) || (uid == AID_ROOT); in uid_has_log_permission()
/system/core/run-as/
Dpackage.c117 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/
Dtombstone.cpp663 fchown(fd, AID_SYSTEM, AID_SYSTEM); in open_tombstone()
683 fchown(fd, AID_SYSTEM, AID_SYSTEM); in open_tombstone()
/system/netd/server/
DSoftapController.cpp177 if (!WriteStringToFile(fbuf, HOSTAPD_CONF_FILE, 0660, AID_SYSTEM, AID_WIFI)) { in setSoftap()
/system/core/liblog/tests/
Dliblog_test.cpp379 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/
Duser_collector.cc93 gid_t groups[] = { AID_ROOT, AID_SYSTEM, AID_DBUS, AID_READPROC }; in Initialize()

12