Lines Matching refs:path

112 	const char *path;  member
117 const char *path; member
139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
163 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
167 .path = "root", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
168 .out.path = "root", .pass = true }, in test_openat2_opath_tests()
170 .path = "etc", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
171 .out.path = "etc", .pass = true }, in test_openat2_opath_tests()
173 .path = "etc/passwd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
174 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
176 .path = "relsym", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
177 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
179 .path = "cheeky/passwd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
180 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
182 .path = "abscheeky/passwd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
185 .path = "abssym", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
188 .path = "/etc/passwd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
191 .path = "cheeky/abspasswd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
194 .path = "abscheeky/abspasswd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
198 .path = "cheeky/dotdotlink", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
201 .path = "abscheeky/dotdotlink", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
204 .path = "cheeky/garbagelink", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
207 .path = "abscheeky/garbagelink", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
213 .path = "/", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
214 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
216 .path = "cheeky/absself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
217 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
219 .path = "abscheeky/absself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
220 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
222 .path = "..", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
223 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
225 .path = "../root/", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
226 .out.path = "root", .pass = true }, in test_openat2_opath_tests()
228 .path = "cheeky/self", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
229 .out.path = "root", .pass = true }, in test_openat2_opath_tests()
231 .path = "cheeky/garbageself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
232 .out.path = "root", .pass = true }, in test_openat2_opath_tests()
234 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
235 .out.path = "root", .pass = true }, in test_openat2_opath_tests()
237 .path = "root", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
238 .out.path = "root", .pass = true }, in test_openat2_opath_tests()
240 .path = "etc", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
241 .out.path = "etc", .pass = true }, in test_openat2_opath_tests()
243 .path = "etc/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
244 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
246 .path = "relsym", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
247 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
249 .path = "cheeky/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
250 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
252 .path = "abscheeky/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
253 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
255 .path = "abssym", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
256 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
258 .path = "/etc/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
259 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
261 .path = "cheeky/abspasswd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
262 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
264 .path = "abscheeky/abspasswd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
265 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
267 .path = "cheeky/dotdotlink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
268 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
270 .path = "abscheeky/dotdotlink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
271 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
273 .path = "/../../../../abscheeky/dotdotlink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
274 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
276 .path = "cheeky/garbagelink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
277 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
279 .path = "abscheeky/garbagelink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
280 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
282 .path = "/../../../../abscheeky/garbagelink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
283 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
286 .path = "newfile1", .how.flags = O_CREAT, in test_openat2_opath_tests()
289 .out.path = "newfile1", .pass = true }, in test_openat2_opath_tests()
291 .path = "/newfile2", .how.flags = O_CREAT, in test_openat2_opath_tests()
294 .out.path = "newfile2", .pass = true }, in test_openat2_opath_tests()
296 .path = "/creatlink", .how.flags = O_CREAT, in test_openat2_opath_tests()
299 .out.path = "newfile3", .pass = true }, in test_openat2_opath_tests()
304 .path = "mnt", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
307 .path = "mnt/", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
310 .path = "mnt/.", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
314 .dir = "mnt", .path = ".", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
315 .out.path = "mnt", .pass = true }, in test_openat2_opath_tests()
317 .dir = "mnt", .path = "..", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
320 .dir = "mnt", .path = "../mnt", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
323 .dir = "mnt", .path = "self", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
326 .dir = "mnt", .path = "absself", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
330 .dir = "mnt", .path = "/", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
331 .out.path = "/", .pass = true }, in test_openat2_opath_tests()
333 .dir = "/", .path = "/", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
334 .out.path = "/", .pass = true }, in test_openat2_opath_tests()
336 .path = "/proc/1", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
339 .path = "/tmp", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
343 .dir = "/proc", .path = "self/root", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
346 .dir = "/proc", .path = "self/cwd", .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
350 .dir = "/proc", .path = hardcoded_fdpath, .how.resolve = RESOLVE_NO_XDEV, in test_openat2_opath_tests()
351 .out.path = "/proc", .pass = true, }, in test_openat2_opath_tests()
356 .path = "relsym", .how.resolve = RESOLVE_NO_MAGICLINKS, in test_openat2_opath_tests()
357 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
360 .path = "procexe", .how.resolve = RESOLVE_NO_MAGICLINKS, in test_openat2_opath_tests()
363 .path = "/proc/self/exe", .how.resolve = RESOLVE_NO_MAGICLINKS, in test_openat2_opath_tests()
366 .path = "/proc/self/exe", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
368 .out.path = procselfexe, .pass = true }, in test_openat2_opath_tests()
370 .path = "procroot/etc", .how.resolve = RESOLVE_NO_MAGICLINKS, in test_openat2_opath_tests()
373 .path = "/proc/self/root/etc", .how.resolve = RESOLVE_NO_MAGICLINKS, in test_openat2_opath_tests()
376 .path = "/proc/self/root/etc", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
383 .path = ".", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
384 .out.path = NULL, .pass = true }, in test_openat2_opath_tests()
386 .path = "root", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
387 .out.path = "root", .pass = true }, in test_openat2_opath_tests()
389 .path = "etc", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
390 .out.path = "etc", .pass = true }, in test_openat2_opath_tests()
392 .path = "etc/passwd", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
393 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
396 .path = "relsym", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
399 .path = "reletc/passwd", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
402 .path = "abssym", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
405 .path = "absetc/passwd", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
408 .path = "cheeky/garbagelink", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
411 .path = "abscheeky/garbagelink", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
414 .path = "abscheeky/absself", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
418 .path = "relsym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
420 .out.path = "relsym", .pass = true }, in test_openat2_opath_tests()
422 .path = "abssym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
424 .out.path = "abssym", .pass = true }, in test_openat2_opath_tests()
426 .path = "cheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
428 .out.path = "cheeky/garbagelink", .pass = true }, in test_openat2_opath_tests()
430 .path = "abscheeky/absself", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
434 .path = "abscheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
466 fd = sys_openat2(dfd, test->path, &test->how); in test_openat2_opath_tests()
468 failed = (fd < 0 || !fdequal(fd, rootfd, test->out.path)); in test_openat2_opath_tests()
490 test->out.path ?: "."); in test_openat2_opath_tests()