Lines Matching full:etc

30  * |-- etc/
33 * |-- reletc -> etc/
34 * |-- relsym -> etc/passwd
35 * |-- absetc -> /etc/
36 * |-- abssym -> /etc/passwd
42 * |-- passwd -> ../cheeky/../cheeky/../etc/../etc/passwd
43 * |-- abspasswd -> /../cheeky/../cheeky/../etc/../etc/passwd
44 * |-- dotdotlink -> ../../../../../../../../../../../../../../etc/passwd
45 * `-- garbagelink -> /../../../../../../../../../../../../../../etc/passwd
82 E_mkdirat(dfd, "etc", 0755); in setup_testdir()
83 E_touchat(dfd, "etc/passwd"); in setup_testdir()
86 E_symlinkat("etc/", dfd, "reletc"); in setup_testdir()
87 E_symlinkat("etc/passwd", dfd, "relsym"); in setup_testdir()
88 E_symlinkat("/etc/", dfd, "absetc"); in setup_testdir()
89 E_symlinkat("/etc/passwd", dfd, "abssym"); in setup_testdir()
98 E_symlinkat("../cheeky/../etc/../etc/passwd", dfd, "cheeky/passwd"); in setup_testdir()
99 E_symlinkat("/../cheeky/../etc/../etc/passwd", dfd, "cheeky/abspasswd"); in setup_testdir()
101 E_symlinkat("../../../../../../../../../../../../../../etc/passwd", in setup_testdir()
103 E_symlinkat("/../../../../../../../../../../../../../../etc/passwd", in setup_testdir()
169 { .name = "[beneath] ordinary path to 'etc'", 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()
172 { .name = "[beneath] ordinary path to 'etc/passwd'", 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()
177 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
180 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
188 .path = "/etc/passwd", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
239 { .name = "[in_root] relative path to 'etc'", 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()
242 { .name = "[in_root] relative path to 'etc/passwd'", 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()
245 { .name = "[in_root] relative symlink to 'etc/passwd'", in test_openat2_opath_tests()
247 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
248 { .name = "[in_root] chained-'..' relative symlink to 'etc/passwd'", in test_openat2_opath_tests()
250 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
251 { .name = "[in_root] chained-'..' absolute + relative symlink to 'etc/passwd'", in test_openat2_opath_tests()
253 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
254 { .name = "[in_root] absolute symlink to 'etc/passwd'", in test_openat2_opath_tests()
256 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
257 { .name = "[in_root] absolute path 'etc/passwd'", 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()
260 { .name = "[in_root] cheeky absolute path 'etc/passwd'", in test_openat2_opath_tests()
262 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
263 { .name = "[in_root] chained cheeky absolute path 'etc/passwd'", in test_openat2_opath_tests()
265 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
268 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
271 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
274 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
277 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
280 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
283 .out.path = "etc/passwd", .pass = true }, in test_openat2_opath_tests()
357 .out.path = "etc/passwd", .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()
388 { .name = "[no_symlinks] ordinary path to 'etc'", 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()
391 { .name = "[no_symlinks] ordinary path to 'etc/passwd'", 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()