Lines Matching refs:how

113 	struct open_how how;  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()
170 .path = "etc", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
173 .path = "etc/passwd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
176 .path = "relsym", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
179 .path = "cheeky/passwd", .how.resolve = RESOLVE_BENEATH, 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()
216 .path = "cheeky/absself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
219 .path = "abscheeky/absself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
222 .path = "..", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
225 .path = "../root/", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
228 .path = "cheeky/self", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
231 .path = "cheeky/garbageself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
234 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
237 .path = "root", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
240 .path = "etc", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
243 .path = "etc/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
246 .path = "relsym", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
249 .path = "cheeky/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
252 .path = "abscheeky/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
255 .path = "abssym", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
258 .path = "/etc/passwd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
261 .path = "cheeky/abspasswd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
264 .path = "abscheeky/abspasswd", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
267 .path = "cheeky/dotdotlink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
270 .path = "abscheeky/dotdotlink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
273 .path = "/../../../../abscheeky/dotdotlink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
276 .path = "cheeky/garbagelink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
279 .path = "abscheeky/garbagelink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
282 .path = "/../../../../abscheeky/garbagelink", .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
286 .path = "newfile1", .how.flags = O_CREAT, in test_openat2_opath_tests()
287 .how.mode = 0700, in test_openat2_opath_tests()
288 .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
291 .path = "/newfile2", .how.flags = O_CREAT, in test_openat2_opath_tests()
292 .how.mode = 0700, in test_openat2_opath_tests()
293 .how.resolve = RESOLVE_IN_ROOT, in test_openat2_opath_tests()
296 .path = "/creatlink", .how.flags = O_CREAT, in test_openat2_opath_tests()
297 .how.mode = 0700, in test_openat2_opath_tests()
298 .how.resolve = RESOLVE_IN_ROOT, 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()
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()
333 .dir = "/", .path = "/", .how.resolve = RESOLVE_NO_XDEV, 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()
356 .path = "relsym", .how.resolve = RESOLVE_NO_MAGICLINKS, 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()
367 .how.resolve = RESOLVE_NO_MAGICLINKS, 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()
377 .how.resolve = RESOLVE_NO_MAGICLINKS, in test_openat2_opath_tests()
383 .path = ".", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
386 .path = "root", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
389 .path = "etc", .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
392 .path = "etc/passwd", .how.resolve = RESOLVE_NO_SYMLINKS, 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()
419 .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
422 .path = "abssym", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
423 .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
426 .path = "cheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
427 .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
430 .path = "abscheeky/absself", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
431 .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
434 .path = "abscheeky/garbagelink", .how.flags = O_NOFOLLOW, in test_openat2_opath_tests()
435 .how.resolve = RESOLVE_NO_SYMLINKS, in test_openat2_opath_tests()
455 if (!(test->how.flags & O_CREAT)) in test_openat2_opath_tests()
456 test->how.flags |= O_PATH; in test_openat2_opath_tests()
466 fd = sys_openat2(dfd, test->path, &test->how); in test_openat2_opath_tests()