williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 1989, 1993
|
williamr@2
|
3 |
* The Regents of the University of California. All rights reserved.
|
williamr@2
|
4 |
*
|
williamr@2
|
5 |
* Redistribution and use in source and binary forms, with or without
|
williamr@2
|
6 |
* modification, are permitted provided that the following conditions
|
williamr@2
|
7 |
* are met:
|
williamr@2
|
8 |
* 1. Redistributions of source code must retain the above copyright
|
williamr@2
|
9 |
* notice, this list of conditions and the following disclaimer.
|
williamr@2
|
10 |
* 2. Redistributions in binary form must reproduce the above copyright
|
williamr@2
|
11 |
* notice, this list of conditions and the following disclaimer in the
|
williamr@2
|
12 |
* documentation and/or other materials provided with the distribution.
|
williamr@2
|
13 |
* 4. Neither the name of the University nor the names of its contributors
|
williamr@2
|
14 |
* may be used to endorse or promote products derived from this software
|
williamr@2
|
15 |
* without specific prior written permission.
|
williamr@2
|
16 |
*
|
williamr@2
|
17 |
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
williamr@2
|
18 |
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
williamr@2
|
19 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
williamr@2
|
20 |
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
williamr@2
|
21 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
williamr@2
|
22 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
williamr@2
|
23 |
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
williamr@2
|
24 |
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
williamr@2
|
25 |
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
williamr@2
|
26 |
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
williamr@2
|
27 |
* SUCH DAMAGE.
|
williamr@2
|
28 |
* © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
|
williamr@2
|
29 |
* @(#)paths.h 8.1 (Berkeley) 6/2/93
|
williamr@2
|
30 |
* $FreeBSD: src/include/paths.h,v 1.25 2004/01/04 17:17:46 iedowse Exp $
|
williamr@2
|
31 |
*/
|
williamr@2
|
32 |
|
williamr@2
|
33 |
#ifndef _PATHS_H_
|
williamr@2
|
34 |
#define _PATHS_H_
|
williamr@2
|
35 |
|
williamr@2
|
36 |
#include <sys/cdefs.h>
|
williamr@2
|
37 |
|
williamr@2
|
38 |
/* Default search path. */
|
williamr@2
|
39 |
#define _PATH_DEFPATH "/usr/bin:/bin"
|
williamr@2
|
40 |
/* All standard utilities path. */
|
williamr@2
|
41 |
#define _PATH_STDPATH \
|
williamr@2
|
42 |
"/usr/bin:/bin:/usr/sbin:/sbin:"
|
williamr@2
|
43 |
/* Locate system binaries */
|
williamr@2
|
44 |
#define _PATH_SYSPATH \
|
williamr@2
|
45 |
"/sbin:/usr/sbin"
|
williamr@2
|
46 |
|
williamr@2
|
47 |
#define _PATH_AUTHCONF "/etc/auth.conf"
|
williamr@2
|
48 |
#define _PATH_BSHELL "/bin/sh"
|
williamr@2
|
49 |
#define _PATH_CAPABILITY "/etc/capability"
|
williamr@2
|
50 |
#define _PATH_CAPABILITY_DB "/etc/capability.db"
|
williamr@2
|
51 |
#define _PATH_CONSOLE "/dev/console"
|
williamr@2
|
52 |
#define _PATH_CP "/bin/cp"
|
williamr@2
|
53 |
#define _PATH_CSHELL "/bin/csh"
|
williamr@2
|
54 |
#define _PATH_DEFTAPE "/dev/sa0"
|
williamr@2
|
55 |
#define _PATH_DEVNULL "/dev/null"
|
williamr@2
|
56 |
#define _PATH_DEVZERO "/dev/zero"
|
williamr@2
|
57 |
#define _PATH_DRUM "/dev/drum"
|
williamr@2
|
58 |
#define _PATH_ETC "/etc"
|
williamr@2
|
59 |
#define _PATH_FTPUSERS "/etc/ftpusers"
|
williamr@2
|
60 |
#define _PATH_HALT "/sbin/halt"
|
williamr@2
|
61 |
#define _PATH_IFCONFIG "/sbin/ifconfig"
|
williamr@2
|
62 |
#define _PATH_KMEM "/dev/kmem"
|
williamr@2
|
63 |
#define _PATH_LIBMAP_CONF "/etc/libmap.conf"
|
williamr@2
|
64 |
#define _PATH_LOCALE "/usr/share/locale"
|
williamr@2
|
65 |
#define _PATH_LOGIN "/usr/bin/login"
|
williamr@2
|
66 |
#define _PATH_MAILDIR "/var/mail"
|
williamr@2
|
67 |
#define _PATH_MAN "/usr/share/man"
|
williamr@2
|
68 |
#define _PATH_MDCONFIG "/sbin/mdconfig"
|
williamr@2
|
69 |
#define _PATH_MEM "/dev/mem"
|
williamr@2
|
70 |
#define _PATH_MKSNAP_FFS "/sbin/mksnap_ffs"
|
williamr@2
|
71 |
#define _PATH_MOUNT "/sbin/mount"
|
williamr@2
|
72 |
#define _PATH_NEWFS "/sbin/newfs"
|
williamr@2
|
73 |
#define _PATH_NOLOGIN "/var/run/nologin"
|
williamr@2
|
74 |
#define _PATH_RCP "/bin/rcp"
|
williamr@2
|
75 |
#define _PATH_REBOOT "/sbin/reboot"
|
williamr@2
|
76 |
#define _PATH_RLOGIN "/usr/bin/rlogin"
|
williamr@2
|
77 |
#define _PATH_RM "/bin/rm"
|
williamr@2
|
78 |
#define _PATH_RSH "/usr/bin/rsh"
|
williamr@2
|
79 |
#define _PATH_SENDMAIL "/usr/sbin/sendmail"
|
williamr@2
|
80 |
#define _PATH_SHELLS "/etc/shells"
|
williamr@2
|
81 |
#define _PATH_TTY "/dev/tty"
|
williamr@2
|
82 |
#define _PATH_UNIX "don't use _PATH_UNIX"
|
williamr@2
|
83 |
#define _PATH_VI "/usr/bin/vi"
|
williamr@2
|
84 |
#define _PATH_WALL "/usr/bin/wall"
|
williamr@2
|
85 |
|
williamr@2
|
86 |
/* Provide trailing slash, since mostly used for building pathnames. */
|
williamr@2
|
87 |
#define _PATH_DEV "/dev/"
|
williamr@2
|
88 |
#define _PATH_TMP "/tmp/"
|
williamr@2
|
89 |
#define _PATH_VARDB "/var/db/"
|
williamr@2
|
90 |
#define _PATH_VARRUN "/var/run/"
|
williamr@2
|
91 |
#define _PATH_VARTMP "/var/tmp/"
|
williamr@2
|
92 |
#define _PATH_YP "/var/yp/"
|
williamr@2
|
93 |
#define _PATH_UUCPLOCK "/var/spool/lock/"
|
williamr@2
|
94 |
|
williamr@2
|
95 |
#ifdef RESCUE
|
williamr@2
|
96 |
#undef _PATH_DEFPATH
|
williamr@2
|
97 |
#define _PATH_DEFPATH "/rescue:/usr/bin:/bin"
|
williamr@2
|
98 |
#undef _PATH_STDPATH
|
williamr@2
|
99 |
#define _PATH_STDPATH "/rescue:/usr/bin:/bin:/usr/sbin:/sbin"
|
williamr@2
|
100 |
#undef _PATH_SYSPATH
|
williamr@2
|
101 |
#define _PATH_SYSPATH "/rescue:/sbin:/usr/sbin"
|
williamr@2
|
102 |
#undef _PATH_BSHELL
|
williamr@2
|
103 |
#define _PATH_BSHELL "/rescue/sh"
|
williamr@2
|
104 |
#undef _PATH_CP
|
williamr@2
|
105 |
#define _PATH_CP "/rescue/cp"
|
williamr@2
|
106 |
#undef _PATH_CSHELL
|
williamr@2
|
107 |
#define _PATH_CSHELL "/rescue/csh"
|
williamr@2
|
108 |
#undef _PATH_HALT
|
williamr@2
|
109 |
#define _PATH_HALT "/rescue/halt"
|
williamr@2
|
110 |
#undef _PATH_IFCONFIG
|
williamr@2
|
111 |
#define _PATH_IFCONFIG "/rescue/ifconfig"
|
williamr@2
|
112 |
#undef _PATH_MDCONFIG
|
williamr@2
|
113 |
#define _PATH_MDCONFIG "/rescue/mdconfig"
|
williamr@2
|
114 |
#undef _PATH_MOUNT
|
williamr@2
|
115 |
#define _PATH_MOUNT "/rescue/mount"
|
williamr@2
|
116 |
#undef _PATH_NEWFS
|
williamr@2
|
117 |
#define _PATH_NEWFS "/rescue/newfs"
|
williamr@2
|
118 |
#undef _PATH_RCP
|
williamr@2
|
119 |
#define _PATH_RCP "/rescue/rcp"
|
williamr@2
|
120 |
#undef _PATH_REBOOT
|
williamr@2
|
121 |
#define _PATH_REBOOT "/rescue/reboot"
|
williamr@2
|
122 |
#undef _PATH_RM
|
williamr@2
|
123 |
#define _PATH_RM "/rescue/rm"
|
williamr@2
|
124 |
#undef _PATH_VI
|
williamr@2
|
125 |
#define _PATH_VI "/rescue/vi"
|
williamr@2
|
126 |
#undef _PATH_WALL
|
williamr@2
|
127 |
#define _PATH_WALL "/rescue/wall"
|
williamr@2
|
128 |
#endif /* RESCUE */
|
williamr@2
|
129 |
|
williamr@2
|
130 |
#endif /* !_PATHS_H_ */
|