/system/sepolicy/prebuilts/api/26.0/private/ |
D | genfs_contexts | 3 # proc labeling can be further refined (longest matching prefix). 4 genfscon proc / u:object_r:proc:s0 5 genfscon proc /config.gz u:object_r:config_gz:s0 6 genfscon proc /interrupts u:object_r:proc_interrupts:s0 7 genfscon proc /iomem u:object_r:proc_iomem:s0 8 genfscon proc /meminfo u:object_r:proc_meminfo:s0 9 genfscon proc /misc u:object_r:proc_misc:s0 10 genfscon proc /modules u:object_r:proc_modules:s0 11 genfscon proc /net u:object_r:proc_net:s0 12 genfscon proc /net/xt_qtaguid/ctrl u:object_r:qtaguid_proc:s0 [all …]
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | genfs_contexts | 3 # proc labeling can be further refined (longest matching prefix). 4 genfscon proc / u:object_r:proc:s0 5 genfscon proc /asound u:object_r:proc_asound:s0 6 genfscon proc /buddyinfo u:object_r:proc_buddyinfo:s0 7 genfscon proc /cmdline u:object_r:proc_cmdline:s0 8 genfscon proc /config.gz u:object_r:config_gz:s0 9 genfscon proc /diskstats u:object_r:proc_diskstats:s0 10 genfscon proc /filesystems u:object_r:proc_filesystems:s0 11 genfscon proc /interrupts u:object_r:proc_interrupts:s0 12 genfscon proc /iomem u:object_r:proc_iomem:s0 [all …]
|
D | domain.te | 6 # Limit ability to ptrace or read sensitive /proc/pid files of processes 32 # /proc 36 } proc:file no_rw_file_perms;
|
/system/sepolicy/private/ |
D | genfs_contexts | 3 # proc labeling can be further refined (longest matching prefix). 4 genfscon proc / u:object_r:proc:s0 5 genfscon proc /asound u:object_r:proc_asound:s0 6 genfscon proc /buddyinfo u:object_r:proc_buddyinfo:s0 7 genfscon proc /cmdline u:object_r:proc_cmdline:s0 8 genfscon proc /config.gz u:object_r:config_gz:s0 9 genfscon proc /diskstats u:object_r:proc_diskstats:s0 10 genfscon proc /filesystems u:object_r:proc_filesystems:s0 11 genfscon proc /interrupts u:object_r:proc_interrupts:s0 12 genfscon proc /iomem u:object_r:proc_iomem:s0 [all …]
|
D | rss_hwm_reset.te | 6 # Search /proc/pid directories. 9 # Write to /proc/pid/clear_refs of other processes. 10 # /proc/pid/clear_refs is S_IWUSER, see: fs/proc/base.c
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | genfs_contexts | 3 # proc labeling can be further refined (longest matching prefix). 4 genfscon proc / u:object_r:proc:s0 5 genfscon proc /asound u:object_r:proc_asound:s0 6 genfscon proc /buddyinfo u:object_r:proc_buddyinfo:s0 7 genfscon proc /cmdline u:object_r:proc_cmdline:s0 8 genfscon proc /config.gz u:object_r:config_gz:s0 9 genfscon proc /diskstats u:object_r:proc_diskstats:s0 10 genfscon proc /filesystems u:object_r:proc_filesystems:s0 11 genfscon proc /interrupts u:object_r:proc_interrupts:s0 12 genfscon proc /iomem u:object_r:proc_iomem:s0 [all …]
|
D | rss_hwm_reset.te | 6 # Search /proc/pid directories. 9 # Write to /proc/pid/clear_refs of other processes. 10 # /proc/pid/clear_refs is S_IWUSER, see: fs/proc/base.c
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | genfs_contexts | 3 # proc labeling can be further refined (longest matching prefix). 4 genfscon proc / u:object_r:proc:s0 5 genfscon proc /config.gz u:object_r:config_gz:s0 6 genfscon proc /interrupts u:object_r:proc_interrupts:s0 7 genfscon proc /iomem u:object_r:proc_iomem:s0 8 genfscon proc /meminfo u:object_r:proc_meminfo:s0 9 genfscon proc /misc u:object_r:proc_misc:s0 10 genfscon proc /modules u:object_r:proc_modules:s0 11 genfscon proc /net u:object_r:proc_net:s0 12 genfscon proc /net/xt_qtaguid/ctrl u:object_r:qtaguid_proc:s0 [all …]
|
/system/core/adb/daemon/ |
D | jdwp_service.cpp | 169 auto pred = [this](const auto& proc) { return proc.get() == this; }; in RemoveFromList() argument 183 for (auto& proc : _jdwp_list) { in jdwp_process_list() local 185 if (proc->pid < 0) { in jdwp_process_list() 189 std::string next = std::to_string(proc->pid) + "\n"; in jdwp_process_list() 216 JdwpProcess* proc = reinterpret_cast<JdwpProcess*>(_proc); in jdwp_process_event() local 217 CHECK_EQ(socket, proc->socket); in jdwp_process_event() 220 if (proc->pid < 0) { in jdwp_process_event() 221 ssize_t rc = TEMP_FAILURE_RETRY(recv(socket, &proc->pid, sizeof(proc->pid), 0)); in jdwp_process_event() 222 if (rc != sizeof(proc->pid)) { in jdwp_process_event() 228 D("Adding pid %d to jdwp process list", proc->pid); in jdwp_process_event() [all …]
|
/system/update_engine/common/ |
D | subprocess.cc | 78 brillo::Process* proc) { in LaunchProcess() argument 80 proc->AddArg(arg); in LaunchProcess() 81 proc->SetSearchPath((flags & Subprocess::kSearchPath) != 0); in LaunchProcess() 92 proc->RedirectUsingPipe(fd, false); in LaunchProcess() 94 proc->SetCloseUnusedFileDescriptors(true); in LaunchProcess() 95 proc->RedirectUsingPipe(STDOUT_FILENO, false); in LaunchProcess() 96 proc->SetPreExecCallback(base::Bind(&SetupChild, env, flags)); in LaunchProcess() 98 return proc->Start(); in LaunchProcess() 166 record->proc.Release(); in ChildExitedCallback() 167 record->proc.Reset(0); in ChildExitedCallback() [all …]
|
/system/core/libmeminfo/tools/ |
D | procrank.cpp | 180 static bool count_swap_offsets(const ProcessRecord& proc, uint16_t* swap_offset_array, in count_swap_offsets() argument 182 const std::vector<uint16_t>& swp_offs = proc.SwapOffsets(); in count_swap_offsets() 185 std::cerr << "swap offset " << off << " is out of bounds for process: " << proc.pid() in count_swap_offsets() 191 std::cerr << "swap offset " << off << " ref count overflow in process: " << proc.pid() in count_swap_offsets() 225 static void print_process_record(std::stringstream& ss, ProcessRecord& proc) { in print_process_record() argument 226 ss << ::android::base::StringPrintf("%5d ", proc.pid()); in print_process_record() 228 ss << ::android::base::StringPrintf("%5d ", proc.oomadj()); in print_process_record() 233 proc.Wss().rss / 1024, proc.Wss().pss / 1024, in print_process_record() 234 proc.Wss().uss / 1024); in print_process_record() 238 proc.Usage().vss / 1024, proc.Usage().rss / 1024, in print_process_record() [all …]
|
D | librank.cpp | 128 void AddUsage(const ProcessRecord& proc, const MemUsage& mem_usage) { in AddUsage() 129 auto [it, inserted] = procs_.insert(std::pair<pid_t, ProcessRecord>(proc.pid(), proc)); in AddUsage() 177 ProcessRecord proc(pid); in scan_libs_per_process() local 178 if (!proc.valid()) { in scan_libs_per_process() 202 it->second.AddUsage(proc, map.usage); in scan_libs_per_process()
|
/system/core/adb/ |
D | test_adb.py | 144 proc = subprocess.Popen(["adb", "-L", "tcp:localhost:{}".format(port), 153 proc.terminate() 154 proc.wait() 181 proc = subprocess.Popen(["adb", "tcpip"], 184 out, _ = proc.communicate() 185 self.assertEqual(1, proc.returncode) 188 proc = subprocess.Popen(["adb", "tcpip", "foo"], 191 out, _ = proc.communicate() 192 self.assertEqual(1, proc.returncode) 238 proc = subprocess.Popen(["adb", "-P", str(port), "start-server"], [all …]
|
/system/core/llkd/ |
D | llkd.rc | 26 write /proc/sys/kernel/hung_task_timeout_secs ${ro.khungtask.timeout:-720} 27 write /proc/sys/kernel/hung_task_warnings 65535 28 write /proc/sys/kernel/hung_task_check_count 65535 29 write /proc/sys/kernel/hung_task_panic 1 32 write /proc/sys/kernel/hung_task_panic 0 44 file /proc/sysrq-trigger w
|
/system/extras/boottime_tools/bootio/sepolicy/ |
D | bootio.te | 11 # Read access to pseudo filesystems (for /proc/stats, proc/io/io, etc). 12 #r_dir_file(bootio, proc)
|
/system/sepolicy/public/ |
D | lmkd.te | 13 ## Open and write to /proc/PID/oom_score_adj 42 # live lock watchdog process allowed to look through /proc/ 50 # Read /proc/meminfo 53 # Read /proc/pressure/cpu and /proc/pressure/io 57 # Read/Write /proc/pressure/memory
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | lmkd.te | 13 ## Open and write to /proc/PID/oom_score_adj 42 # live lock watchdog process allowed to look through /proc/ 50 # Read /proc/meminfo 53 # Read /proc/pressure/cpu and /proc/pressure/io 57 # Read/Write /proc/pressure/memory
|
/system/core/rootdir/ |
D | init.rc | 17 write /proc/sys/kernel/sysrq 0 46 copy /proc/cmdline /dev/urandom 49 symlink /proc/self/fd/0 /dev/stdin 50 symlink /proc/self/fd/1 /dev/stdout 51 symlink /proc/self/fd/2 /dev/stderr 130 write /proc/sys/kernel/panic_on_oops 1 131 write /proc/sys/kernel/hung_task_timeout_secs 0 132 write /proc/cpu/alignment 4 138 write /proc/sys/kernel/sched_tunable_scaling 0 139 write /proc/sys/kernel/sched_latency_ns 10000000 [all …]
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | bootstat.te | 11 # Read access to pseudo filesystems (for /proc/uptime). 12 r_dir_file(bootstat, proc)
|
D | e2fs.te | 8 # access /proc/filesystems 9 allow e2fs proc:file r_file_perms;
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | bootstat.te | 11 # Read access to pseudo filesystems (for /proc/uptime). 12 r_dir_file(bootstat, proc)
|
D | update_engine_common.te | 35 # access /proc/misc 36 # Access is also granted to proc:file, but it is likely unneeded 38 allow update_engine proc:file r_file_perms; # delete candidate
|
/system/core/libcutils/ |
D | android_get_control_file.cpp | 91 auto proc = android::base::StringPrintf("/proc/self/fd/%d", fd); in android_get_control_file() local 93 if (!android::base::Realpath(proc, &fd_path)) return -1; in android_get_control_file()
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | lmkd.te | 13 ## Open and write to /proc/PID/oom_score_adj 38 # live lock watchdog process allowed to look through /proc/ 46 # Read /proc/meminfo
|
/system/core/init/test_service/ |
D | README.md | 18 `/proc/self/status`, and attempt to exactly match the second element of the pair 19 to the relevant line of `proc/self/status`. 24 cat /proc/self/status
|