1995-02-18 01:27:10 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 1989, 1993
|
|
|
|
* The Regents of the University of California. All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
* 4. Neither the name of the University nor the names of its contributors
|
|
|
|
* may be used to endorse or promote products derived from this software
|
|
|
|
* without specific prior written permission.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*
|
|
|
|
* @(#)paths.h 8.1 (Berkeley) 6/2/93
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PATHS_H_
|
|
|
|
#define _PATHS_H_
|
|
|
|
|
|
|
|
/* Default search path. */
|
|
|
|
#define _PATH_DEFPATH "/usr/bin:/bin"
|
|
|
|
/* All standard utilities path. */
|
|
|
|
#define _PATH_STDPATH \
|
1996-10-21 01:26:31 +00:00
|
|
|
"/usr/bin:/bin:/usr/sbin:/sbin"
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
#define _PATH_BSHELL "/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"
|
2009-04-23 18:29:30 +00:00
|
|
|
#define _PATH_GSHADOW "/etc/gshadow"
|
1996-12-15 02:15:29 +00:00
|
|
|
#define _PATH_KLOG "/proc/kmsg"
|
1995-02-18 01:27:10 +00:00
|
|
|
#define _PATH_KMEM "/dev/kmem"
|
1996-12-15 02:15:29 +00:00
|
|
|
#define _PATH_LASTLOG "/var/log/lastlog"
|
1998-08-12 17:06:39 +00:00
|
|
|
#define _PATH_MAILDIR "/var/mail"
|
2000-11-15 23:56:34 +00:00
|
|
|
#define _PATH_MAN "/usr/share/man"
|
1995-02-18 01:27:10 +00:00
|
|
|
#define _PATH_MEM "/dev/mem"
|
1996-10-21 01:26:31 +00:00
|
|
|
#define _PATH_MNTTAB "/etc/fstab"
|
|
|
|
#define _PATH_MOUNTED "/etc/mtab"
|
1995-02-18 01:27:10 +00:00
|
|
|
#define _PATH_NOLOGIN "/etc/nologin"
|
2000-11-15 23:56:34 +00:00
|
|
|
#define _PATH_PRESERVE "/var/lib"
|
Update.
1998-07-20 17:09 Ulrich Drepper <drepper@cygnus.com>
* shlib-versions: Remove definition for libSegFault.
* memory.texi: Comment out the relocating allocator description.
* manual/signal.texi: Remove reference to relocating allocator.
* manual/top-menu.texi: Regenerated.
* posix/fnmatch.c: Implement [: :] and change to recognize
^ as negation only when not _POSIXLY_CORRECT.
* sysdeps/generic/glob.c: Add several optimizations.
* posix/glob.h: Undefine __PMT to prevent warnings.
Reported by Roland McGrath.
* posix/regex.c: Define namespace macros only for _LIBC.
* sysdeps/arm/dl-machine.h: Fix typo.
* sysdeps/unix/sysv/sysv4/solaris2/sigpending.c: New file.
* sysdeps/unix/sysv/sysv4/solaris2/sigstack.c: New file.
* sysdeps/unix/sysv/sysv4/solaris2/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/sysv4/solaris2/syscalls.list: Add sigaltstack,
sigpending, sigqueue, and sigtimedwait.
* sysdeps/unix/sysv/sysv4/solaris2/sparc/sparc32/syscall.S: New file.
* timezone/leapseconds: Update from tzdata1998f.
1998-07-18 Mark Kettenis <kettenis@phys.uva.nl>
* stdio/stdio.h [__USE_GNU]: Add prototype for fputs_unlocked.
* stdio/Versions [GLIBC_2.1]: Add fputs_unlocked.
* libio/stdio.h: Fix typo.
1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): #if 0 out the
magic memobj port arg parsing stuff. Fix it someday when we are ready
to really use it.
(_dl_sysdep_output): New function, modified from _dl_sysdep_error.
(_dl_sysdep_error, _dl_sysdep_message, _dl_sysdep_fatal): Removed.
1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
* stdio/fputs.c: Add fputs_unlocked as weak alias for fputs.
1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/posix/sigsuspend.c: Define __sigsuspend with sigsuspend as
a weak alias.
* sysdeps/mach/hurd/sigsuspend.c: Likewise.
* sysdeps/generic/sigsuspend.c: Likewise.
1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/sigcontextinfo.h: New file.
1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules (map-file): Don't use $(wildcard) to find the
generated version script, instead look in $(version-maps).
($(common-objpfx)libc.so): Only depend on libc.map if versioning
is used.
* extra-lib.mk ($(objpfx)$(lib).so): Only depend on version script
if versioning is used. Don't use $(wildcard) to find the
generated version script, instead look in $(verson-maps).
1998-07-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/generic/segfault.c: Rename GET_EIP to GET_PC. Remove
unused function handle.
* sysdeps/generic/sigcontextinfo.h: Rename GET_EIP to GET_PC.
* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
* debug/catchsegv.sh: Fix argument processing, quoting and various
typos. Put the crash info always in the current directory. Find
program in $PATH if it contains no directory component.
* Makerules (install-lib.so-versioned,
install-lib.so-unversioned): New variables.
(install-lib-nosubdir): Depend on unversioned libs in
slibdir, not libdir.
1998-07-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Make-dist (+tsrcs): Remove references to %-map variables and
*.map files. Add Versions in subdirs.
* Makerules (distinfo-vars): Don't write out %-map variables.
1998-07-20 13:55 Ulrich Drepper <drepper@cygnus.com>
* inet/protocols/rwhod.h: Remove definition of _PATH_RWHODIR.
Include <paths.h> instead.
* sysdeps/generic/paths.h: Define _PATH_RWHODIR.
* sysdeps/unix/sysv/linux/paths.h: Likewise.
Reported by Dale Scheetz <dwarf@polaris.net>.
1998-07-17 21:44 Ulrich Drepper <drepper@cygnus.com>
* catgets/open_catalog.c: Strictly check whether catalog file is
larger enough for the data. Reported by Andries.Brouwer@cwi.nl.
1998-07-20 17:25:48 +00:00
|
|
|
#define _PATH_RWHODIR "/var/spool/rwho"
|
1995-02-18 01:27:10 +00:00
|
|
|
#define _PATH_SENDMAIL "/usr/sbin/sendmail"
|
1996-11-07 01:35:04 +00:00
|
|
|
#define _PATH_SHADOW "/etc/shadow"
|
1995-02-18 01:27:10 +00:00
|
|
|
#define _PATH_SHELLS "/etc/shells"
|
|
|
|
#define _PATH_TTY "/dev/tty"
|
2000-11-15 23:56:34 +00:00
|
|
|
#define _PATH_UNIX "/boot/vmlinux"
|
2012-11-04 09:10:58 +00:00
|
|
|
#define _PATH_UTMP "/var/run/utmp"
|
2004-12-22 20:10:10 +00:00
|
|
|
#define _PATH_VI "/usr/bin/vi"
|
2012-11-04 09:10:58 +00:00
|
|
|
#define _PATH_WTMP "/var/log/wtmp"
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
/* 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_ */
|