Lines Matching refs:path
66 char path[PATH_MAX_SIZE] = { 0 };
70 int ret = sprintf_s(path, PATH_MAX_SIZE - 1, "/proc/%d/ns/ipc", pid);
72 int fd = open(path, O_RDONLY);
80 memset_s(path, PATH_MAX_SIZE, 0, sizeof(path));
81 ret = sprintf_s(path, PATH_MAX_SIZE - 1, "/proc/%d/ns/net", pid);
83 fd = open(path, O_RDONLY);
91 memset_s(path, PATH_MAX_SIZE, 0, sizeof(path));
92 ret = sprintf_s(path, PATH_MAX_SIZE - 1, "/proc/%d/ns/pid", pid);
94 fd = open(path, O_RDONLY);
102 memset_s(path, PATH_MAX_SIZE, 0, sizeof(path));
103 ret = sprintf_s(path, PATH_MAX_SIZE - 1, "/proc/%d/ns/uts", pid);
105 fd = open(path, O_RDONLY);