Home
last modified time | relevance | path

Searched refs:symlink (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsftp-realpath.c65 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; in sftp_realpath() local
173 slen = readlink(resolved, symlink, sizeof(symlink) - 1); in sftp_realpath()
176 symlink[slen] = '\0'; in sftp_realpath()
177 if (symlink[0] == '/') { in sftp_realpath()
194 if (symlink[slen - 1] != '/') { in sftp_realpath()
196 (ptrdiff_t)sizeof(symlink)) { in sftp_realpath()
200 symlink[slen] = '/'; in sftp_realpath()
201 symlink[slen + 1] = 0; in sftp_realpath()
203 left_len = strlcat(symlink, left, sizeof(symlink)); in sftp_realpath()
204 if (left_len >= sizeof(symlink)) { in sftp_realpath()
[all …]
/netbsd-src/external/gpl2/gmake/dist/tests/scripts/options/
H A Dsymlinks5 $details = "Verify that symlink handling with and without -L works properly.";
10 # (in that the symlink() function doesn't fail) but it really doesn't, so
13 if ($port_type eq 'W32' || !( eval { symlink("",""); 1 })) {
18 # Set up a symlink sym -> dep
24 symlink("../$dirnm/dep", 'sym');
45 symlink('dep1', 'dep');
55 # should get an error: with -L we should use the timestamp of the symlink.
57 symlink("../$dirname/dep", 'sym');
/netbsd-src/tests/lib/librumphijack/
H A Dt_cwd.sh51 test_case symlink_chdir /rump symlink chdir
52 test_case symlink_fchdir /rump symlink fchdir
53 test_case symlink_slash_chdir // symlink chdir
54 test_case symlink_slash_fchdir // symlink fchdir
/netbsd-src/external/apache2/llvm/dist/libcxx/cmake/Modules/
H A DDefineLinkerScript.cmake1 # This function defines a linker script in place of the symlink traditionally
12 # the symlink pointing to the actual shared library (usually
26 set(symlink "$<TARGET_LINKER_FILE:${target}>") variable
51 COMMAND "${CMAKE_COMMAND}" -E remove "${symlink}"
52 COMMAND "${CMAKE_COMMAND}" -E echo "${linker_script}" > "${symlink}"
53 COMMENT "Generating linker script: '${linker_script}' as file ${symlink}"
/netbsd-src/usr.sbin/lpr/lp/
H A Dlp44 symlink="-s"
59 symlink="";;
75 exec /usr/bin/lpr "-P${dest}" ${reqid} ${symlink} ${ncopies} "$@"
/netbsd-src/external/apache2/llvm/dist/libcxx/src/filesystem/
H A Dposix_compat.h457 const auto &symlink = reparse->SymbolicLinkReparseBuffer; in readlink() local
459 if (symlink.PrintNameLength == 0) { in readlink()
460 name_offset = symlink.SubstituteNameOffset; in readlink()
461 name_length = symlink.SubstituteNameLength; in readlink()
463 name_offset = symlink.PrintNameOffset; in readlink()
464 name_length = symlink.PrintNameLength; in readlink()
475 memcpy(ret_buf, &symlink.PathBuffer[name_offset / sizeof(wchar_t)], in readlink()
482 return ::symlink(oldname, newname);
485 return ::symlink(oldname, newname);
/netbsd-src/usr.sbin/makefs/
H A Dwalk.c340 cur->symlink = estrdup(slink); in create_fsnode()
424 if (cur->symlink) in apply_specfile()
425 free(cur->symlink); in apply_specfile()
604 curfsnode->symlink = estrdup(curnode->slink); in apply_specentry()
658 assert(dirnode->symlink != NULL); in apply_specentry()
660 ASEPRINT("symlink", "%s", dirnode->symlink, specnode->slink); in apply_specentry()
661 free(dirnode->symlink);
662 dirnode->symlink = estrdup(specnode->slink);
723 assert(cur->symlink !
[all...]
/netbsd-src/tests/lib/libc/c063/
H A Dt_readlinkat.c67 ATF_REQUIRE(symlink(FILE, LINK) == 0); in ATF_TC_BODY()
93 ATF_REQUIRE(symlink(FILE, LINK) == 0); in ATF_TC_BODY()
143 ATF_REQUIRE(symlink(FILE, LINK) == 0); in ATF_TC_BODY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dfs_dir.h231 return _M_type == file_type::symlink; in _GLIBCXX_VISIBILITY()
232 return symlink_status().type() == file_type::symlink; in _GLIBCXX_VISIBILITY()
239 return _M_type == file_type::symlink; in _GLIBCXX_VISIBILITY()
240 return symlink_status(__ec).type() == file_type::symlink; in _GLIBCXX_VISIBILITY()
335 if (_M_type != file_type::none && _M_type != file_type::symlink) in _GLIBCXX_VISIBILITY()
344 if (_M_type != file_type::none && _M_type != file_type::symlink) in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dfs_dir.h240 return _M_type == file_type::symlink; in _GLIBCXX_VISIBILITY()
241 return symlink_status().type() == file_type::symlink; in _GLIBCXX_VISIBILITY()
248 return _M_type == file_type::symlink; in _GLIBCXX_VISIBILITY()
249 return symlink_status(__ec).type() == file_type::symlink; in _GLIBCXX_VISIBILITY()
344 if (_M_type != file_type::none && _M_type != file_type::symlink) in _GLIBCXX_VISIBILITY()
353 if (_M_type != file_type::none && _M_type != file_type::symlink) in _GLIBCXX_VISIBILITY()
/netbsd-src/tests/usr.sbin/mtree/
H A Dd_convert_C.out2 ./a.symlink.1 type=link link=a.file.1
4 ./top.symlink.b type=link link=b
H A Dd_convert_D_S.out2 type=link link=a.file.1 ./a.symlink.1
5 type=link link=b ./top.symlink.b
H A Dd_convert_C_S.out2 ./a.symlink.1 type=link link=a.file.1
5 ./top.symlink.b type=link link=b
H A Dd_convert_D.out2 type=link link=a.file.1 ./a.symlink.1
4 type=link link=b ./top.symlink.b
H A Dnetbsd6_d_create.out9 a.symlink.1 type=link link=a.file.1
14 top.symlink.b \
H A Dmtree_d_create.out9 a.symlink.1 type=link link=a.file.1
14 top.symlink.b \
H A Dd_convert.in7 a.symlink.1 type=link link=a.file.1
9 top.symlink.b \
/netbsd-src/external/gpl3/autoconf/dist/bin/
H A Dautoreconf.in121 my $symlink = 0;
159 's|symlink' => \$symlink,
207 $automake .= ' --copy' unless $symlink;
208 $libtoolize .= ' --copy' unless $symlink;
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/build/
H A Dsymlink_or_copy.gni1 # Creates a symlink (or, on Windows, copies).
4 # output: Where to create the symlink.
H A Dsymlink_or_copy.py31 os.symlink(args.source, args.output)
35 os.symlink(args.source, args.output)
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/m4/
H A Dlstat.m446 if (symlink ("conftest.file", "conftest.sym") != 0)
48 /* Linux will dereference the symlink and fail, as required by
75 [Define to 1 if 'lstat' dereferences a symlink specified
H A Dglob.m438 # If we can't make a symlink, then we cannot test this issue. Be
70 AC_CACHE_CHECK([whether glob NOTDIR*/ omits symlink to nondir],
77 # If we can't make a symlink, then we cannot test this issue. Be
/netbsd-src/sys/fs/efs/
H A Defs_dinode.h84 char symlink[sizeof(struct efs_dextent) * EFS_DIRECTEXTENTS]; member
102 #define di_symlink di_u.symlink
/netbsd-src/usr.bin/audiocfg/
H A Daudiodev.c231 if (symlink(audiopath, _PATH_AUDIO) == -1) { in audiodev_set_default()
235 if (symlink(soundpath, _PATH_SOUND) == -1) { in audiodev_set_default()
239 if (symlink(audioctlpath, _PATH_AUDIOCTL) == -1) { in audiodev_set_default()
243 if (symlink(mixerpath, _PATH_MIXER) == -1) { in audiodev_set_default()
/netbsd-src/external/gpl3/autoconf/dist/build-aux/
H A Dgnupload152 --symlink-regex=*)
155 --symlink-regex)
158 --symlink)

12345678910>>...23