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