Home
last modified time | relevance | path

Searched refs:realpath (Results 1 – 25 of 207) sorted by relevance

123456789

/freebsd/lib/libc/tests/gen/
H A Drealpath2_test.c47 ATF_REQUIRE_ERRNO(EINVAL, realpath(NULL, NULL) == NULL); in ATF_TC_BODY()
61 ATF_REQUIRE_ERRNO(ENOENT, realpath("", resb) == NULL); in ATF_TC_BODY()
80 ATF_REQUIRE(realpath(path, resb) == NULL); in ATF_TC_BODY()
109 ATF_REQUIRE_ERRNO(ENOENT, realpath(path, resb) == NULL); in ATF_TC_BODY()
130 ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL); in ATF_TC_BODY()
137 ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL); in ATF_TC_BODY()
145 ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL); in ATF_TC_BODY()
152 ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL); in ATF_TC_BODY()
159 ATF_REQUIRE_ERRNO(EACCES, realpath("foo/bar/baz", resb) == NULL); in ATF_TC_BODY()
166 ATF_REQUIRE_ERRNO(ENOTDIR, realpath("bar/baz", resb) == NULL); in ATF_TC_BODY()
/freebsd/contrib/unbound/
H A Dfreebsd-configure.sh13 unbound=$(dirname $(realpath $0))
25 ldnssrc=$(realpath $unbound/../ldns)
29 ldnsbld=$(realpath $unbound/../../lib/libldns)
32 ldnsobj=$(realpath $(make -C$ldnsbld -V.OBJDIR))
/freebsd/contrib/ntp/sntp/m4/
H A Drealpath.m48 # This macro defines HAVE_FUNC_REALPATH if we have a realpath()
25 AC_MSG_CHECKING([for a POSIX-2008 compliant realpath()])
34 int main() { return (NULL == realpath(".", NULL)); }
44 [Define to 1 if we have realpath() that supports NULL as the 2nd argument])
/freebsd/include/ssp/
H A Dstdlib.h45 __ssp_redirect_raw_impl(char *, realpath, realpath,
51 return (__ssp_real(realpath)(path, buf));
/freebsd/tools/tools/nanobsd/embedded/
H A Dcommon86 NANO_CFG_BASE=$(realpath ${NANO_CFG_BASE}/..)
87 NANO_SRC=$(realpath ${NANO_CFG_BASE}/../../..)
104 NANO_OBJ=$(realpath ${NANO_OBJ})
106 NANO_LOG=$(realpath ${NANO_LOG})
108 NANO_WORLDDIR=$(realpath ${NANO_WORLDDIR})
110 NANO_DISKIMGDIR=$(realpath ${NANO_DISKIMGDIR})
333 rp=$(realpath ${NANO_OBJ}/)
/freebsd/sbin/bectl/tests/
H A Dbectl_test.sh90 cwd=$(realpath .)
153 cwd=$(realpath .)
241 cwd=$(realpath .)
277 cwd=$(realpath .)
320 cwd=$(realpath .)
362 cwd=$(realpath .)
397 cwd=$(realpath .)
512 cwd=$(realpath .)
565 cwd=$(realpath .)
609 cwd=$(realpath .)
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_realpath.c83 ptr = realpath(paths[i].path, buf); in ATF_TC_BODY()
110 ATF_CHECK(realpath(buffer, result) != NULL); in ATF_TC_BODY()
147 ATF_REQUIRE(realpath(slnk, resb) != NULL); in ATF_TC_BODY()
/freebsd/targets/pseudo/bootstrap-packages/
H A Dbootstrap-packages.sh62 SRCTOP=${SRCTOP:-$(realpath $Mydir/../../..)}
66 PACKAGES=${PACKAGES:-$(realpath $Mydir/../..)}
72 script_name=$(realpath $0 | to_reldir)
/freebsd/lib/libc/tests/secure/
H A Dfortify_stdlib_test.c466 realpath(".", __stack.__buf);
487 realpath(".", __stack.__buf);
510 realpath(".", __stack.__buf);
533 realpath(".", __stack.__buf);
565 realpath(".", __stack.__buf);
/freebsd/libexec/bootpd/
H A Dbootpd.c625 char realpath[1024]; in handle_request() local
834 snprintf(realpath, sizeof(realpath), "%s", hp->tftpdir->string); in handle_request()
835 clntpath = &realpath[strlen(realpath)]; in handle_request()
837 realpath[0] = '\0'; in handle_request()
838 clntpath = realpath; in handle_request()
895 if (chk_access(realpath, &bootsize) < 0) { in handle_request()
897 if (chk_access(realpath, &bootsize) < 0) { in handle_request()
/freebsd/crypto/openssh/
H A Dfreebsd-namespace.sh21 self=$(realpath ${0})
43 libssh_builddir=$(realpath $(ssh_make -V.OBJDIR))
/freebsd/tools/tools/shlib-compat/
H A Dshlib-compat-dirs.sh33 rorig=`realpath $orig`
34 rnew=`realpath $new`
/freebsd/cddl/usr.sbin/dtrace/tests/tools/
H A Dgenmakefiles.sh92 readonly ORIGINDIR=$(realpath $(dirname $0))
93 readonly TOPDIR=$(realpath ${ORIGINDIR}/../../../../..)
/freebsd/contrib/bmake/mk/
H A Dinstall-mk131 realpath() {
144 dest=`realpath $dest`
145 sys_mk_dir=`realpath $SYS_MK_DIR`
163 [ -z "$SKIP" ] && dest=`realpath $dest`
/freebsd/usr.sbin/quot/tests/
H A Dquot_test.sh14 local mnt=$(realpath mnt)
67 atf_check -o file:expect quot -fkN $(realpath mnt)
/freebsd/tools/tools/nanobsd/
H A Dfill_pkg.sh135 NANO_PKG_DUMP=`realpath $1`
142 NANO_PKG_DIR=`realpath $1`
/freebsd/crypto/openssh/regress/
H A Dcheck-perm.c102 if (realpath(name, buf) == NULL) { in auth_secure_path()
107 if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL) in auth_secure_path()
/freebsd/tests/sys/netinet/
H A Doutput.sh54 script_name=`realpath ${script_name}`
124 script_name=`realpath ${script_name}`
191 script_name=`realpath ${script_name}`
259 script_name=`realpath ${script_name}`
388 script_name=`realpath ${script_name}`
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c439 realp = realpath(dm_name, NULL); in dm_get_underlying_path()
607 tmp = realpath(dev_name, NULL); in zfs_get_underlying_path()
662 if (realpath(path, nodepath) == NULL) in is_mpath_whole_disk()
/freebsd/contrib/wpa/src/drivers/
H A Drfkill.c119 phy = realpath(buf, NULL); in rfkill_init()
160 rfk_phy = realpath(buf2, NULL); in rfkill_init()
/freebsd/bin/realpath/
H A DMakefile2 PROG= realpath
/freebsd/tests/sys/cddl/zfs/bin/
H A Dtestenv.ksh2 script=$(realpath $0)
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp226 INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { in INTERCEPTOR() argument
228 return REAL(realpath)(path, resolved_path); in INTERCEPTOR()
323 INTERCEPT_FUNCTION(realpath); in InitializeInterceptors()
/freebsd/tools/tools/makeroot/
H A Dmakeroot.sh98 IMGFILE=$(realpath $(dirname $1))/$(basename $1)
186 extradir=`realpath ${eman}`; extradir=`dirname ${extradir}`
/freebsd/lib/libc/stdlib/
H A DMakefile.inc53 realpath.c \
97 radixsort.3 rand.3 random.3 reallocarray.3 reallocf.3 realpath.3 \

123456789