Searched refs:symlink (Results 1 - 25 of 133) sorted by relevance

123456

/freebsd-10.0-release/tools/regression/pjdfstest/tests/symlink/
H A D12.t4 desc="symlink returns EFAULT if one of the pathnames specified is outside the process's allocated address space"
13 expect EFAULT symlink NULL ${n0}
14 expect EFAULT symlink DEADCODE ${n0}
15 expect EFAULT symlink test NULL
16 expect EFAULT symlink test DEADCODE
17 expect EFAULT symlink NULL DEADCODE
18 expect EFAULT symlink DEADCODE NULL
H A D02.t4 desc="symlink returns ENAMETOOLONG if a component of the name2 pathname exceeded {NAME_MAX} characters"
15 expect 0 symlink ${nx} ${n0}
17 expect 0 symlink ${n0} ${nx}
20 expect ENAMETOOLONG symlink ${n0} ${nxx}
21 expect 0 symlink ${nxx} ${n0}
H A D03.t4 desc="symlink returns ENAMETOOLONG if an entire length of either path name exceeded {PATH_MAX} characters"
16 expect 0 symlink ${nx} ${n0}
18 expect 0 symlink ${n0} ${nx}
20 expect ENAMETOOLONG symlink ${n0} ${nxx}
21 expect ENAMETOOLONG symlink ${nxx} ${n0}
H A D07.t4 desc="symlink returns ELOOP if too many symbolic links were encountered in translating the name2 path name"
14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
16 expect ELOOP symlink test ${n0}/test
17 expect ELOOP symlink test ${n1}/test
H A D08.t4 desc="symlink returns EEXIST if the name2 argument already exists"
13 for type in regular dir fifo block char socket symlink; do
15 expect EEXIST symlink test ${n0}
H A D09.t4 desc="symlink returns EPERM if the parent directory of the file named by name2 has its immutable flag set"
27 expect 0 symlink test ${n0}/${n1}
31 expect EPERM symlink test ${n0}/${n1}
33 expect 0 symlink test ${n0}/${n1}
37 expect 0 symlink test ${n0}/${n1}
42 expect 0 symlink test ${n0}/${n1}
49 expect EPERM symlink test ${n0}/${n1}
51 expect 0 symlink test ${n0}/${n1}
55 expect 0 symlink test ${n0}/${n1}
60 expect 0 symlink tes
[all...]
H A D00.t4 desc="symlink creates symbolic links"
16 expect 0 symlink ${n0} ${n1}
17 expect symlink lstat ${n1} type
26 expect 0 symlink test ${n0}/${n1}
H A D05.t4 desc="symlink returns EACCES when a component of the name2 path prefix denies search permission"
22 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2}
26 expect EACCES -u 65534 -g 65534 symlink test ${n1}/${n2}
28 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2}
H A D06.t4 desc="symlink returns EACCES if the parent directory of the file to be created denies write permission"
22 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2}
26 expect EACCES -u 65534 -g 65534 symlink test ${n1}/${n2}
28 expect 0 -u 65534 -g 65534 symlink test ${n1}/${n2}
H A D10.t4 desc="symlink returns EROFS if the file name2 would reside on a read-only file system"
22 expect 0 symlink test ${n0}/${n1}
25 expect EROFS symlink test ${n0}/${n1}
27 expect 0 symlink test ${n0}/${n1}
H A D04.t4 desc="symlink returns ENOENT if a component of the name2 path prefix does not exist"
15 expect ENOENT symlink test ${n0}/${n1}/test
/freebsd-10.0-release/usr.sbin/lpr/lp/
H A Dlp.sh43 symlink="-s"
61 symlink="";;
81 exec /usr/bin/lpr "-P${dest}" ${symlink} ${ncopies} ${mailafter} ${title:+-J"${title}"} "$@"
/freebsd-10.0-release/bin/ln/
H A DMakefile5 MAN= ln.1 symlink.7
/freebsd-10.0-release/tools/regression/pjdfstest/tests/chflags/
H A D06.t16 expect 0 symlink ${n0} ${n1}
17 expect 0 symlink ${n1} ${n0}
/freebsd-10.0-release/tools/regression/pjdfstest/tests/mkdir/
H A D07.t14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
H A D10.t13 for type in regular dir fifo block char socket symlink; do
/freebsd-10.0-release/tools/regression/pjdfstest/tests/mkfifo/
H A D07.t14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
H A D09.t13 for type in regular dir fifo block char socket symlink; do
/freebsd-10.0-release/tools/regression/pjdfstest/tests/mknod/
H A D07.t14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
/freebsd-10.0-release/tools/regression/pjdfstest/tests/open/
H A D12.t14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
/freebsd-10.0-release/tools/regression/pjdfstest/tests/rmdir/
H A D05.t14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
/freebsd-10.0-release/tools/regression/pjdfstest/tests/truncate/
H A D07.t14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
/freebsd-10.0-release/tools/regression/pjdfstest/tests/unlink/
H A D07.t14 expect 0 symlink ${n0} ${n1}
15 expect 0 symlink ${n1} ${n0}
/freebsd-10.0-release/crypto/openssh/openbsd-compat/
H A Drealpath.c47 * Find the real name of path, by removing all ".", ".." and symlink
59 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local
150 slen = readlink(resolved, symlink, sizeof(symlink) - 1);
153 symlink[slen] = '\0';
154 if (symlink[0] == '/') {
167 * append them to symlink. The result is placed
171 if (symlink[slen - 1] != '/') {
172 if (slen + 1 >= sizeof(symlink)) {
176 symlink[sle
[all...]
/freebsd-10.0-release/lib/libc/stdlib/
H A Drealpath.c46 * Find the real name of path, by removing all ".", ".." and symlink
58 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local
195 slen = readlink(resolved, symlink, sizeof(symlink) - 1);
201 symlink[slen] = '\0';
202 if (symlink[0] == '/') {
215 * append them to symlink. The result is placed
219 if (symlink[slen - 1] != '/') {
220 if (slen + 1 >= sizeof(symlink)) {
226 symlink[sle
[all...]

Completed in 207 milliseconds

123456