X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=config.h.in;h=2ee54c458336d520a1f13e066dc0e8209120d200;hb=e8db7f6eea9b35527ddd4532affabd18a30549b5;hp=a4b000db0a3e1f9fbd4db5b12d8d2f22e1cc1811;hpb=f3530d8198251b72d01da9a07b1fa518446ec0f0;p=debian%2Fsudo diff --git a/config.h.in b/config.h.in index a4b000d..2ee54c4 100644 --- a/config.h.in +++ b/config.h.in @@ -79,20 +79,41 @@ /* Define to 1 if your `DIR' contains dd_fd. */ #undef HAVE_DD_FD +/* Define to 1 if you have the declaration of `errno', and to 0 if you don't. + */ +#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 `dgettext' function. */ -#undef HAVE_DGETTEXT +/* 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'. */ @@ -107,8 +128,14 @@ /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H -/* Define to 1 if your glob.h defines the GLOB_BRACE and GLOB_TILDE flags. */ -#undef HAVE_EXTENDED_GLOB +/* Define to 1 if you have the `dlopen' function. */ +#undef HAVE_DLOPEN + +/* 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 @@ -125,8 +152,8 @@ /* Define to 1 if you have the `freeifaddrs' function. */ #undef HAVE_FREEIFADDRS -/* Define to 1 if you have the `fstat' function. */ -#undef HAVE_FSTAT +/* Define to 1 if you have the `fseeko' function. */ +#undef HAVE_FSEEKO /* Define to 1 if you have the `futime' function. */ #undef HAVE_FUTIME @@ -144,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. */ @@ -153,9 +180,15 @@ /* Define to 1 if you have the `getdomainname' function. */ #undef HAVE_GETDOMAINNAME -/* Define to 1 if you have the `getgroups' function. */ +/* Define to 1 if you have the `getgrouplist' function. */ +#undef HAVE_GETGROUPLIST + +/* Define to 1 if your system has a working `getgroups' function. */ #undef HAVE_GETGROUPS +/* Define to 1 if you have the `getgrset' function. */ +#undef HAVE_GETGRSET + /* Define to 1 if you have the `getifaddrs' function. */ #undef HAVE_GETIFADDRS @@ -166,23 +199,26 @@ #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 `gettimeofday' function. */ -#undef HAVE_GETTIMEOFDAY +/* Define to 1 if you have the `getttyent' function. */ +#undef HAVE_GETTTYENT /* Define to 1 if you have the `getuserattr' function. */ #undef HAVE_GETUSERATTR @@ -208,12 +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 `initgroups' function. */ -#undef HAVE_INITGROUPS - /* Define to 1 if you have the `initprivs' function. */ #undef HAVE_INITPRIVS @@ -227,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 @@ -256,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. */ @@ -292,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 @@ -304,8 +334,11 @@ /* Define to 1 if you have the `ldap_unbind_ext_s' function. */ #undef HAVE_LDAP_UNBIND_EXT_S -/* Define to 1 if you have the `dl' library (-ldl). */ -#undef HAVE_LIBDL +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBINTL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIBUTIL_H /* Define to 1 to enable Linux audit support. */ #undef HAVE_LINUX_AUDIT @@ -322,29 +355,23 @@ /* 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 `memchr' function. */ -#undef HAVE_MEMCHR - -/* Define to 1 if you have the `memcpy' function. */ -#undef HAVE_MEMCPY - /* 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' function. */ -#undef HAVE_MEMSET +/* Define to 1 if you have the `mkdtemp' function. */ +#undef HAVE_MKDTEMP /* Define to 1 if you have the `mkstemps' function. */ #undef HAVE_MKSTEMPS @@ -361,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 @@ -373,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 @@ -385,12 +424,24 @@ /* Define to 1 if you have the `posix_openpt' function. */ #undef HAVE_POSIX_OPENPT +/* 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 @@ -400,15 +451,16 @@ /* Define to 1 if you have the `revoke' function. */ #undef HAVE_REVOKE +/* Define to 1 if the skeychallenge() function is RFC1938-compliant and takes + 4 arguments. */ +#undef HAVE_RFC1938_SKEYCHALLENGE + /* Define to 1 if you have the header file. */ #undef HAVE_SASL_H /* 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 @@ -430,34 +482,28 @@ /* 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 /* Define to 1 if you have the `setreuid' function. */ #undef HAVE_SETREUID -/* Define to 1 if you have the `setrlimit' function. */ -#undef HAVE_SETRLIMIT - /* Define to 1 if you have the `setrlimit64' function. */ #undef HAVE_SETRLIMIT64 -/* Define to 1 if you have the `setsid' function. */ -#undef HAVE_SETSID - /* Define to 1 if you have the `set_auth_parameters' function. */ #undef HAVE_SET_AUTH_PARAMETERS +/* Define to 1 if you have the `shl_load' function. */ +#undef HAVE_SHL_LOAD + /* Define to 1 if you have the `sia_ses_init' function. */ #undef HAVE_SIA_SES_INIT -/* Define to 1 if you have the `sigaction' function. */ -#undef HAVE_SIGACTION +/* Define to 1 if you have the `sig2str' function. */ +#undef HAVE_SIG2STR -/* Define to 1 if has the sigaction_t typedef. */ +/* Define to 1 if the system has the type `sigaction_t'. */ #undef HAVE_SIGACTION_T /* Define to 1 if you use S/Key. */ @@ -469,21 +515,21 @@ /* 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 /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H -/* Define to 1 if you have the `strcasecmp' function. */ -#undef HAVE_STRCASECMP - -/* Define to 1 if you have the `strchr' function. */ -#undef HAVE_STRCHR - -/* Define to 1 if you have the `strerror' function. */ -#undef HAVE_STRERROR - /* Define to 1 if you have the `strftime' function. */ #undef HAVE_STRFTIME @@ -505,16 +551,88 @@ /* 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 your struct stat has an st_mtim member */ +/* 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 + +/* Define to 1 if `ut_exit.e_termination' is a member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION + +/* Define to 1 if `ut_exit.__e_termination' is a member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_EXIT___E_TERMINATION + +/* Define to 1 if `ut_id' is a member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_ID + +/* Define to 1 if `ut_pid' is a member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_PID + +/* Define to 1 if `ut_tv' is a member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_TV + +/* Define to 1 if `ut_type' is a member of `struct utmpx'. */ +#undef HAVE_STRUCT_UTMPX_UT_TYPE + +/* Define to 1 if `ut_exit' is a member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_EXIT + +/* Define to 1 if `ut_exit.e_termination' is a member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION + +/* Define to 1 if `ut_exit.__e_termination' is a member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_EXIT___E_TERMINATION + +/* Define to 1 if `ut_id' is a member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_ID + +/* Define to 1 if `ut_pid' is a member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_PID + +/* Define to 1 if `ut_tv' is a member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_TV + +/* Define to 1 if `ut_type' is a member of `struct utmp'. */ +#undef HAVE_STRUCT_UTMP_UT_TYPE + +/* 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. */ #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. */ @@ -530,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 @@ -552,18 +679,8 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have the `tcsetpgrp' function. */ -#undef HAVE_TCSETPGRP - -/* Define to 1 if you have the header file and the `tcgetattr' - function. */ -#undef HAVE_TERMIOS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_TERMIO_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 /* Define to 1 if you have the `tzset' function. */ #undef HAVE_TZSET @@ -583,42 +700,57 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UTIME_H +/* Define to 1 if you have the header file. */ +#undef HAVE_UTMPX_H + /* Define to 1 if you have the `vasprintf' function. */ #undef HAVE_VASPRINTF /* Define to 1 if you have the `vsnprintf' function. */ #undef HAVE_VSNPRINTF -/* Define to 1 if you have the `wait3' function. */ -#undef HAVE_WAIT3 - -/* Define to 1 if you have the `waitpid' function. */ -#undef HAVE_WAITPID - /* 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. */ #undef INCORRECT_PASSWORD -/* The name of libvas.so */ -#undef LIBVAS_SO - /* The syslog facility sudo will use. */ #undef LOGFAC @@ -638,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 @@ -652,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. */ @@ -698,11 +838,21 @@ /* The syslog priority sudo will use for successful attempts. */ #undef PRI_SUCCESS -/* Define to 1 if the `putenv' has a const argument. */ +/* Define to const if the `putenv' takes a const argument. */ #undef PUTENV_CONST -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE +/* 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 @@ -720,9 +870,6 @@ /* Define to 1 to send mail when the user is not in the sudoers file. */ #undef SEND_MAIL_WHEN_NO_USER -/* Define to 1 if the `setpgrp' function takes no argument. */ -#undef SETPGRP_VOID - /* Define to 1 if you want sudo to start a shell if given no arguments. */ #undef SHELL_IF_NO_ARGS @@ -738,6 +885,13 @@ /* Define to 1 if the code in interfaces.c does not compile for you. */ #undef STUB_LOAD_INTERFACES +/* 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 @@ -768,9 +922,6 @@ /* Define to 1 if you use GNU stow packaging. */ #undef USE_STOW -/* Define to 1 if using a non-Unix group lookup implementation. */ -#undef USING_NONUNIX_GROUPS - /* Define to avoid using the passwd/shadow file for authentication. */ #undef WITHOUT_PASSWD @@ -780,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 @@ -787,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 @@ -841,41 +1011,15 @@ # endif /* HAVE_ST_MTIMESPEC */ #endif /* HAVE_ST_MTIM */ -/* - * Emulate a subset of waitpid() if we don't have it. - */ -#ifdef HAVE_WAITPID -# define sudo_waitpid(p, s, o) waitpid(p, s, o) +#ifdef __GNUC__ +# define ignore_result(x) do { \ + __typeof__(x) y = (x); \ + (void)y; \ +} while(0) #else -# ifdef HAVE_WAIT3 -# define sudo_waitpid(p, s, o) wait3(s, o, NULL) -# endif +# define ignore_result(x) (void)(x) #endif -/* GNU stow needs /etc/sudoers to be a symlink. */ -#ifdef USE_STOW -# define stat_sudoers stat -#else -# define stat_sudoers lstat -#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)) - -/* New 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__ # define BSD_COMP