sl@0: /* sl@0: * Copyright (c) 1989, 1993 sl@0: * The Regents of the University of California. All rights reserved. sl@0: * sl@0: * Redistribution and use in source and binary forms, with or without sl@0: * modification, are permitted provided that the following conditions sl@0: * are met: sl@0: * 1. Redistributions of source code must retain the above copyright sl@0: * notice, this list of conditions and the following disclaimer. sl@0: * 2. Redistributions in binary form must reproduce the above copyright sl@0: * notice, this list of conditions and the following disclaimer in the sl@0: * documentation and/or other materials provided with the distribution. sl@0: * 4. Neither the name of the University nor the names of its contributors sl@0: * may be used to endorse or promote products derived from this software sl@0: * without specific prior written permission. sl@0: * sl@0: * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND sl@0: * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE sl@0: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE sl@0: * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE sl@0: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL sl@0: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS sl@0: * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) sl@0: * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT sl@0: * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY sl@0: * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF sl@0: * SUCH DAMAGE. sl@0: * © Portions Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. sl@0: * @(#)paths.h 8.1 (Berkeley) 6/2/93 sl@0: * $FreeBSD: src/include/paths.h,v 1.25 2004/01/04 17:17:46 iedowse Exp $ sl@0: */ sl@0: sl@0: #ifndef _PATHS_H_ sl@0: #define _PATHS_H_ sl@0: sl@0: #include sl@0: sl@0: /* Default search path. */ sl@0: #define _PATH_DEFPATH "/usr/bin:/bin" sl@0: /* All standard utilities path. */ sl@0: #define _PATH_STDPATH \ sl@0: "/usr/bin:/bin:/usr/sbin:/sbin:" sl@0: /* Locate system binaries */ sl@0: #define _PATH_SYSPATH \ sl@0: "/sbin:/usr/sbin" sl@0: sl@0: #define _PATH_AUTHCONF "/etc/auth.conf" sl@0: #define _PATH_BSHELL "/bin/sh" sl@0: #define _PATH_CAPABILITY "/etc/capability" sl@0: #define _PATH_CAPABILITY_DB "/etc/capability.db" sl@0: #define _PATH_CONSOLE "/dev/console" sl@0: #define _PATH_CP "/bin/cp" sl@0: #define _PATH_CSHELL "/bin/csh" sl@0: #define _PATH_DEFTAPE "/dev/sa0" sl@0: #define _PATH_DEVNULL "/dev/null" sl@0: #define _PATH_DEVZERO "/dev/zero" sl@0: #define _PATH_DRUM "/dev/drum" sl@0: #define _PATH_ETC "/etc" sl@0: #define _PATH_FTPUSERS "/etc/ftpusers" sl@0: #define _PATH_HALT "/sbin/halt" sl@0: #define _PATH_IFCONFIG "/sbin/ifconfig" sl@0: #define _PATH_KMEM "/dev/kmem" sl@0: #define _PATH_LIBMAP_CONF "/etc/libmap.conf" sl@0: #define _PATH_LOCALE "/usr/share/locale" sl@0: #define _PATH_LOGIN "/usr/bin/login" sl@0: #define _PATH_MAILDIR "/var/mail" sl@0: #define _PATH_MAN "/usr/share/man" sl@0: #define _PATH_MDCONFIG "/sbin/mdconfig" sl@0: #define _PATH_MEM "/dev/mem" sl@0: #define _PATH_MKSNAP_FFS "/sbin/mksnap_ffs" sl@0: #define _PATH_MOUNT "/sbin/mount" sl@0: #define _PATH_NEWFS "/sbin/newfs" sl@0: #define _PATH_NOLOGIN "/var/run/nologin" sl@0: #define _PATH_RCP "/bin/rcp" sl@0: #define _PATH_REBOOT "/sbin/reboot" sl@0: #define _PATH_RLOGIN "/usr/bin/rlogin" sl@0: #define _PATH_RM "/bin/rm" sl@0: #define _PATH_RSH "/usr/bin/rsh" sl@0: #define _PATH_SENDMAIL "/usr/sbin/sendmail" sl@0: #define _PATH_SHELLS "/etc/shells" sl@0: #define _PATH_TTY "/dev/tty" sl@0: #define _PATH_UNIX "don't use _PATH_UNIX" sl@0: #define _PATH_VI "/usr/bin/vi" sl@0: #define _PATH_WALL "/usr/bin/wall" sl@0: sl@0: /* Provide trailing slash, since mostly used for building pathnames. */ sl@0: #define _PATH_DEV "/dev/" sl@0: #define _PATH_TMP "/tmp/" sl@0: #define _PATH_VARDB "/var/db/" sl@0: #define _PATH_VARRUN "/var/run/" sl@0: #define _PATH_VARTMP "/var/tmp/" sl@0: #define _PATH_YP "/var/yp/" sl@0: #define _PATH_UUCPLOCK "/var/spool/lock/" sl@0: sl@0: #ifdef RESCUE sl@0: #undef _PATH_DEFPATH sl@0: #define _PATH_DEFPATH "/rescue:/usr/bin:/bin" sl@0: #undef _PATH_STDPATH sl@0: #define _PATH_STDPATH "/rescue:/usr/bin:/bin:/usr/sbin:/sbin" sl@0: #undef _PATH_SYSPATH sl@0: #define _PATH_SYSPATH "/rescue:/sbin:/usr/sbin" sl@0: #undef _PATH_BSHELL sl@0: #define _PATH_BSHELL "/rescue/sh" sl@0: #undef _PATH_CP sl@0: #define _PATH_CP "/rescue/cp" sl@0: #undef _PATH_CSHELL sl@0: #define _PATH_CSHELL "/rescue/csh" sl@0: #undef _PATH_HALT sl@0: #define _PATH_HALT "/rescue/halt" sl@0: #undef _PATH_IFCONFIG sl@0: #define _PATH_IFCONFIG "/rescue/ifconfig" sl@0: #undef _PATH_MDCONFIG sl@0: #define _PATH_MDCONFIG "/rescue/mdconfig" sl@0: #undef _PATH_MOUNT sl@0: #define _PATH_MOUNT "/rescue/mount" sl@0: #undef _PATH_NEWFS sl@0: #define _PATH_NEWFS "/rescue/newfs" sl@0: #undef _PATH_RCP sl@0: #define _PATH_RCP "/rescue/rcp" sl@0: #undef _PATH_REBOOT sl@0: #define _PATH_REBOOT "/rescue/reboot" sl@0: #undef _PATH_RM sl@0: #define _PATH_RM "/rescue/rm" sl@0: #undef _PATH_VI sl@0: #define _PATH_VI "/rescue/vi" sl@0: #undef _PATH_WALL sl@0: #define _PATH_WALL "/rescue/wall" sl@0: #endif /* RESCUE */ sl@0: sl@0: #endif /* !_PATHS_H_ */