/system/core/libcutils/ |
D | fs_config.c | 81 { 00771, AID_ROOT, AID_ROOT, 0, "data/dalvik-cache" }, 91 { 00750, AID_ROOT, AID_SHELL, 0, "sbin" }, 92 { 00755, AID_ROOT, AID_SHELL, 0, "system/bin" }, 93 { 00755, AID_ROOT, AID_SHELL, 0, "system/vendor" }, 94 { 00755, AID_ROOT, AID_SHELL, 0, "system/xbin" }, 95 { 00755, AID_ROOT, AID_ROOT, 0, "system/etc/ppp" }, 96 { 00755, AID_ROOT, AID_SHELL, 0, "vendor" }, 97 { 00777, AID_ROOT, AID_ROOT, 0, "sdcard" }, 98 { 00755, AID_ROOT, AID_ROOT, 0, 0 }, 111 { 00440, AID_ROOT, AID_SHELL, 0, "system/etc/init.goldfish.rc" }, [all …]
|
D | sockets.c | 40 if ((cr.uid != AID_ROOT) && (cr.uid != AID_SHELL)) { in socket_peer_is_trusted()
|
/system/vold/ |
D | EmulatedVolume.cpp | 71 if (fs_prepare_dir(mFuseDefault.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount() 72 fs_prepare_dir(mFuseRead.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount() 73 fs_prepare_dir(mFuseWrite.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
|
D | PublicVolume.cpp | 126 if (fs_prepare_dir(mRawPath.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount() 127 fs_prepare_dir(mFuseDefault.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount() 128 fs_prepare_dir(mFuseRead.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount() 129 fs_prepare_dir(mFuseWrite.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
|
D | Benchmark.cpp | 142 if (android::vold::PrepareDir(benchPath, 0700, AID_ROOT, AID_ROOT)) { in BenchmarkPrivate() 146 if (android::vold::PrepareDir(benchPath, 0700, AID_ROOT, AID_ROOT)) { in BenchmarkPrivate()
|
D | PrivateVolume.cpp | 102 if (PrepareDir(mPath, 0700, AID_ROOT, AID_ROOT)) { in doMount() 163 PrepareDir(mPath + "/local", 0751, AID_ROOT, AID_ROOT) || in doMount()
|
D | VolumeManager.cpp | 419 fs_prepare_dir(source.c_str(), 0755, AID_ROOT, AID_ROOT); in linkPrimary() 452 fs_prepare_dir(path.c_str(), 0755, AID_ROOT, AID_ROOT); in onUserStarted()
|
/system/core/logd/ |
D | LogBuffer.h | 65 void clear(log_id_t id, uid_t uid = AID_ROOT); 89 void prune(log_id_t id, unsigned long pruneRows, uid_t uid = AID_ROOT);
|
D | LogCommand.cpp | 62 if (uid == AID_ROOT) { in clientHasLogCredentials() 67 if ((gid == AID_ROOT) || (gid == AID_SYSTEM) || (gid == AID_LOG)) { in clientHasLogCredentials()
|
D | LogStatistics.cpp | 282 if ((uid != AID_ROOT) && (u != uid)) { in format() 289 if (uid == AID_ROOT) { in format() 345 if ((uid != AID_ROOT) && (u != uid)) { in format() 352 if (uid == AID_ROOT) { in format() 404 if ((uid != AID_ROOT) && (u != uid)) { in format() 460 if ((uid != AID_ROOT) && (u != uid)) { in format()
|
D | CommandListener.cpp | 84 uid = AID_ROOT; in runCommand() 217 uid = AID_ROOT; in runCommand()
|
D | LogBuffer.cpp | 395 if (caller_uid != AID_ROOT) { in prune()
|
/system/core/include/private/ |
D | android_filesystem_config.h | 39 #define AID_ROOT 0 /* traditional unix root user */ macro 130 { "root", AID_ROOT, },
|
/system/core/run-as/ |
D | run-as.c | 124 if (myuid != AID_SHELL && myuid != AID_ROOT) { in main()
|
/system/extras/su/ |
D | su.c | 85 if (current_uid != AID_ROOT && current_uid != AID_SHELL) error(1, 0, "not allowed"); in main()
|
/system/core/liblog/ |
D | logd_write.c | 160 static uid_t last_uid = AID_ROOT; /* logd *always* starts up as AID_ROOT */ in __write_to_log_daemon() 168 if (last_uid == AID_ROOT) { /* have we called to get the UID yet? */ in __write_to_log_daemon()
|
D | log_read.c | 367 return (uid == AID_SYSTEM) || (uid == AID_LOG) || (uid == AID_ROOT); in uid_has_log_permission()
|
/system/core/init/ |
D | devices.cpp | 258 setegid(AID_ROOT); in make_device()
|
/system/security/keystore/ |
D | keystore.cpp | 296 {AID_ROOT, AID_SYSTEM}, 328 {AID_ROOT, static_cast<perm_t>(P_GET) },
|
/system/core/sdcard/ |
D | sdcard.c | 1820 global.root.uid = AID_ROOT; in run()
|