[BACK]Return to config.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Annotation of src/usr.bin/sudo/config.h, Revision 1.15

1.15    ! millert     1: /*     $OpenBSD: config.h,v 1.14 2009/12/07 18:43:10 millert Exp $     */
1.1       millert     2:
                      3: #ifndef _SUDO_CONFIG_H
                      4: #define _SUDO_CONFIG_H
                      5:
                      6: /*
1.2       millert     7:  * configure --prefix=/usr --with-insults --with-bsdauth \
1.1       millert     8:  *          --with-env-editor --disable-path-info --with-logfac=authpriv
                      9:  */
1.13      millert    10:
                     11: #define PACKAGE_BUGREPORT "http://www.sudo.ws/bugs/"
                     12: #define PACKAGE_NAME "sudo"
1.15    ! millert    13: #define PACKAGE_STRING "sudo 1.7.2p3"
1.13      millert    14: #define PACKAGE_TARNAME "sudo"
1.15    ! millert    15: #define PACKAGE_VERSION "1.7.2p3"
1.1       millert    16:
1.4       millert    17: #define HAVE_ASPRINTF 1
                     18: #define HAVE_BSD_AUTH_H 1
                     19: #define HAVE_CLOSEFROM 1
                     20: #define HAVE_DIRENT_H 1
                     21: #define HAVE_DIRFD 1
                     22: #define HAVE_EXTENDED_GLOB 1
                     23: #define HAVE_FNMATCH 1
                     24: #define HAVE_FREEIFADDRS 1
                     25: #define HAVE_FSTAT 1
                     26: #define HAVE_FUTIMES 1
                     27: #define HAVE_GETCWD 1
1.5       millert    28: #define HAVE_GETADDRINFO 1
1.4       millert    29: #define HAVE_GETDOMAINNAME 1
                     30: #define HAVE_GETGROUPS 1
                     31: #define HAVE_GETIFADDRS 1
                     32: #define HAVE_GETTIMEOFDAY 1
                     33: #define HAVE_GLOB 1
1.7       millert    34: #define HAVE_IN6_ADDR 1
1.4       millert    35: #define HAVE_INITGROUPS 1
                     36: #define HAVE_INNETGR 1
                     37: #define HAVE_INTTYPES_H 1
                     38: #define HAVE_ISBLANK 1
                     39: #define HAVE_LOCKF 1
                     40: #define HAVE_LOGIN_CAP_H 1
                     41: #define HAVE_LONG_LONG 1
                     42: #define HAVE_MALLOC_H 1
                     43: #define HAVE_MEMCHR 1
                     44: #define HAVE_MEMCPY 1
                     45: #define HAVE_MEMORY_H 1
1.6       millert    46: #define HAVE_MEMRCHR 1
1.4       millert    47: #define HAVE_MEMSET 1
                     48: #define HAVE_MKSTEMP 1
                     49: #define HAVE_NETGROUP_H 1
                     50: #define HAVE_PATHS_H 1
                     51: #define HAVE_SA_LEN 1
1.11      millert    52: #define HAVE_SETENV 1
1.4       millert    53: #define HAVE_SETEUID 1
                     54: #define HAVE_SETLOCALE 1
                     55: #define HAVE_SETRESUID 1
                     56: #define HAVE_SETRLIMIT 1
1.9       millert    57: #define HAVE_SETSID 1
1.4       millert    58: #define HAVE_SIGACTION 1
                     59: #define HAVE_SIG_ATOMIC_T 1
                     60: #define HAVE_SNPRINTF 1
                     61: #define HAVE_STDINT_H 1
                     62: #define HAVE_STDLIB_H 1
                     63: #define HAVE_STRCASECMP 1
                     64: #define HAVE_STRCHR 1
                     65: #define HAVE_STRERROR 1
                     66: #define HAVE_STRFTIME 1
                     67: #define HAVE_STRINGS_H 1
                     68: #define HAVE_STRING_H 1
                     69: #define HAVE_STRLCAT 1
                     70: #define HAVE_STRLCPY 1
                     71: #define HAVE_STRRCHR 1
                     72: #define HAVE_ST_MTIMESPEC 1
                     73: #define HAVE_SYSCONF 1
                     74: #define HAVE_SYS_SELECT_H 1
                     75: #define HAVE_SYS_SOCKIO_H 1
                     76: #define HAVE_SYS_STAT_H 1
                     77: #define HAVE_SYS_TYPES_H 1
                     78: #define HAVE_TERMIOS_H 1
                     79: #define HAVE_TIMESPEC 1
                     80: #define HAVE_TZSET 1
                     81: #define HAVE_UNISTD_H 1
1.11      millert    82: #define HAVE_UNSETENV 1
1.4       millert    83: #define HAVE_UTIMES 1
                     84: #define HAVE_UTIME_H 1
                     85: #define HAVE_VASPRINTF 1
                     86: #define HAVE_VSNPRINTF 1
                     87: #define HAVE_WAITPID 1
                     88: #define HAVE___PROGNAME 1
1.1       millert    89:
                     90: #define CLASSIC_INSULTS 1
                     91: #define CSOPS_INSULTS 1
                     92: #define DONT_LEAK_PATH_INFO 1
                     93: #define EDITOR _PATH_VI
                     94: #define ENV_EDITOR 1
1.8       millert    95: #define GETGROUPS_T gid_t
1.1       millert    96: #define INCORRECT_PASSWORD "Sorry, try again."
                     97: #define LOGFAC "authpriv"
                     98: #define LOGGING SLOG_SYSLOG
1.4       millert    99: #define LONG_IS_QUAD 1
1.1       millert   100: #define MAILSUBJECT "*** SECURITY information for %h ***"
                    101: #define MAILTO "root"
                    102: #define MAXLOGFILELEN 80
                    103: #define MAX_UID_T_LEN 10
                    104: #define PASSPROMPT "Password:"
                    105: #define PASSWORD_TIMEOUT 5
                    106: #define PRI_FAILURE "alert"
                    107: #define PRI_SUCCESS "notice"
                    108: #define RETSIGTYPE void
                    109: #define RUNAS_DEFAULT "root"
                    110: #define SEND_MAIL_WHEN_NO_USER 1
                    111: #define STDC_HEADERS 1
                    112: #define SUDO_UMASK 0022
1.4       millert   113: #define SUDOERS_UID 0
                    114: #define SUDOERS_GID 0
                    115: #define SUDOERS_MODE 0440
1.1       millert   116: #define TIMEOUT 5
1.4       millert   117: #define TIME_WITH_SYS_TIME 1
1.1       millert   118: #define TRIES_FOR_PASSWORD 3
                    119: #define USE_INSULTS 1
                    120: #define VOID void
                    121: #define WITHOUT_PASSWD 1
                    122:
                    123: #define sudo_waitpid(p, s, o)  waitpid(p, s, o)
1.4       millert   124: #define stat_sudoers           lstat
1.2       millert   125:
                    126: #define mtim_getsec(_x)                ((_x).st_mtimespec.tv_sec)
1.4       millert   127: #define mtim_getnsec(_x)       (((_x).st_mtimespec.tv_nsec / 1000) * 1000)
1.2       millert   128:
                    129: #undef SET
1.4       millert   130: #define SET(t, f)      ((t) |= (f))
1.2       millert   131: #undef CLR
1.4       millert   132: #define CLR(t, f)      ((t) &= ~(f))
1.2       millert   133: #undef ISSET
1.4       millert   134: #define ISSET(t, f)     ((t) & (f))
1.1       millert   135:
                    136: #endif /* _SUDO_CONFIG_H */