Lines Matching full:symlink
38 ret = symlinkat("regfile", dfd, "symlink"); in setup_testdir()
40 ksft_exit_fail_msg("%s: failed to create symlink in tmpdir\n", in setup_testdir()
92 ret = sys_fchmodat2(dfd, "symlink", 0640, 0); in test_symlink()
101 if (!expect_mode(dfd, "symlink", 0120777)) in test_symlink()
102 ksft_exit_fail_msg("%s: wrong symlink mode bits after fchmodat2\n", in test_symlink()
105 ret = sys_fchmodat2(dfd, "symlink", 0600, AT_SYMLINK_NOFOLLOW); in test_symlink()
109 * first check the symlink target but if the operation fails we mark the in test_symlink()
114 if (ret == 0 && !expect_mode(dfd, "symlink", 0120600)) in test_symlink()
115 ksft_exit_fail_msg("%s: wrong symlink mode bits after fchmodat2 with nofollow\n", in test_symlink()
123 ksft_test_result_skip("fchmodat2(symlink)\n"); in test_symlink()
125 ksft_test_result_pass("fchmodat2(symlink)\n"); in test_symlink()