Fix _PATH_DEFPATH to correspond to the actual default path.

This is currently set in init.rc, but I plan on making init
set PATH to _PATH_DEFPATH and removing the line from init.rc...

Bug: 19564110
Change-Id: Ifa7226a3a5a90d141a788d7d6b1ae86245674218
This commit is contained in:
Elliott Hughes 2015-03-17 17:34:14 -07:00
parent 5f8ddf69e5
commit 1101962447

View File

@ -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_ */