1 /* $OpenBSD: config.h,v 1.3 2004/11/29 17:29:04 millert Exp $ */ 2 3 #ifndef _SUDO_CONFIG_H 4 #define _SUDO_CONFIG_H 5 6 /* 7 * configure --prefix=/usr --with-insults --with-bsdauth \ 8 * --with-env-editor --disable-path-info --with-logfac=authpriv 9 */ 10 11 #define HAVE_ASPRINTF 12 #define HAVE_BSD_AUTH_H 13 #define HAVE_CLOSEFROM 14 #define HAVE_DIRENT_H 15 #define HAVE_ERR_H 16 #define HAVE_FNMATCH 17 #define HAVE_FREEIFADDRS 18 #define HAVE_FSTAT 19 #define HAVE_FUTIMES 20 #define HAVE_GETCWD 21 #define HAVE_GETDOMAINNAME 22 #define HAVE_GETIFADDRS 23 #define HAVE_GETTIMEOFDAY 24 #define HAVE_INITGROUPS 25 #define HAVE_INNETGR 26 #define HAVE_INTTYPES_H 27 #define HAVE_ISBLANK 28 #define HAVE_LOCKF 29 #define HAVE_LOGIN_CAP_H 30 #define HAVE_LSEARCH 31 #define HAVE_MEMCPY 32 #define HAVE_MEMSET 33 #define HAVE_NETGROUP_H 34 #define HAVE_SETRESUID 35 #define HAVE_SETRLIMIT 36 #define HAVE_SIGACTION 37 #define HAVE_SIG_ATOMIC_T 38 #define HAVE_SNPRINTF 39 #define HAVE_STDLIB_H 40 #define HAVE_STRCASECMP 41 #define HAVE_STRCHR 42 #define HAVE_STRERROR 43 #define HAVE_STRFTIME 44 #define HAVE_STRING_H 45 #define HAVE_STRLCAT 46 #define HAVE_STRLCPY 47 #define HAVE_STRRCHR 48 #define HAVE_ST_MTIMESPEC 49 #define HAVE_SYS_SELECT_H 50 #define HAVE_SYS_STAT_H 51 #define HAVE_SYS_TYPES_H 52 #define HAVE_TERMIOS_H 53 #define HAVE_TIMESPEC 54 #define HAVE_TZSET 55 #define HAVE_UNISTD_H 56 #define HAVE_UTIMES 57 #define HAVE_VASPRINTF 58 #define HAVE_VSNPRINTF 59 #define HAVE___PROGNAME 60 61 #define CLASSIC_INSULTS 1 62 #define CSOPS_INSULTS 1 63 #define DONT_LEAK_PATH_INFO 1 64 #define EDITOR _PATH_VI 65 #define ENV_EDITOR 1 66 #define INCORRECT_PASSWORD "Sorry, try again." 67 #define LOGFAC "authpriv" 68 #define LOGGING SLOG_SYSLOG 69 #define MAILSUBJECT "*** SECURITY information for %h ***" 70 #define MAILTO "root" 71 #define MAXLOGFILELEN 80 72 #define MAX_UID_T_LEN 10 73 #define PASSPROMPT "Password:" 74 #define PASSWORD_TIMEOUT 5 75 #define PRI_FAILURE "alert" 76 #define PRI_SUCCESS "notice" 77 #define RETSIGTYPE void 78 #define RUNAS_DEFAULT "root" 79 #define SEND_MAIL_WHEN_NO_USER 1 80 #define STDC_HEADERS 1 81 #define SUDO_UMASK 0022 82 #define SUDOERS_UID 0 83 #define SUDOERS_GID 0 84 #define SUDOERS_MODE 0440 85 #define TIMEOUT 5 86 #define TRIES_FOR_PASSWORD 3 87 #define USE_INSULTS 1 88 #define VOID void 89 #define WITHOUT_PASSWD 1 90 91 #define sudo_waitpid(p, s, o) waitpid(p, s, o) 92 #define stat_sudoers lstat 93 #define EXECV execvp 94 95 #define mtim_getsec(_x) ((_x).st_mtimespec.tv_sec) 96 #define mtim_getnsec(_x) ((_x).st_mtimespec.tv_nsec) 97 98 #undef SET 99 #define SET(t, f) ((t) |= (f)) 100 #undef CLR 101 #define CLR(t, f) ((t) &= ~(f)) 102 #undef ISSET 103 #define ISSET(t, f) ((t) & (f)) 104 105 #endif /* _SUDO_CONFIG_H */ 106