--- embedaddon/sudo/config.h.in 2012/02/21 16:23:01 1.1.1.1 +++ embedaddon/sudo/config.h.in 2013/07/22 10:46:10 1.1.1.4 @@ -83,18 +83,38 @@ */ #undef HAVE_DECL_ERRNO +/* Define to 1 if you have the declaration of `h_errno', and to 0 if you + don't. */ +#undef HAVE_DECL_H_ERRNO + +/* Define to 1 if you have the declaration of `sys_sigabbrev', and to 0 if you + don't. */ +#undef HAVE_DECL_SYS_SIGABBREV + /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you don't. */ #undef HAVE_DECL_SYS_SIGLIST +/* Define to 1 if you have the declaration of `sys_signame', and to 0 if you + don't. */ +#undef HAVE_DECL_SYS_SIGNAME + /* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you don't. */ #undef HAVE_DECL__SYS_SIGLIST +/* Define to 1 if you have the declaration of `_sys_signame', and to 0 if you + don't. */ +#undef HAVE_DECL__SYS_SIGNAME + /* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you don't. */ #undef HAVE_DECL___SYS_SIGLIST +/* Define to 1 if you have the declaration of `__sys_signame', and to 0 if you + don't. */ +#undef HAVE_DECL___SYS_SIGNAME + /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_DIRENT_H @@ -111,9 +131,12 @@ /* Define to 1 if you have the `dlopen' function. */ #undef HAVE_DLOPEN -/* Define to 1 if your glob.h defines the GLOB_BRACE and GLOB_TILDE flags. */ -#undef HAVE_EXTENDED_GLOB +/* Define to 1 if the compiler supports the __visibility__ attribute. */ +#undef HAVE_DSO_VISIBILITY +/* Define to 1 if you have the header file. */ +#undef HAVE_ENDIAN_H + /* Define to 1 if your system has the F_CLOSEM fcntl. */ #undef HAVE_FCNTL_CLOSEM @@ -129,6 +152,9 @@ /* Define to 1 if you have the `freeifaddrs' function. */ #undef HAVE_FREEIFADDRS +/* Define to 1 if you have the `fseeko' function. */ +#undef HAVE_FSEEKO + /* Define to 1 if you have the `futime' function. */ #undef HAVE_FUTIME @@ -145,7 +171,7 @@ #undef HAVE_GETADDRINFO /* Define to 1 if you have the `getauthuid' function. (ULTRIX 4.x shadow - passwords) */ + passwords). */ #undef HAVE_GETAUTHUID /* Define to 1 if you have the `getcwd' function. */ @@ -173,22 +199,22 @@ #undef HAVE_GETPROGNAME /* Define to 1 if you have the `getprpwnam' function. (SecureWare-style shadow - passwords) */ + passwords). */ #undef HAVE_GETPRPWNAM /* Define to 1 if you have the `getpwanam' function. (SunOS 4.x shadow - passwords) */ + passwords). */ #undef HAVE_GETPWANAM /* Define to 1 if you have the `getresuid' function. */ #undef HAVE_GETRESUID /* Define to 1 if you have the `getspnam' function (SVR4-style shadow - passwords) */ + passwords). */ #undef HAVE_GETSPNAM /* Define to 1 if you have the `getspwuid' function. (HP-UX <= 9.X shadow - passwords) */ + passwords). */ #undef HAVE_GETSPWUID /* Define to 1 if you have the `getttyent' function. */ @@ -218,9 +244,6 @@ /* Define to 1 if your Kerberos is Heimdal. */ #undef HAVE_HEIMDAL -/* Define to 1 if contains struct in6_addr. */ -#undef HAVE_IN6_ADDR - /* Define to 1 if you have the `initprivs' function. */ #undef HAVE_INITPRIVS @@ -234,16 +257,13 @@ #undef HAVE_ISBLANK /* Define to 1 if you have the `iscomsec' function. (HP-UX >= 10.x check for - shadow enabled) */ + shadow enabled). */ #undef HAVE_ISCOMSEC /* Define to 1 if you have the `issecure' function. (SunOS 4.x check for - shadow enabled) */ + shadow enabled). */ #undef HAVE_ISSECURE -/* Define to 1 if you use Kerberos IV. */ -#undef HAVE_KERB4 - /* Define to 1 if you use Kerberos V. */ #undef HAVE_KERB5 @@ -263,7 +283,7 @@ /* Define to 1 if you have the `krb5_verify_user' function. */ #undef HAVE_KRB5_VERIFY_USER -/* Define to 1 if your LDAP needs . (OpenLDAP does not) */ +/* Define to 1 if your LDAP needs . (OpenLDAP does not). */ #undef HAVE_LBER_H /* Define to 1 if you use LDAP for sudoers. */ @@ -299,6 +319,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_LDAP_SSL_H +/* Define to 1 if you have the `ldap_ssl_init' function. */ +#undef HAVE_LDAP_SSL_INIT + /* Define to 1 if you have the `ldap_start_tls_s' function. */ #undef HAVE_LDAP_START_TLS_S @@ -332,15 +355,15 @@ /* Define to 1 if you have the `lrand48' function. */ #undef HAVE_LRAND48 +/* Define to 1 if you have the header file. */ +#undef HAVE_MACHINE_ENDIAN_H + /* Define to 1 if you have the header file. */ #undef HAVE_MAILLOCK_H /* Define to 1 if you have the header file. */ #undef HAVE_MALLOC_H -/* Define to 1 if you have the `mbr_check_membership' function. */ -#undef HAVE_MBR_CHECK_MEMBERSHIP - /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H @@ -365,9 +388,18 @@ /* Define to 1 if you have the header file. */ #undef HAVE_NETGROUP_H +/* Define to 1 if you have the `ngettext' function. */ +#undef HAVE_NGETTEXT + /* Define to 1 if you have the `nl_langinfo' function. */ #undef HAVE_NL_LANGINFO +/* Define to 1 if you have the header file. */ +#undef HAVE_NSS_DBDEFS_H + +/* Define to 1 if you have the `nss_search' function. */ +#undef HAVE_NSS_SEARCH + /* Define to 1 if you have the `openpty' function. */ #undef HAVE_OPENPTY @@ -377,6 +409,9 @@ /* Define to 1 if you use PAM authentication. */ #undef HAVE_PAM +/* Define to 1 if you have the `pam_getenvlist' function. */ +#undef HAVE_PAM_GETENVLIST + /* Define to 1 if you use a specific PAM session for sudo -i. */ #undef HAVE_PAM_LOGIN @@ -392,12 +427,21 @@ /* Define to 1 if you have the `priv_set' function. */ #undef HAVE_PRIV_SET +/* Define to 1 if you have the header file. */ +#undef HAVE_PROCFS_H + /* Define to 1 if you have the header file. */ #undef HAVE_PROJECT_H +/* Define to 1 if you have the `pstat_getproc' function. */ +#undef HAVE_PSTAT_GETPROC + /* Define to 1 if you have the header file. */ #undef HAVE_PTY_H +/* Define to 1 if you have the `pw_dup' function. */ +#undef HAVE_PW_DUP + /* Define to 1 if you have the `random' function. */ #undef HAVE_RANDOM @@ -408,7 +452,7 @@ #undef HAVE_REVOKE /* Define to 1 if the skeychallenge() function is RFC1938-compliant and takes - 4 arguments */ + 4 arguments. */ #undef HAVE_RFC1938_SKEYCHALLENGE /* Define to 1 if you have the header file. */ @@ -417,9 +461,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SASL_SASL_H -/* Define if your struct sockadr has an sa_len field. */ -#undef HAVE_SA_LEN - /* Define to 1 if you use SecurID for authentication. */ #undef HAVE_SECURID @@ -441,9 +482,6 @@ /* Define to 1 if you have the `setkeycreatecon' function. */ #undef HAVE_SETKEYCREATECON -/* Define to 1 if you have the `setlocale' function. */ -#undef HAVE_SETLOCALE - /* Define to 1 if you have the `setresuid' function. */ #undef HAVE_SETRESUID @@ -462,7 +500,10 @@ /* Define to 1 if you have the `sia_ses_init' function. */ #undef HAVE_SIA_SES_INIT -/* Define to 1 if has the sigaction_t typedef. */ +/* Define to 1 if you have the `sig2str' function. */ +#undef HAVE_SIG2STR + +/* Define to 1 if the system has the type `sigaction_t'. */ #undef HAVE_SIGACTION_T /* Define to 1 if you use S/Key. */ @@ -474,6 +515,15 @@ /* Define to 1 if you have the `snprintf' function. */ #undef HAVE_SNPRINTF +/* Define to 1 if you have the header file. */ +#undef HAVE_SPAWN_H + +/* Define to 1 to enable SSSD support. */ +#undef HAVE_SSSD + +/* Define to 1 if stdbool.h conforms to C99. */ +#undef HAVE_STDBOOL_H + /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -501,9 +551,36 @@ /* Define to 1 if you have the `strsignal' function. */ #undef HAVE_STRSIGNAL +/* Define to 1 if you have the `strtoll' function. */ +#undef HAVE_STRTOLL + +/* Define to 1 if `d_type' is a member of `struct dirent'. */ +#undef HAVE_STRUCT_DIRENT_D_TYPE + /* Define to 1 if the system has the type `struct in6_addr'. */ #undef HAVE_STRUCT_IN6_ADDR +/* Define to 1 if `p_tdev' is a member of `struct kinfo_proc2'. */ +#undef HAVE_STRUCT_KINFO_PROC2_P_TDEV + +/* Define to 1 if `ki_tdev' is a member of `struct kinfo_proc'. */ +#undef HAVE_STRUCT_KINFO_PROC_KI_TDEV + +/* Define to 1 if `kp_eproc.e_tdev' is a member of `struct kinfo_proc'. */ +#undef HAVE_STRUCT_KINFO_PROC_KP_EPROC_E_TDEV + +/* Define to 1 if `p_tdev' is a member of `struct kinfo_proc'. */ +#undef HAVE_STRUCT_KINFO_PROC_P_TDEV + +/* Define to 1 if `pr_ttydev' is a member of `struct psinfo'. */ +#undef HAVE_STRUCT_PSINFO_PR_TTYDEV + +/* Define if your struct sockadr has an sa_len field. */ +#undef HAVE_STRUCT_SOCKADDR_SA_LEN + +/* Define to 1 if the system has the type `struct timespec'. */ +#undef HAVE_STRUCT_TIMESPEC + /* Define to 1 if `ut_exit' is a member of `struct utmpx'. */ #undef HAVE_STRUCT_UTMPX_UT_EXIT @@ -549,13 +626,13 @@ /* Define to 1 if `ut_user' is a member of `struct utmp'. */ #undef HAVE_STRUCT_UTMP_UT_USER -/* Define to 1 if your struct stat has an st_mtim member */ +/* Define to 1 if your struct stat has an st_mtim member. */ #undef HAVE_ST_MTIM -/* Define to 1 if your struct stat has an st_mtimespec member */ +/* Define to 1 if your struct stat has an st_mtimespec member. */ #undef HAVE_ST_MTIMESPEC -/* Define to 1 if your struct stat uses an st__tim union */ +/* Define to 1 if your struct stat uses an st__tim union. */ #undef HAVE_ST__TIM /* Define to 1 if you have the `sysconf' function. */ @@ -571,13 +648,22 @@ */ #undef HAVE_SYS_DIR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_ENDIAN_H + /* Define to 1 if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PROCFS_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SELECT_H +/* Define to 1 if your libc has the `sys_sigabbrev' symbol. */ +#undef HAVE_SYS_SIGABBREV + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKIO_H @@ -593,9 +679,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have struct timespec in sys/time.h */ -#undef HAVE_TIMESPEC - /* Define to 1 if you have the `ttyslot' function. */ #undef HAVE_TTYSLOT @@ -629,19 +712,40 @@ /* Define to 1 if you have the header file. */ #undef HAVE_ZLIB_H +/* Define to 1 if the system has the type `_Bool'. */ +#undef HAVE__BOOL + /* Define to 1 if you have the `_getpty' function. */ #undef HAVE__GETPTY /* Define to 1 if you have the `_innetgr' function. */ #undef HAVE__INNETGR +/* Define to 1 if you have the `_nss_initf_group' function. */ +#undef HAVE__NSS_INITF_GROUP + +/* Define to 1 if you have the `_nss_XbyY_buf_alloc' function. */ +#undef HAVE__NSS_XBYY_BUF_ALLOC + +/* Define to 1 if you have the `_ttyname_dev' function. */ +#undef HAVE__TTYNAME_DEV + +/* Define to 1 if the compiler supports the C99 __func__ variable. */ +#undef HAVE___FUNC__ + +/* Define to 1 if you have the `__nss_initf_group' function. */ +#undef HAVE___NSS_INITF_GROUP + +/* Define to 1 if you have the `__nss_XbyY_buf_alloc' function. */ +#undef HAVE___NSS_XBYY_BUF_ALLOC + /* Define to 1 if your crt0.o defines the __progname symbol for you. */ #undef HAVE___PROGNAME /* Define to 1 if you want the hostname to be entered into the log file. */ #undef HOST_IN_LOG -/* Define to 1 if you want to ignore '.' and empty PATH elements */ +/* Define to 1 if you want to ignore '.' and empty PATH elements. */ #undef IGNORE_DOT_PATH /* The message given when a bad password is entered. */ @@ -666,6 +770,14 @@ /* The user or email address that sudo mail is sent to. */ #undef MAILTO +/* Define to 1 if `major', `minor', and `makedev' are declared in . + */ +#undef MAJOR_IN_MKDEV + +/* Define to 1 if `major', `minor', and `makedev' are declared in + . */ +#undef MAJOR_IN_SYSMACROS + /* The max number of chars per log file line (for line wrapping). */ #undef MAXLOGFILELEN @@ -680,7 +792,7 @@ sudo. */ #undef NO_LECTURE -/* Define to 1 if you don't want to use sudo's PAM session support */ +/* Define to 1 if you don't want to use sudo's PAM session support. */ #undef NO_PAM_SESSION /* Define to avoid runing the mailer as root. */ @@ -726,6 +838,22 @@ /* The syslog priority sudo will use for successful attempts. */ #undef PRI_SUCCESS +/* Define to const if the `putenv' takes a const argument. */ +#undef PUTENV_CONST + +/* The default value of preloaded objects (if any). */ +#undef RTLD_PRELOAD_DEFAULT + +/* The delimiter to use when defining multiple preloaded objects. */ +#undef RTLD_PRELOAD_DELIM + +/* An extra environment variable that is required to enable preloading (if + any). */ +#undef RTLD_PRELOAD_ENABLE_VAR + +/* The environment variable that controls preloading of dynamic objects. */ +#undef RTLD_PRELOAD_VAR + /* The user sudo should run commands as by default. */ #undef RUNAS_DEFAULT @@ -760,6 +888,10 @@ /* The name of the sudoers plugin, including extension. */ #undef SUDOERS_PLUGIN +/* An instance string to append to the username (separated by a slash) for + Kerberos V authentication. */ +#undef SUDO_KRB5_INSTANCE + /* The umask that the sudo-run prog should use. */ #undef SUDO_UMASK @@ -799,6 +931,10 @@ /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES +/* Define to __FUNCTION__ if your compiler supports __FUNCTION__ but not + __func__ */ +#undef __func__ + /* Define to `signed' or nothing if compiler does not support a signed type qualifier. */ #undef __signed @@ -806,30 +942,45 @@ /* Define to empty if `const' does not conform to ANSI C. */ #undef const -/* Define if your system lacks the dev_t type. */ +/* Define to `int' if does not define. */ #undef dev_t /* Define to `int' if doesn't define. */ #undef gid_t -/* Define if your system lacks the ino_t type. */ +/* Define to `unsigned int' if does not define. */ #undef ino_t /* Define to `int' if does not define. */ #undef mode_t +/* Define to an OS-specific initialization function or `os_init_common'. */ +#undef os_init + /* Define to `int' if does not define. */ #undef sig_atomic_t /* Define to `unsigned int' if does not define. */ #undef size_t -/* Define if your system lacks the ssize_t type. */ +/* Define to `unsigned int' if doesn't define. */ +#undef socklen_t + +/* Define to `int' if does not define. */ #undef ssize_t /* Define to `int' if doesn't define. */ #undef uid_t +/* Define to `unsigned int' if does not define. */ +#undef uint32_t + +/* Define to `unsigned long long' if does not define. */ +#undef uint64_t + +/* Define to `unsigned char' if does not define. */ +#undef uint8_t + /* Define to empty if the keyword `volatile' does not work. Warning: valid code using `volatile' can become incorrect without. Disable with care. */ #undef volatile @@ -860,29 +1011,14 @@ # endif /* HAVE_ST_MTIMESPEC */ #endif /* HAVE_ST_MTIM */ -/* GNU stow needs /etc/sudoers to be a symlink. */ -#ifdef USE_STOW -# define stat_sudoers stat +#ifdef __GNUC__ +# define ignore_result(x) do { \ + __typeof__(x) y = (x); \ + (void)y; \ +} while(0) #else -# define stat_sudoers lstat +# define ignore_result(x) (void)(x) #endif - -/* Macros to set/clear/test flags. */ -#undef SET -#define SET(t, f) ((t) |= (f)) -#undef CLR -#define CLR(t, f) ((t) &= ~(f)) -#undef ISSET -#define ISSET(t, f) ((t) & (f)) - -/* ANSI-style OS defs for HP-UX and ConvexOS. */ -#if defined(hpux) && !defined(__hpux) -# define __hpux 1 -#endif /* hpux */ - -#if defined(convex) && !defined(__convex__) -# define __convex__ 1 -#endif /* convex */ /* BSD compatibility on some SVR4 systems. */ #ifdef __svr4__