realpath
if (realpath(from, path) == NULL) {
if ((p = realpath(path, buf)) == NULL) {
if (realpath(name, buf) == NULL) {
if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL)
if (realpath(name, buf) == NULL) {
if (pw_dir != NULL && realpath(pw_dir, homedir) != NULL)
if (realpath(sk_provider, canonical_provider) == NULL) {
if (realpath(provider, canonical_provider) == NULL) {
if (realpath(provider, canonical_provider) == NULL) {
__ssp_redirect_raw_impl(char *, realpath, realpath,
return (__ssp_real(realpath)(path, buf));
char *realpath(const char * __restrict, char * __restrict);
__ssp_real(realpath)(const char * __restrict path, char * __restrict resolved)
ATF_REQUIRE_MSG(realpath(template, dir) != NULL,
ATF_REQUIRE_ERRNO(ENOENT, realpath(path, resb) == NULL);
ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL);
ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL);
ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL);
ATF_REQUIRE_ERRNO(ENOENT, realpath("foo/bar/baz", resb) == NULL);
ATF_REQUIRE_ERRNO(EACCES, realpath("foo/bar/baz", resb) == NULL);
ATF_REQUIRE_ERRNO(ENOTDIR, realpath("bar/baz", resb) == NULL);
ATF_REQUIRE_ERRNO(EINVAL, realpath(NULL, NULL) == NULL);
ATF_REQUIRE_ERRNO(ENOENT, realpath("", resb) == NULL);
ATF_REQUIRE(realpath(path, resb) == NULL);
realpath(".", __stack.__buf);
realpath(".", __stack.__buf);
realpath(".", __stack.__buf);
realpath(".", __stack.__buf);
realpath(".", __stack.__buf);
newpath = realpath(path, NULL);
resolvedpath = realpath(pathname, NULL);
realpath(pathname, reserved_path)
ATF_REQUIRE(realpath(file, origpath) != NULL);
origpath = realpath(file, NULL);
rp = realpath(path, NULL);
if (realpath(path, rpath) == 0)
if (realpath(path, resolved) == NULL || stat(resolved, &sb) != 0)
if (realpath(path, resolved) == NULL || stat(resolved, &sb) != 0)
char realpath[1024];
snprintf(realpath, sizeof(realpath), "%s", hp->tftpdir->string);
clntpath = &realpath[strlen(realpath)];
realpath[0] = '\0';
clntpath = realpath;
if (chk_access(realpath, &bootsize) < 0) {
if (chk_access(realpath, &bootsize) < 0) {
outpath = realpath(inpath, NULL);
REG_SIMPLE(realpath),
if (realpath(path, base) == NULL) {
if (realpath(res, res1) != NULL) {
newcfgpath = realpath(cfgpath, NULL);
if (realpath(path, pathbuf) == NULL)
if (realpath(path, pathbuf) == NULL)
fflag = realpath(optarg, NULL);
if (realpath(fn, mdio.md_file) == NULL)
if (realpath(fs->fs_file, realfsfile) == NULL) {
if (realpath(path, resolved) == NULL || stat(resolved, sbp) != 0)
char *abspath = realpath(exec_prog_.c_str(), NULL);
if (realpath(file->path, rpath) == 0 ||
if (realpath(file, path + 4) == NULL) {
if (realpath(from_name, src) == NULL)
if (realpath(from_name, src) == NULL)
if (realpath(dir, dst) == NULL)
if (realpath(tmpdir, buf) == NULL) {
if (realpath("../..", srcdir) == NULL)
} else if (realpath(Filename, resolved_path) != NULL &&
p->realsrcdir = realpath(p->srcdir, NULL);
if (realpath(rpcpath, dirpath) == NULL ||
if (realpath(rpcpath, dirpath) == NULL) {
if (realpath(path, resolved) == NULL || /* can create full path */
if (!realpath(dev_name, cpath)) /* get canonical name for info purposes */