Home | History | Annotate | Download | only in vold

Lines Matching refs:Process

33 #include "Process.h"
35 int Process::readSymLink(const char *path, char *link, size_t max) {
52 int Process::pathMatchesMountPoint(const char* path, const char* mountPoint) {
66 void Process::getProcessName(int pid, char *buffer, size_t max) {
79 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint) {
83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max) {
86 // compute path to process's directory of open files
124 int Process::checkFileMaps(int pid, const char *mountPoint) {
128 int Process::checkFileMaps(int pid, const char *mountPoint, char *openFilename, size_t max) {
154 int Process::checkSymLink(int pid, const char *mountPoint, const char *name) {
164 int Process::getPid(const char *s) {
174 Process::killProcessesWithOpenFiles(path, action);
184 void Process::killProcessesWithOpenFiles(const char *path, int action) {
205 SLOGE("Process %s (%d) has open file %s", name, pid, openfile);
207 SLOGE("Process %s (%d) has open filemap for %s", name, pid, openfile);
209 SLOGE("Process %s (%d) has cwd within %s", name, pid, path);
211 SLOGE("Process %s (%d) has chroot within %s", name, pid, path);
213 SLOGE("Process %s (%d) has executable path within %s", name, pid, path);
218 SLOGW("Sending SIGHUP to process %d", pid);
221 SLOGE("Sending SIGKILL to process %d", pid);