diff options
author | Elliott Hughes <enh@google.com> | 2015-03-18 01:15:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-18 01:15:04 +0000 |
commit | ab12dc70f3ef551c490dcfede76033e57ceee64d (patch) | |
tree | e242d477f879a04bed1066f1595763eb6fde899b | |
parent | b380b7d78cf4dbd034f51fcf7fc8ebdb037330c3 (diff) | |
parent | 110196244732911d4971ef7f9e30cc2407d8034b (diff) | |
download | bionic-ab12dc70f3ef551c490dcfede76033e57ceee64d.zip bionic-ab12dc70f3ef551c490dcfede76033e57ceee64d.tar.gz bionic-ab12dc70f3ef551c490dcfede76033e57ceee64d.tar.bz2 |
Merge "Fix _PATH_DEFPATH to correspond to the actual default path."
-rw-r--r-- | libc/include/paths.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libc/include/paths.h b/libc/include/paths.h index 33c2eee..82c2804 100644 --- a/libc/include/paths.h +++ b/libc/include/paths.h @@ -32,18 +32,13 @@ #ifndef _PATHS_H_ #define _PATHS_H_ -/* Default search path. */ -#define _PATH_DEFPATH "/system/bin:/system/xbin" - #define _PATH_BSHELL "/system/bin/sh" #define _PATH_CONSOLE "/dev/console" +#define _PATH_DEFPATH "/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin" +#define _PATH_DEV "/dev/" #define _PATH_DEVNULL "/dev/null" #define _PATH_KLOG "/proc/kmsg" - #define _PATH_MOUNTED "/proc/mounts" #define _PATH_TTY "/dev/tty" -/* Provide trailing slash, since mostly used for building pathnames. */ -#define _PATH_DEV "/dev/" - #endif /* !_PATHS_H_ */ |