Home
last modified time | relevance | path

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

12345678910>>...13

/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/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 …]
Ddomain.te6 # Limit ability to ptrace or read sensitive /proc/pid files of processes
32 # /proc
36 } proc:file no_rw_file_perms;
/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/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/core/adb/daemon/
Djdwp_service.cpp169 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/
Dsubprocess.cc78 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/
Dprocrank.cpp180 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 …]
Dlibrank.cpp128 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/
Dtest_adb.py144 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/
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/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/sepolicy/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/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/rootdir/
Dinit.rc17 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/
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)
Dupdate_engine_common.te35 # 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/
Dandroid_get_control_file.cpp91 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/
Dlmkd.te13 ## 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/
DREADME.md18 `/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

12345678910>>...13