Lines Matching full: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, signal);
180 int Process::killProcessesWithOpenFiles(const char *path, int signal) {
201 SLOGE("Process %s (%d) has open file %s", name, pid, openfile);
203 SLOGE("Process %s (%d) has open filemap for %s", name, pid, openfile);
205 SLOGE("Process %s (%d) has cwd within %s", name, pid, path);
207 SLOGE("Process %s (%d) has chroot within %s", name, pid, path);
209 SLOGE("Process %s (%d) has executable path within %s", name, pid, path);
215 SLOGW("Sending %s to process %d", strsignal(signal), pid);