--- embedaddon/sudo/config.h.in 2012/02/21 16:23:01 1.1 +++ embedaddon/sudo/config.h.in 2013/10/14 07:56:33 1.1.1.5 @@ -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,12 +131,27 @@ /* 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 you have the `exect' function. */ +#undef HAVE_EXECT + +/* Define to 1 if you have the `execvP' function. */ +#undef HAVE_EXECVP + +/* Define to 1 if you have the `execvpe' function. */ +#undef HAVE_EXECVPE + /* Define to 1 if your system has the F_CLOSEM fcntl. */ #undef HAVE_FCNTL_CLOSEM +/* Define to 1 if you have the `fexecve' function. */ +#undef HAVE_FEXECVE + /* Define to 1 if you have the `fgetln' function. */ #undef HAVE_FGETLN @@ -129,6 +164,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 +183,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. */ @@ -169,26 +207,29 @@ /* Define to 1 if you have the `getline' function. */ #undef HAVE_GETLINE +/* Define to 1 if you have the `getopt_long' function. */ +#undef HAVE_GETOPT_LONG + /* Define to 1 if you have the `getprogname' function. */ #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 +259,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 +272,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 +298,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 +334,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,21 +370,24 @@ /* 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 /* Define to 1 if you have the `memrchr' function. */ #undef HAVE_MEMRCHR +/* Define to 1 if you have the `memset_s' function. */ +#undef HAVE_MEMSET_S + /* Define to 1 if you have the `mkdtemp' function. */ #undef HAVE_MKDTEMP @@ -365,18 +406,33 @@ /* 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 /* Define to 1 if you use NRL OPIE. */ #undef HAVE_OPIE +/* Define to 1 if you have the `optreset' symbol. */ +#undef HAVE_OPTRESET + /* 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 @@ -389,15 +445,30 @@ /* Define to 1 if you have the `posix_openpt' function. */ #undef HAVE_POSIX_OPENPT +/* Define to 1 if you have the `posix_spawn' function. */ +#undef HAVE_POSIX_SPAWN + +/* Define to 1 if you have the `posix_spawnp' function. */ +#undef HAVE_POSIX_SPAWNP + /* 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 +479,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 +488,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 +509,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 +527,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 +542,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 +578,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 +653,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 +675,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 +706,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 +739,109 @@ /* 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 `_execl' function. */ +#undef HAVE__EXECL + +/* Define to 1 if you have the `_execle' function. */ +#undef HAVE__EXECLE + +/* Define to 1 if you have the `_execlp' function. */ +#undef HAVE__EXECLP + +/* Define to 1 if you have the `_exect' function. */ +#undef HAVE__EXECT + +/* Define to 1 if you have the `_execv' function. */ +#undef HAVE__EXECV + +/* Define to 1 if you have the `_execve' function. */ +#undef HAVE__EXECVE + +/* Define to 1 if you have the `_execvP' function. */ +#undef HAVE__EXECVP + +/* Define to 1 if you have the `_execvpe' function. */ +#undef HAVE__EXECVPE + +/* Define to 1 if you have the `_fexecve' function. */ +#undef HAVE__FEXECVE + /* 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 `_posix_spawn' function. */ +#undef HAVE__POSIX_SPAWN + +/* Define to 1 if you have the `_posix_spawnp' function. */ +#undef HAVE__POSIX_SPAWNP + +/* Define to 1 if you have the `_ttyname_dev' function. */ +#undef HAVE__TTYNAME_DEV + +/* Define to 1 if you have the `__execl' function. */ +#undef HAVE___EXECL + +/* Define to 1 if you have the `__execle' function. */ +#undef HAVE___EXECLE + +/* Define to 1 if you have the `__execlp' function. */ +#undef HAVE___EXECLP + +/* Define to 1 if you have the `__exect' function. */ +#undef HAVE___EXECT + +/* Define to 1 if you have the `__execv' function. */ +#undef HAVE___EXECV + +/* Define to 1 if you have the `__execve' function. */ +#undef HAVE___EXECVE + +/* Define to 1 if you have the `__execvP' function. */ +#undef HAVE___EXECVP + +/* Define to 1 if you have the `__execvpe' function. */ +#undef HAVE___EXECVPE + +/* Define to 1 if you have the `__fexecve' function. */ +#undef HAVE___FEXECVE + +/* Define to 1 if the compiler supports the C99 __func__ variable. */ +#undef HAVE___FUNC__ + +/* Define to 1 if you have dyld with __interpose attribute support. */ +#undef HAVE___INTERPOSE + +/* 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 `__posix_spawn' function. */ +#undef HAVE___POSIX_SPAWN + +/* Define to 1 if you have the `__posix_spawnp' function. */ +#undef HAVE___POSIX_SPAWNP + /* 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 +866,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 +888,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 +934,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 +984,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 +1027,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 +1038,54 @@ /* 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 does not define. */ +#undef errno_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 id_t + +/* 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 `size_t' if does not define. */ +#undef rsize_t + /* 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 +1116,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__