Home
last modified time | relevance | path

Searched refs:AID_ROOT (Results 1 – 20 of 20) sorted by relevance

/system/core/libcutils/
Dfs_config.c81 { 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 …]
Dsockets.c40 if ((cr.uid != AID_ROOT) && (cr.uid != AID_SHELL)) { in socket_peer_is_trusted()
/system/vold/
DEmulatedVolume.cpp71 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()
DPublicVolume.cpp126 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()
DBenchmark.cpp142 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()
DPrivateVolume.cpp102 if (PrepareDir(mPath, 0700, AID_ROOT, AID_ROOT)) { in doMount()
163 PrepareDir(mPath + "/local", 0751, AID_ROOT, AID_ROOT) || in doMount()
DVolumeManager.cpp419 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/
DLogBuffer.h65 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);
DLogCommand.cpp62 if (uid == AID_ROOT) { in clientHasLogCredentials()
67 if ((gid == AID_ROOT) || (gid == AID_SYSTEM) || (gid == AID_LOG)) { in clientHasLogCredentials()
DLogStatistics.cpp282 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()
DCommandListener.cpp84 uid = AID_ROOT; in runCommand()
217 uid = AID_ROOT; in runCommand()
DLogBuffer.cpp395 if (caller_uid != AID_ROOT) { in prune()
/system/core/include/private/
Dandroid_filesystem_config.h39 #define AID_ROOT 0 /* traditional unix root user */ macro
130 { "root", AID_ROOT, },
/system/core/run-as/
Drun-as.c124 if (myuid != AID_SHELL && myuid != AID_ROOT) { in main()
/system/extras/su/
Dsu.c85 if (current_uid != AID_ROOT && current_uid != AID_SHELL) error(1, 0, "not allowed"); in main()
/system/core/liblog/
Dlogd_write.c160 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()
Dlog_read.c367 return (uid == AID_SYSTEM) || (uid == AID_LOG) || (uid == AID_ROOT); in uid_has_log_permission()
/system/core/init/
Ddevices.cpp258 setegid(AID_ROOT); in make_device()
/system/security/keystore/
Dkeystore.cpp296 {AID_ROOT, AID_SYSTEM},
328 {AID_ROOT, static_cast<perm_t>(P_GET) },
/system/core/sdcard/
Dsdcard.c1820 global.root.uid = AID_ROOT; in run()