Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/system/sepolicy/prebuilts/api/26.0/private/
Dgenfs_contexts3 # 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/
Djdwp_service.cpp179 auto pred = [this](const auto& proc) { return proc.get() == this; }; in RemoveFromList() argument
194 for (auto& proc : _jdwp_list) { in jdwp_process_list() local
195 if (!proc->process.debuggable) continue; in jdwp_process_list()
196 std::string next = std::to_string(proc->process.pid) + "\n"; in jdwp_process_list()
215 for (auto& proc : _jdwp_list) { in app_process_list() local
216 if (!proc->process.debuggable && !proc->process.profileable) continue; in app_process_list()
218 entry->set_pid(proc->process.pid); in app_process_list()
219 entry->set_debuggable(proc->process.debuggable); in app_process_list()
220 entry->set_profileable(proc->process.profileable); in app_process_list()
221 entry->set_architecture(proc->process.arch_name, proc->process.arch_name_length); in app_process_list()
[all …]
/system/sepolicy/prebuilts/api/28.0/private/
Dgenfs_contexts3 # 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 …]
/system/sepolicy/prebuilts/api/29.0/private/
Dgenfs_contexts3 # 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 …]
Drss_hwm_reset.te6 # 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/
Dgenfs_contexts3 # 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/memory/lmkd/
Dstatslog.cpp39 struct proc { struct
42 struct proc* pidhash_next; argument
46 static struct proc** pidhash = NULL;
63 static struct proc* pid_lookup(int pid) { in pid_lookup()
64 struct proc* procp; in pid_lookup()
104 struct proc* proc = pid_lookup(pid); in stats_write_lmk_kill_occurred_pid() local
105 if (!proc) return -EINVAL; in stats_write_lmk_kill_occurred_pid()
107 return stats_write_lmk_kill_occurred(uid, proc->taskname, oom_score, min_oom_score, in stats_write_lmk_kill_occurred_pid()
210 static void proc_insert(struct proc* procp) { in proc_insert()
212 pidhash = static_cast<struct proc**>(calloc(PIDHASH_SZ, sizeof(*pidhash))); in proc_insert()
[all …]
/system/sepolicy/private/
Dgenfs_contexts3 # 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 …]
Drss_hwm_reset.te6 # 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/30.0/private/
Dgenfs_contexts3 # 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 …]
Drss_hwm_reset.te6 # 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/update_engine/common/
Dsubprocess.cc79 brillo::Process* proc) { in LaunchProcess() argument
81 proc->AddArg(arg); in LaunchProcess()
82 proc->SetSearchPath((flags & Subprocess::kSearchPath) != 0); in LaunchProcess()
93 proc->RedirectUsingPipe(fd, false); in LaunchProcess()
95 proc->SetCloseUnusedFileDescriptors(true); in LaunchProcess()
96 proc->RedirectUsingPipe(STDOUT_FILENO, false); in LaunchProcess()
97 proc->SetPreExecCallback(base::Bind(&SetupChild, env, flags)); in LaunchProcess()
100 return proc->Start(); in LaunchProcess()
166 record->proc.Release(); in ChildExitedCallback()
167 record->proc.Reset(0); in ChildExitedCallback()
[all …]
/system/memory/libmeminfo/tools/
Dprocrank.cpp181 static bool count_swap_offsets(const ProcessRecord& proc, in count_swap_offsets() argument
183 const std::vector<uint64_t>& swp_offs = proc.SwapOffsets(); in count_swap_offsets()
186 std::cerr << "swap offset " << off << " is out of bounds for process: " << proc.pid() in count_swap_offsets()
192 std::cerr << "swap offset " << off << " ref count overflow in process: " << proc.pid() in count_swap_offsets()
226 static void print_process_record(std::stringstream& ss, ProcessRecord& proc) { in print_process_record() argument
227 ss << ::android::base::StringPrintf("%5d ", proc.pid()); in print_process_record()
229 ss << ::android::base::StringPrintf("%5d ", proc.oomadj()); in print_process_record()
234 proc.Wss().rss / 1024, proc.Wss().pss / 1024, in print_process_record()
235 proc.Wss().uss / 1024); in print_process_record()
239 proc.Usage().vss / 1024, proc.Usage().rss / 1024, in print_process_record()
[all …]
/system/core/llkd/
Dllkd.rc26 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/sepolicy/public/
Dlmkd.te13 ## Open and write to /proc/PID/oom_score_adj and /proc/PID/timerslack_ns
39 # live lock watchdog process allowed to look through /proc/
47 # Read /proc/lowmemorykiller
50 # Read /proc/meminfo
53 # Read /proc/pressure/cpu and /proc/pressure/io
57 # Read/Write /proc/pressure/memory
/system/sepolicy/prebuilts/api/30.0/public/
Dlmkd.te13 ## Open and write to /proc/PID/oom_score_adj and /proc/PID/timerslack_ns
42 # live lock watchdog process allowed to look through /proc/
50 # Read /proc/lowmemorykiller
53 # Read /proc/meminfo
56 # Read /proc/pressure/cpu and /proc/pressure/io
60 # Read/Write /proc/pressure/memory
/system/extras/boottime_tools/bootio/sepolicy/
Dbootio.te11 # Read access to pseudo filesystems (for /proc/stats, proc/io/io, etc).
12 #r_dir_file(bootio, proc)
/system/libziparchive/
Dtest_ziparchive_large.py44 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
45 output, _ = proc.communicate()
46 self.assertEquals(0, proc.returncode)
53 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
54 proc.communicate()
55 self.assertEquals(0, proc.returncode)
109 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
110 proc.communicate()
/system/sepolicy/prebuilts/api/29.0/public/
Dlmkd.te13 ## 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/adb/
Dtest_adb.py148 proc = subprocess.Popen(["adb", "-L", "tcp:localhost:{}".format(port),
157 proc.terminate()
158 proc.wait()
185 proc = subprocess.Popen(["adb", "tcpip"],
188 out, _ = proc.communicate()
189 self.assertEqual(1, proc.returncode)
192 proc = subprocess.Popen(["adb", "tcpip", "foo"],
195 out, _ = proc.communicate()
196 self.assertEqual(1, proc.returncode)
239 proc = subprocess.Popen(["adb", "-P", str(port), "start-server"],
[all …]
/system/core/rootdir/
Dinit.rc17 write /proc/sys/kernel/sysrq 0
22 write /proc/sys/kernel/modprobe \n
123 copy /proc/cmdline /dev/urandom
126 symlink /proc/self/fd/0 /dev/stdin
127 symlink /proc/self/fd/1 /dev/stdout
128 symlink /proc/self/fd/2 /dev/stderr
229 write /proc/sys/kernel/panic_on_oops 1
230 write /proc/sys/kernel/hung_task_timeout_secs 0
231 write /proc/cpu/alignment 4
237 write /proc/sys/kernel/sched_tunable_scaling 0
[all …]
/system/sepolicy/prebuilts/api/27.0/public/
Dbootstat.te11 # Read access to pseudo filesystems (for /proc/uptime).
12 r_dir_file(bootstat, proc)
De2fs.te8 # access /proc/filesystems
9 allow e2fs proc:file r_file_perms;
/system/sepolicy/prebuilts/api/26.0/public/
Dbootstat.te11 # Read access to pseudo filesystems (for /proc/uptime).
12 r_dir_file(bootstat, proc)
/system/core/adb/coverage/
Dreport.sh13 /proc/self/cwd/system/core/adb \
20 /proc/self/cwd/system/core/adb \

12345678910>>...16