Home
last modified time | relevance | path

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

12

/system/core/libcutils/
Dfs_config.cpp62 { 00555, AID_ROOT, AID_ROOT, 0, "config" },
66 { 00771, AID_ROOT, AID_ROOT, 0, "data/dalvik-cache" },
75 { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest" },
76 { 00750, AID_ROOT, AID_SHELL, 0, "data/nativetest64" },
77 { 00750, AID_ROOT, AID_SHELL, 0, "data/benchmarktest" },
78 { 00750, AID_ROOT, AID_SHELL, 0, "data/benchmarktest64" },
79 { 00775, AID_ROOT, AID_ROOT, 0, "data/preloads" },
81 { 00755, AID_ROOT, AID_SYSTEM, 0, "mnt" },
82 { 00751, AID_ROOT, AID_SHELL, 0, "product/bin" },
83 { 00777, AID_ROOT, AID_ROOT, 0, "sdcard" },
[all …]
Dmultiuser.cpp59 } else if (app_id >= AID_ROOT && app_id <= AID_APP_START) { in multiuser_get_shared_gid()
/system/core/init/
Dueventd_parser_test.cpp114 {"/dev/graphics/*", 0660, AID_ROOT, AID_GRAPHICS}, in TEST()
115 {"/dev/*/test", 0660, AID_ROOT, AID_SYSTEM}, in TEST()
119 {"/sys/devices/platform/trusty.*", "trusty_version", 0440, AID_ROOT, AID_LOG}, in TEST()
120 {"/sys/devices/virtual/input/input", "enable", 0660, AID_ROOT, AID_INPUT}, in TEST()
121 {"/sys/devices/virtual/*/input", "poll_delay", 0660, AID_ROOT, AID_INPUT}, in TEST()
153 AID_ROOT, in TEST()
180 AID_ROOT, in TEST()
263 {"/dev/graphics/*", 0660, AID_ROOT, AID_GRAPHICS}, in TEST()
264 {"/dev/*/test", 0660, AID_ROOT, AID_SYSTEM}, in TEST()
268 {"/sys/devices/platform/trusty.*", "trusty_version", 0440, AID_ROOT, AID_LOG}, in TEST()
[all …]
/system/vold/model/
DEmulatedVolume.cpp74 if (fs_prepare_dir(mFuseDefault.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
75 fs_prepare_dir(mFuseRead.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
76 fs_prepare_dir(mFuseWrite.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
77 fs_prepare_dir(mFuseFull.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
DPublicVolume.cpp133 if (fs_prepare_dir(mRawPath.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
160 if (fs_prepare_dir(mFuseDefault.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
161 fs_prepare_dir(mFuseRead.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
162 fs_prepare_dir(mFuseWrite.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
163 fs_prepare_dir(mFuseFull.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
DPrivateVolume.cpp105 if (PrepareDir(mPath, 0700, AID_ROOT, AID_ROOT)) { in doMount()
151 PrepareDir(mPath + "/local", 0751, AID_ROOT, AID_ROOT) || in doMount()
DObbVolume.cpp96 if (fs_prepare_dir(path.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
/system/netd/bpf_progs/
Doffload.c183 DEFINE_BPF_PROG_KVER("schedcls/ingress/tether_rawip$5_4", AID_ROOT, AID_ROOT,
190 DEFINE_OPTIONAL_BPF_PROG_KVER_RANGE("schedcls/ingress/tether_rawip$4_14", AID_ROOT, AID_ROOT,
200 DEFINE_BPF_PROG_KVER_RANGE("schedcls/ingress/tether_rawip$stub", AID_ROOT, AID_ROOT,
Dnetd.c293 DEFINE_BPF_PROG("skfilter/egress/xtbpf", AID_ROOT, AID_NET_ADMIN, xt_bpf_egress_prog)
306 DEFINE_BPF_PROG("skfilter/ingress/xtbpf", AID_ROOT, AID_NET_ADMIN, xt_bpf_ingress_prog)
318 DEFINE_BPF_PROG("skfilter/allowlist/xtbpf", AID_ROOT, AID_NET_ADMIN, xt_bpf_allowlist_prog)
335 DEFINE_BPF_PROG("skfilter/denylist/xtbpf", AID_ROOT, AID_NET_ADMIN, xt_bpf_denylist_prog)
345 DEFINE_BPF_PROG_KVER("cgroupsock/inet/create", AID_ROOT, AID_ROOT, inet_socket_create, in DEFINE_BPF_MAP()
/system/bpf/progs/include/
Dbpf_helpers.h91 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, AID_ROOT, 0600)
94 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0620)
97 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0640)
100 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0660)
/system/vold/
DBenchmark.cpp100 if (android::vold::PrepareDir(path, 0700, AID_ROOT, AID_ROOT)) { in benchmarkInternal()
104 if (android::vold::PrepareDir(path, 0700, AID_ROOT, AID_ROOT)) { in benchmarkInternal()
DFsCrypt.cpp331 if (!prepare_dir(directory_path, 0700, AID_ROOT, AID_ROOT)) return false; in create_and_install_user_keys()
466 if (!prepare_dir(user_key_dir, 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0()
467 if (!prepare_dir(user_key_dir + "/ce", 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0()
468 if (!prepare_dir(user_key_dir + "/de", 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0()
828 if (!prepare_dir(vendor_de_path, 0771, AID_ROOT, AID_ROOT)) return false; in fscrypt_prepare_user_storage()
857 if (!prepare_dir(vendor_ce_path, 0771, AID_ROOT, AID_ROOT)) return false; in fscrypt_prepare_user_storage()
DVoldNativeServiceValidation.cpp56 if (uid == expectedUid || uid == AID_ROOT) { in CheckUidOrRoot()
/system/security/keystore/
Dpermissions.cpp59 {AID_ROOT, AID_SYSTEM},
63 {AID_WIFI, AID_ROOT}
80 {AID_ROOT, static_cast<perm_t>((uint32_t)(~0))},
82 {AID_ROOT, static_cast<perm_t>(P_GET)},
/system/core/logd/
DLogTags.cpp57 if (!comment) return AID_ROOT; in sniffUid()
66 return AID_ROOT; in sniffUid()
69 if ((cp > endp) || (Uid >= INT_MAX)) return AID_ROOT; in sniffUid()
112 formatEntry_locked(it.first, AID_ROOT), fd); in RebuildFileEventLogTags()
166 if (uid == AID_ROOT) { in AddEventLogTags()
173 } else if (newOne && (uid != AID_ROOT)) { in AddEventLogTags()
248 uid_t uid = AID_ROOT; in ReadFileEventLogTags()
569 .uid = (uint16_t)AID_ROOT, in WritePmsgEventLogTags()
582 } else if (uid != AID_ROOT) { in WritePmsgEventLogTags()
683 bool updateUid = uid != AID_ROOT; in nameToTag()
[all …]
DLogPermissions.cpp57 if ((uid == AID_ROOT) || (uid == AID_SYSTEM) || (uid == AID_LOG)) { in clientHasLogCredentials()
61 if ((gid == AID_ROOT) || (gid == AID_SYSTEM) || (gid == AID_LOG)) { in clientHasLogCredentials()
DLogTags.h96 void WritePersistEventLogTags(uint32_t tag, uid_t uid = AID_ROOT,
109 void WritePmsgEventLogTags(uint32_t tag, uid_t uid = AID_ROOT);
DCommandListener.cpp71 uid = AID_ROOT; in runCommand()
187 uid = AID_ROOT; in runCommand()
253 uid = AID_ROOT; in runCommand()
/system/bpfprogs/
Dtime_in_state.c46 DEFINE_BPF_PROG("tracepoint/sched/sched_switch", AID_ROOT, AID_SYSTEM, tp_sched_switch)
138 DEFINE_BPF_PROG("tracepoint/power/cpu_frequency", AID_ROOT, AID_SYSTEM, tp_cpufreq)
/system/core/liblog/
Dlogger_write.cpp64 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { in check_log_uid_permissions()
66 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { in check_log_uid_permissions()
68 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { in check_log_uid_permissions()
70 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { in check_log_uid_permissions()
/system/core/libcutils/include_vndk/cutils/
Dandroid_filesystem_config.h43 #define AID_ROOT 0 /* traditional unix root user */ macro
/system/core/libcutils/include/cutils/
Dandroid_filesystem_config.h43 #define AID_ROOT 0 /* traditional unix root user */ macro
/system/core/include/private/
Dandroid_filesystem_config.h43 #define AID_ROOT 0 /* traditional unix root user */ macro
/system/core/libcutils/include/private/
Dandroid_filesystem_config.h43 #define AID_ROOT 0 /* traditional unix root user */ macro
/system/core/liblog/tests/
Dliblog_test.cpp224 if (getuid() == AID_ROOT) { in TEST()
236 if (getuid() == AID_ROOT) { in TEST()
247 if (getuid() == AID_ROOT) { in TEST()
1686 bool perm = (gid == AID_ROOT) || (uid == AID_ROOT); in TEST()
1778 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG) && in TEST()
1779 (gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { in TEST()
1781 if ((euid != AID_SYSTEM) && (euid != AID_ROOT) && (euid != AID_LOG)) { in TEST()
1783 if ((egid != AID_SYSTEM) && (egid != AID_ROOT) && (egid != AID_LOG)) { in TEST()
2645 if (getuid() == AID_ROOT) { in TEST()
2670 if (getuid() == AID_ROOT) { in TEST()
[all …]

12