aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/paths.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-24 18:25:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-24 18:25:09 -0700
commit05b6aa32a5f1633797f7eae390b3a8048b29ca69 (patch)
tree43543261bb5485b1c109e0e9f93dcb2f7bcd227d /system/include/libc/paths.h
parent6010666be99cd0322babba1174cfbc65c776deb5 (diff)
parent8e2d812b49f7de9487e1c816229106af0cf39d0d (diff)
Merge branch 'incoming'
Diffstat (limited to 'system/include/libc/paths.h')
-rw-r--r--system/include/libc/paths.h35
1 files changed, 30 insertions, 5 deletions
diff --git a/system/include/libc/paths.h b/system/include/libc/paths.h
index 36cf78a9..22848704 100644
--- a/system/include/libc/paths.h
+++ b/system/include/libc/paths.h
@@ -1,7 +1,32 @@
-#ifndef _PATHS_H_
-#define _PATHS_H_
+#ifndef _PATHS_H
+#define _PATHS_H
-#define _PATH_DEV "/dev/"
-#define _PATH_BSHELL "/bin/sh"
+#define _PATH_DEFPATH "/usr/local/bin:/bin:/usr/bin"
+#define _PATH_STDPATH "/bin:/usr/bin:/sbin:/usr/sbin"
-#endif /* _PATHS_H_ */
+#define _PATH_BSHELL "/bin/sh"
+#define _PATH_CONSOLE "/dev/console"
+#define _PATH_DEVNULL "/dev/null"
+#define _PATH_KLOG "/proc/kmsg"
+#define _PATH_LASTLOG "/var/log/lastlog"
+#define _PATH_MAILDIR "/var/mail"
+#define _PATH_MAN "/usr/share/man"
+#define _PATH_MNTTAB "/etc/fstab"
+#define _PATH_MOUNTED "/etc/mtab"
+#define _PATH_NOLOGIN "/etc/nologin"
+#define _PATH_SENDMAIL "/usr/sbin/sendmail"
+#define _PATH_SHADOW "/etc/shadow"
+#define _PATH_SHELLS "/etc/shells"
+#define _PATH_TTY "/dev/tty"
+#define _PATH_UTMP "/dev/null/utmp"
+#define _PATH_VI "/usr/bin/vi"
+#define _PATH_WTMP "/dev/null/wtmp"
+#define _PATH_LASTLOG "/var/log/lastlog"
+
+#define _PATH_DEV "/dev/"
+#define _PATH_TMP "/tmp/"
+#define _PATH_VARDB "/var/lib/misc/"
+#define _PATH_VARRUN "/var/run/"
+#define _PATH_VARTMP "/var/tmp/"
+
+#endif