HomeSort by relevance Sort by last modified time
    Searched refs:exeline (Results 1 - 2 of 2) sorted by null

  /system/core/toolbox/
ps.c 212 char exeline[1024]; local
214 sprintf(exeline, "/proc/%d/exe", pid);
215 fd = open(exeline, O_RDONLY);
220 r = read(fd, exeline, 5 /* 4 byte ELFMAG + 1 byte EI_CLASS */);
226 if (memcmp("\177ELF", exeline, 4) != 0) {
230 switch (exeline[4]) {
  /system/core/debuggerd/
debuggerd.cpp 268 char* exeline; local
269 if (asprintf(&exeline, "/proc/%d/exe", tid) == -1) {
272 int fd = TEMP_FAILURE_RETRY(open(exeline, O_RDONLY | O_CLOEXEC));
274 free(exeline);

Completed in 415 milliseconds