Home
last modified time | relevance | path

Searched refs:selfpath (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/tests/
Dbacktrace.c245 char selfpath[PATH_MAX + 1]; member
254 if (strcmp (name, data->selfpath) != 0) in see_exec_module()
377 ssize_t ssize = readlink (selfpathname, data.selfpath, in exec_dump()
378 sizeof (data.selfpath)); in exec_dump()
380 assert (ssize > 0 && ssize < (ssize_t) sizeof (data.selfpath)); in exec_dump()
381 data.selfpath[ssize] = '\0'; in exec_dump()
/external/ltp/testcases/kernel/fs/proc/
Dproc01.c64 static const char selfpath[] = "/proc/self"; variable
270 if (S_ISLNK(statbuf.st_mode) && strcmp(obj, selfpath)) in readproc()
276 if (S_ISDIR(statbuf.st_mode) || !strcmp(obj, selfpath)) { in readproc()