/coreutils/src/ |
D | selinux.c | 72 computecon (char const *path, mode_t mode, char **con) in computecon() argument 79 char *dir = dir_name (path); in computecon() 111 char const *path, mode_t mode) in defaultcon() argument 121 if (! IS_ABSOLUTE_FILE_NAME (path)) in defaultcon() 124 newpath = canonicalize_filename_mode (path, CAN_MISSING); in defaultcon() 127 path = newpath; in defaultcon() 130 if (selabel_lookup (selabel_handle, &scon, path, mode) < 0) in defaultcon() 141 if (computecon (path, mode, &tcon) < 0) in defaultcon() 178 restorecon_private (struct selabel_handle *selabel_handle, char const *path) in restorecon_private() argument 198 rc = lsetfilecon (path, tcon); in restorecon_private() [all …]
|
D | realpath.c | 113 path_prefix (char const *prefix, char const *path) in path_prefix() argument 117 path++; in path_prefix() 122 return *path != '/'; in path_prefix() 126 return *path == '/'; in path_prefix() 129 while (*prefix && *path) in path_prefix() 131 if (*prefix != *path) in path_prefix() 134 path++; in path_prefix() 136 return (!*prefix && (*path == '/' || !*path)); in path_prefix() 140 isdir (char const *path) in isdir() argument 143 if (stat (path, &sb) != 0) in isdir() [all …]
|
D | stdbuf.c | 144 char *path = xreadlink ("/proc/self/exe"); in set_program_path() local 145 if (path) in set_program_path() 146 program_path = dir_name (path); in set_program_path() 147 else if ((path = getenv ("PATH"))) in set_program_path() 150 path = xstrdup (path); in set_program_path() 151 for (dir = strtok (path, ":"); dir != nullptr; in set_program_path() 164 free (path); in set_program_path() 223 char const *const *path = search_path; in set_LD_PRELOAD() local 230 if (!**path) /* system default */ in set_LD_PRELOAD() 235 ret = asprintf (&libstdbuf, "%s/%s", *path, LIB_NAME); in set_LD_PRELOAD() [all …]
|
D | selinux.h | 36 char const *path, bool recurse); 39 char const *path, mode_t mode); 45 char const *path, bool recurse) in restorecon() argument 50 char const *path, mode_t mode) in defaultcon() argument
|
D | ls.c | 4746 file_escape (char const *str, bool path) in file_escape() argument 4752 if (path && ISSLASH (*str)) in file_escape()
|
/coreutils/tests/cp/ |
D | nfs-removal-race.sh | 50 __xstat (int ver, const char *path, struct stat *st) 52 static int (*real_stat)(int ver, const char *path, struct stat *st) = NULL; 58 return real_stat (ver, *path == 'd' && path[1] == 0 ? "d2" : path, st);
|
D | no-ctx.sh | 33 int getfilecon (const char *path, char **con) 42 int lgetfilecon (const char *path, char **con) 43 { return getfilecon (path, con); }
|
/coreutils/tests/du/ |
D | move-dir-while-traversing.sh | 41 dest_parent = os.path.dirname(os.path.dirname(dir)) 42 dest = os.path.join(dest_parent, os.path.basename(dir))
|
/coreutils/tests/df/ |
D | no-mtab-status.sh | 44 FILE* fopen(const char *path, const char *mode) 63 if (STREQ (path, "/proc/self/mountinfo")) 69 return fopen_func(path, mode);
|
D | skip-duplicates.sh | 55 FILE* fopen(const char *path, const char *mode) 74 if (STREQ (path, "/proc/self/mountinfo")) 80 return fopen_func(path, mode);
|
/coreutils/tests/ls/ |
D | getxattr-speedup.sh | 44 ssize_t getxattr (const char *path, const char *name, void *value, size_t size) 46 ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size)
|
/coreutils/ |
D | .gitmodules | 2 path = gnulib
|
D | README-hacking | 46 $ export GNULIB_SRCDIR=/path/to/gnulib
|
D | bootstrap | 503 gnulib_path=$(git_modules_config submodule.gnulib.path) 1106 git config --file .gitmodules submodule.gnulib.path)
|
D | init.cfg | 545 # Return nonzero if the specified path is on a file system for
|
D | NEWS | 1783 the relative link on the dereferenced path of an existing link. 3127 file. Now, even on such a system, path resolution obeys the POSIX 5727 * pathchk now exits nonzero for a path with a directory component
|
/coreutils/man/ |
D | realpath.x | 2 realpath \- print the resolved path
|
/coreutils/doc/ |
D | local.mk | 62 sc-avoid-path \ 87 sc-avoid-path:
|
D | coreutils.texi | 13446 your shell's search path, and not a shell alias or a built-in function. 17807 possible path search result); if the command exists, the environment 18266 module search path environment variable (@samp{PYTHONPATH}):
|
/coreutils/tests/ |
D | d_type-check | 40 fname = os.path.basename(fname)
|