summaryrefslogtreecommitdiffstats
path: root/libc/include/paths.h
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-01-07 20:36:20 -0800
committerYabin Cui <yabinc@google.com>2015-01-09 20:04:04 -0800
commit3471fcbb6a7b13f8f06163f16ef52ceafa5d84a2 (patch)
treed593bfc72ade634f8d522dd37dbb1570b47659a4 /libc/include/paths.h
parent7e3766a8fcc534d92a6f7416fcbbdc092756e415 (diff)
downloadbionic-3471fcbb6a7b13f8f06163f16ef52ceafa5d84a2.zip
bionic-3471fcbb6a7b13f8f06163f16ef52ceafa5d84a2.tar.gz
bionic-3471fcbb6a7b13f8f06163f16ef52ceafa5d84a2.tar.bz2
Clean up paths.h.
Bug: 18905946 Change-Id: I02cd1ddd5c0b0af165685413bc1fb12ca6bf5f33
Diffstat (limited to 'libc/include/paths.h')
-rw-r--r--libc/include/paths.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/libc/include/paths.h b/libc/include/paths.h
index a72162f..1eba536 100644
--- a/libc/include/paths.h
+++ b/libc/include/paths.h
@@ -33,42 +33,18 @@
#define _PATHS_H_
/* Default search path. */
-#define _PATH_DEFPATH "/usr/bin:/bin"
-/* All standard utilities path. */
-#define _PATH_STDPATH \
- "/usr/bin:/bin:/usr/sbin:/sbin"
+#define _PATH_DEFPATH "/system/bin:/system/xbin"
#define _PATH_BSHELL "/system/bin/sh"
#define _PATH_CONSOLE "/dev/console"
-#define _PATH_CSHELL "/bin/csh"
-#define _PATH_DEVDB "/var/run/dev.db"
#define _PATH_DEVNULL "/dev/null"
-#define _PATH_DRUM "/dev/drum"
#define _PATH_KLOG "/proc/kmsg"
-#define _PATH_KMEM "/dev/kmem"
-#define _PATH_LASTLOG "/var/log/lastlog"
-#define _PATH_MAILDIR "/var/mail"
-#define _PATH_MAN "/usr/share/man"
#define _PATH_MEM "/dev/mem"
-#define _PATH_MNTTAB "/etc/fstab"
-#define _PATH_MOUNTED "/etc/mtab"
-#define _PATH_NOLOGIN "/etc/nologin"
-#define _PATH_PRESERVE "/var/lib"
-#define _PATH_RWHODIR "/var/spool/rwho"
-#define _PATH_SENDMAIL "/usr/sbin/sendmail"
-#define _PATH_SHADOW "/etc/shadow"
-#define _PATH_SHELLS "/etc/shells"
+
+#define _PATH_MOUNTED "/proc/mounts"
#define _PATH_TTY "/dev/tty"
-#define _PATH_UNIX "/boot/vmlinux"
-#define _PATH_UTMP "/var/run/utmp"
-#define _PATH_VI "/bin/vi"
-#define _PATH_WTMP "/var/log/wtmp"
/* Provide trailing slash, since mostly used for building pathnames. */
#define _PATH_DEV "/dev/"
-#define _PATH_TMP "/tmp/"
-#define _PATH_VARDB "/var/db/"
-#define _PATH_VARRUN "/var/run/"
-#define _PATH_VARTMP "/var/tmp/"
#endif /* !_PATHS_H_ */