Lines Matching refs:path
54 char path[64]; in _get_task_permitted_caps() local
63 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); in _get_task_permitted_caps()
64 fd = open(path, O_RDONLY); in _get_task_permitted_caps()
66 D("Could not open %s: %s\n", path, strerror(errno)); in _get_task_permitted_caps()
76 D("Could not read %s: %s\n", path, strerror(errno)); in _get_task_permitted_caps()
86 path, len, buff); in _get_task_permitted_caps()
95 D("Found CapPerm of %lld in %s\n", *cap, path); in _get_task_permitted_caps()
98 D("Cannot read CapPerm from %s: '%.*s'\n", path, 24, perm); in _get_task_permitted_caps()
128 char path[64]; in td_ta_new() local
154 snprintf(path, sizeof path, "/proc/%d/task", target_pid); in td_ta_new()
155 dir = opendir(path); in td_ta_new()
157 D("Could not open %s: %s\n", path, strerror(errno)); in td_ta_new()
361 char path[32]; in td_ta_thr_iter() local
366 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid); in td_ta_thr_iter()
367 dir = opendir(path); in td_ta_thr_iter()