Home
last modified time | relevance | path

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

12

/system/core/libcutils/
Dfs_config.cpp58 { 00555, AID_ROOT, AID_ROOT, 0, "config" },
62 { 00771, AID_ROOT, AID_ROOT, 0, "data/dalvik-cache" },
71 { 00775, AID_ROOT, AID_ROOT, 0, "data/preloads" },
73 { 00755, AID_ROOT, AID_SYSTEM, 0, "mnt" },
74 { 00751, AID_ROOT, AID_SHELL, 0, "product/bin" },
75 { 00751, AID_ROOT, AID_SHELL, 0, "product/apex/*/bin" },
76 { 00777, AID_ROOT, AID_ROOT, 0, "sdcard" },
77 { 00751, AID_ROOT, AID_SDCARD_R, 0, "storage" },
78 …{ 00750, AID_ROOT, AID_SYSTEM, 0, "system/apex/com.android.tethering/bin/for-system"…
79 { 00751, AID_ROOT, AID_SHELL, 0, "system/bin" },
[all …]
Dmultiuser.cpp78 } else if (app_id >= AID_ROOT && app_id <= AID_APP_START) { in multiuser_get_shared_gid()
/system/core/init/
Dueventd_parser_test.cpp125 {"/dev/graphics/*", 0660, AID_ROOT, AID_GRAPHICS, false}, in TEST()
126 {"/dev/*/test", 0660, AID_ROOT, AID_SYSTEM, false}, in TEST()
130 {"/sys/devices/platform/trusty.*", "trusty_version", 0440, AID_ROOT, AID_LOG, false}, in TEST()
131 {"/sys/devices/virtual/input/input", "enable", 0660, AID_ROOT, AID_INPUT, false}, in TEST()
132 {"/sys/devices/virtual/*/input", "poll_delay", 0660, AID_ROOT, AID_INPUT, true}, in TEST()
169 AID_ROOT, in TEST()
170 AID_ROOT, in TEST()
176 AID_ROOT, in TEST()
182 AID_ROOT, in TEST()
187 AID_ROOT, in TEST()
[all …]
/system/memory/libmeminfo/libmemevents/bpfprogs/
DbpfMemEventsTest.c30 DEFINE_BPF_PROG("tracepoint/oom/mark_victim", AID_ROOT, AID_SYSTEM, tp_ams)
61 DEFINE_BPF_PROG_KVER("skfilter/oom_kill", AID_ROOT, AID_ROOT, tp_memevents_test_oom, KVER(5, 8, 0))
85 DEFINE_BPF_PROG_KVER("skfilter/direct_reclaim_begin", AID_ROOT, AID_ROOT,
98 DEFINE_BPF_PROG_KVER("skfilter/direct_reclaim_end", AID_ROOT, AID_ROOT, tp_memevents_test_dr_end,
111 DEFINE_BPF_PROG_KVER("skfilter/kswapd_wake", AID_ROOT, AID_ROOT, tp_memevents_test_kswapd_wake,
128 DEFINE_BPF_PROG_KVER("skfilter/kswapd_sleep", AID_ROOT, AID_ROOT, tp_memevents_test_kswapd_sleep,
DbpfMemEvents.c34 DEFINE_BPF_PROG("tracepoint/oom/mark_victim/ams", AID_ROOT, AID_SYSTEM, tp_ams)
59 DEFINE_BPF_PROG("tracepoint/vmscan/mm_vmscan_direct_reclaim_begin/lmkd", AID_ROOT, AID_SYSTEM,
72 DEFINE_BPF_PROG("tracepoint/vmscan/mm_vmscan_direct_reclaim_end/lmkd", AID_ROOT, AID_SYSTEM,
85 DEFINE_BPF_PROG("tracepoint/vmscan/mm_vmscan_kswapd_wake/lmkd", AID_ROOT, AID_SYSTEM,
101 DEFINE_BPF_PROG("tracepoint/vmscan/mm_vmscan_kswapd_sleep/lmkd", AID_ROOT, AID_SYSTEM,
/system/bpf/progs/
DbpfRingbufProg.c24 DEFINE_BPF_RINGBUF_EXT(test_ringbuf, __u64, 4096, AID_ROOT, AID_ROOT, 0660, "", "", PRIVATE,
30 DEFINE_BPF_PROG_KVER("skfilter/ringbuf_test", AID_ROOT, AID_ROOT, test_ringbuf_prog, KVER(5, 8, 0))
/system/bpfprogs/test/
DbpfLoadTpProg.c36 DEFINE_BPF_PROG("tracepoint/sched/sched_switch", AID_ROOT, AID_ROOT, tp_sched_switch)
58 DEFINE_BPF_PROG_KVER("tracepoint/sched/sched_wakeup", AID_ROOT, AID_ROOT, tp_sched_wakeup, KVER_INF)
DbpfLoadTpProgBtf.c36 DEFINE_BPF_PROG("tracepoint/sched/sched_switch", AID_ROOT, AID_ROOT, tp_sched_switch)
58 DEFINE_BPF_PROG_KVER("tracepoint/sched/sched_wakeup", AID_ROOT, AID_ROOT, tp_sched_wakeup, KVER_INF)
/system/vold/model/
DPublicVolume.cpp138 if (fs_prepare_dir(mRawPath.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
144 if (vfat::Mount(mDevPath, mRawPath, false, false, false, AID_ROOT, in doMount()
150 if (exfat::Mount(mDevPath, mRawPath, AID_ROOT, in doMount()
167 if (fs_prepare_dir(mSdcardFsDefault.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
168 fs_prepare_dir(mSdcardFsRead.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
169 fs_prepare_dir(mSdcardFsWrite.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
170 fs_prepare_dir(mSdcardFsFull.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
292 PrepareDir(destPath, 0770, AID_ROOT, AID_MEDIA_RW); in bindMountForUser()
DEmulatedVolume.cpp344 if (fs_prepare_dir(mSdcardFsDefault.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
345 fs_prepare_dir(mSdcardFsRead.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
346 fs_prepare_dir(mSdcardFsWrite.c_str(), 0700, AID_ROOT, AID_ROOT) || in doMount()
347 fs_prepare_dir(mSdcardFsFull.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
DObbVolume.cpp70 if (fs_prepare_dir(path.c_str(), 0700, AID_ROOT, AID_ROOT)) { in doMount()
DPrivateVolume.cpp129 if (PrepareDir(mPath, 0700, AID_ROOT, AID_ROOT)) { in doMount()
180 PrepareDir(mPath + "/local", 0751, AID_ROOT, AID_ROOT) || in doMount()
/system/bpf/progs/include/test/
Dmock_bpf_helpers.h54 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, AID_ROOT, 0600)
57 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0620)
60 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, AID_ROOT, gid, 0640)
63 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.cpp416 if (!prepare_dir(get_ce_key_directory_path(user_id), 0700, AID_ROOT, AID_ROOT)) in create_ce_key()
582 if (!prepare_dir(user_key_dir, 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0()
583 if (!prepare_dir(user_key_dir + "/ce", 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0()
584 if (!prepare_dir(user_key_dir + "/de", 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0()
926 if (!prepare_dir_with_policy(vendor_de_path, 0771, AID_ROOT, AID_ROOT, de_policy)) in fscrypt_prepare_user_storage()
966 if (!prepare_dir_with_policy(vendor_ce_path, 0771, AID_ROOT, AID_ROOT, ce_policy)) in fscrypt_prepare_user_storage()
/system/logging/logd/
DLogTags.cpp58 if (!comment) return AID_ROOT; in sniffUid()
67 return AID_ROOT; in sniffUid()
70 if ((cp > endp) || (Uid >= INT_MAX)) return AID_ROOT; in sniffUid()
113 formatEntry_locked(it.first, AID_ROOT), fd); in RebuildFileEventLogTags()
167 if (uid == AID_ROOT) { in AddEventLogTags()
174 } else if (newOne && (uid != AID_ROOT)) { in AddEventLogTags()
249 uid_t uid = AID_ROOT; in ReadFileEventLogTags()
570 .uid = (uint16_t)AID_ROOT, in WritePmsgEventLogTags()
583 } else if (uid != AID_ROOT) { in WritePmsgEventLogTags()
684 bool updateUid = uid != AID_ROOT; in nameToTag()
[all …]
DLogTags.h96 void WritePersistEventLogTags(uint32_t tag, uid_t uid = AID_ROOT,
109 void WritePmsgEventLogTags(uint32_t tag, uid_t uid = AID_ROOT);
DCommandListener.cpp90 uid = AID_ROOT; in runCommand()
162 uid = AID_ROOT; in runCommand()
227 uid = AID_ROOT; in runCommand()
/system/librustutils/
Dusers.rs18 pub use cutils_bindgen::AID_ROOT;
/system/bpfprogs/
DtimeInState.c102 DEFINE_BPF_PROG("tracepoint/sched/sched_switch", AID_ROOT, AID_SYSTEM, tp_sched_switch)
227 DEFINE_BPF_PROG("tracepoint/power/cpu_frequency", AID_ROOT, AID_SYSTEM, tp_cpufreq)
252 DEFINE_BPF_PROG("tracepoint/sched/sched_process_free", AID_ROOT, AID_SYSTEM, tp_sched_process_free)
DfuseMedia.c30 DEFINE_BPF_PROG("fuse/media", AID_ROOT, AID_MEDIA_RW, fuse_media)
/system/logging/liblog/
Dlogger_write.cpp74 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { in check_log_uid_permissions()
76 if ((uid != AID_SYSTEM) && (uid != AID_ROOT) && (uid != AID_LOG)) { in check_log_uid_permissions()
78 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { in check_log_uid_permissions()
80 if ((gid != AID_SYSTEM) && (gid != AID_ROOT) && (gid != AID_LOG)) { in check_log_uid_permissions()
/system/core/libcutils/include/cutils/
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/libcutils/include_outside_system/cutils/
Dandroid_filesystem_config.h43 #define AID_ROOT 0 /* traditional unix root user */ macro

12