1 /* config.h.in. Generated from configure.in by autoheader. */
6 /* Define to 1 if the `syslog' function returns a non-zero int to denote
10 /* Define to 1 if you want the insults from the "classic" version sudo. */
11 #undef CLASSIC_INSULTS
13 /* Define to 1 if you want insults culled from the twisted minds of CSOps. */
16 /* Define to 1 if you want sudo to display "command not allowed" instead of
17 "command not found" when a command cannot be found. */
18 #undef DONT_LEAK_PATH_INFO
20 /* A colon-separated list of pathnames to be used as the editor for visudo. */
23 /* Define to 1 to enable environment function debugging. */
26 /* Define to 1 if you want visudo to honor the EDITOR and VISUAL env
30 /* Define to 1 to enable environment resetting by default. */
33 /* If defined, users in this group need not enter a passwd (ie "sudo"). */
36 /* Define to 1 if you want to require fully qualified hosts in sudoers. */
39 /* Define to the type of elements in the array set by `getgroups'. Usually
40 this is either `int' or `gid_t'. */
43 /* Define to 1 if you want insults from the "Goon Show". */
46 /* Define to 1 if you want 2001-like insults. */
49 /* Define to 1 if you use AFS. */
52 /* Define to 1 if you use AIX general authentication. */
55 /* Define to 1 if you have the `asprintf' function. */
58 /* Define to 1 if you have the `authenticate' function. */
59 #undef HAVE_AUTHENTICATE
61 /* Define to 1 if you have the `auth_challenge' function. */
62 #undef HAVE_AUTH_CHALLENGE
64 /* Define to 1 if you have the `bigcrypt' function. */
67 /* Define to 1 if you use BSD authentication. */
68 #undef HAVE_BSD_AUTH_H
70 /* Define to 1 to enable BSM audit support. */
73 /* Define to 1 if you have the `closefrom' function. */
76 /* Define to 1 if you use OSF DCE. */
79 /* Define to 1 if your `DIR' contains dd_fd. */
82 /* Define to 1 if you have the declaration of `errno', and to 0 if you don't.
84 #undef HAVE_DECL_ERRNO
86 /* Define to 1 if you have the declaration of `h_errno', and to 0 if you
88 #undef HAVE_DECL_H_ERRNO
90 /* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
92 #undef HAVE_DECL_SYS_SIGLIST
94 /* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you
96 #undef HAVE_DECL__SYS_SIGLIST
98 /* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
100 #undef HAVE_DECL___SYS_SIGLIST
102 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
106 /* Define to 1 if you have the `dirfd' function or macro. */
109 /* Define to 1 if you have the `dispcrypt' function. */
110 #undef HAVE_DISPCRYPT
112 /* Define to 1 if you have the <dlfcn.h> header file. */
115 /* Define to 1 if you have the `dlopen' function. */
118 /* Define to 1 if your glob.h defines the GLOB_BRACE and GLOB_TILDE flags. */
119 #undef HAVE_EXTENDED_GLOB
121 /* Define to 1 if your system has the F_CLOSEM fcntl. */
122 #undef HAVE_FCNTL_CLOSEM
124 /* Define to 1 if you have the `fgetln' function. */
127 /* Define to 1 if you have the `flock' function. */
130 /* Define to 1 if you have the `fnmatch' function. */
133 /* Define to 1 if you have the `freeifaddrs' function. */
134 #undef HAVE_FREEIFADDRS
136 /* Define to 1 if you have the `futime' function. */
139 /* Define to 1 if you have the `futimes' function. */
142 /* Define to 1 if you have the `futimesat' function. */
143 #undef HAVE_FUTIMESAT
145 /* Define to 1 if you use the FWTK authsrv daemon. */
148 /* Define to 1 if you have the `getaddrinfo' function. */
149 #undef HAVE_GETADDRINFO
151 /* Define to 1 if you have the `getauthuid' function. (ULTRIX 4.x shadow
153 #undef HAVE_GETAUTHUID
155 /* Define to 1 if you have the `getcwd' function. */
158 /* Define to 1 if you have the `getdomainname' function. */
159 #undef HAVE_GETDOMAINNAME
161 /* Define to 1 if you have the `getgrouplist' function. */
162 #undef HAVE_GETGROUPLIST
164 /* Define to 1 if your system has a working `getgroups' function. */
165 #undef HAVE_GETGROUPS
167 /* Define to 1 if you have the `getgrset' function. */
170 /* Define to 1 if you have the `getifaddrs' function. */
171 #undef HAVE_GETIFADDRS
173 /* Define to 1 if you have the `getline' function. */
176 /* Define to 1 if you have the `getprogname' function. */
177 #undef HAVE_GETPROGNAME
179 /* Define to 1 if you have the `getprpwnam' function. (SecureWare-style shadow
181 #undef HAVE_GETPRPWNAM
183 /* Define to 1 if you have the `getpwanam' function. (SunOS 4.x shadow
185 #undef HAVE_GETPWANAM
187 /* Define to 1 if you have the `getresuid' function. */
188 #undef HAVE_GETRESUID
190 /* Define to 1 if you have the `getspnam' function (SVR4-style shadow
194 /* Define to 1 if you have the `getspwuid' function. (HP-UX <= 9.X shadow
196 #undef HAVE_GETSPWUID
198 /* Define to 1 if you have the `getttyent' function. */
199 #undef HAVE_GETTTYENT
201 /* Define to 1 if you have the `getuserattr' function. */
202 #undef HAVE_GETUSERATTR
204 /* Define to 1 if you have the `getutid' function. */
207 /* Define to 1 if you have the `getutxid' function. */
210 /* Define to 1 if you have the `glob' function. */
213 /* Define to 1 if you have the `grantpt' function. */
216 /* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
217 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
219 /* Define to 1 if you have the `gss_krb5_ccache_name' function. */
220 #undef HAVE_GSS_KRB5_CCACHE_NAME
222 /* Define to 1 if your Kerberos is Heimdal. */
225 /* Define to 1 if you have the `initprivs' function. */
226 #undef HAVE_INITPRIVS
228 /* Define to 1 if you have the `innetgr' function. */
231 /* Define to 1 if you have the <inttypes.h> header file. */
232 #undef HAVE_INTTYPES_H
234 /* Define if you have isblank(3). */
237 /* Define to 1 if you have the `iscomsec' function. (HP-UX >= 10.x check for
241 /* Define to 1 if you have the `issecure' function. (SunOS 4.x check for
245 /* Define to 1 if you use Kerberos V. */
248 /* Define to 1 if you have the `killpg' function. */
251 /* Define to 1 if you have the `krb5_get_init_creds_opt_alloc' function. */
252 #undef HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC
254 /* Define to 1 if your `krb5_get_init_creds_opt_free' function takes two
256 #undef HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_TWO_ARGS
258 /* Define to 1 if you have the `krb5_init_secure_context' function. */
259 #undef HAVE_KRB5_INIT_SECURE_CONTEXT
261 /* Define to 1 if you have the `krb5_verify_user' function. */
262 #undef HAVE_KRB5_VERIFY_USER
264 /* Define to 1 if your LDAP needs <lber.h>. (OpenLDAP does not) */
267 /* Define to 1 if you use LDAP for sudoers. */
270 /* Define to 1 if you have the `ldapssl_init' function. */
271 #undef HAVE_LDAPSSL_INIT
273 /* Define to 1 if you have the `ldapssl_set_strength' function. */
274 #undef HAVE_LDAPSSL_SET_STRENGTH
276 /* Define to 1 if you have the `ldap_create' function. */
277 #undef HAVE_LDAP_CREATE
279 /* Define to 1 if you have the `ldap_initialize' function. */
280 #undef HAVE_LDAP_INITIALIZE
282 /* Define to 1 if you have the `ldap_sasl_bind_s' function. */
283 #undef HAVE_LDAP_SASL_BIND_S
285 /* Define to 1 if you have the `ldap_sasl_interactive_bind_s' function. */
286 #undef HAVE_LDAP_SASL_INTERACTIVE_BIND_S
288 /* Define to 1 if you have the `ldap_search_ext_s' function. */
289 #undef HAVE_LDAP_SEARCH_EXT_S
291 /* Define to 1 if you have the `ldap_search_st' function. */
292 #undef HAVE_LDAP_SEARCH_ST
294 /* Define to 1 if you have the `ldap_ssl_client_init' function. */
295 #undef HAVE_LDAP_SSL_CLIENT_INIT
297 /* Define to 1 if you have the <ldap_ssl.h> header file. */
298 #undef HAVE_LDAP_SSL_H
300 /* Define to 1 if you have the `ldap_start_tls_s' function. */
301 #undef HAVE_LDAP_START_TLS_S
303 /* Define to 1 if you have the `ldap_start_tls_s_np' function. */
304 #undef HAVE_LDAP_START_TLS_S_NP
306 /* Define to 1 if you have the `ldap_str2dn' function. */
307 #undef HAVE_LDAP_STR2DN
309 /* Define to 1 if you have the `ldap_unbind_ext_s' function. */
310 #undef HAVE_LDAP_UNBIND_EXT_S
312 /* Define to 1 if you have the <libintl.h> header file. */
313 #undef HAVE_LIBINTL_H
315 /* Define to 1 if you have the <libutil.h> header file. */
316 #undef HAVE_LIBUTIL_H
318 /* Define to 1 to enable Linux audit support. */
319 #undef HAVE_LINUX_AUDIT
321 /* Define to 1 if you have the `lockf' function. */
324 /* Define to 1 if you have the <login_cap.h> header file. */
325 #undef HAVE_LOGIN_CAP_H
327 /* Define to 1 if the system has the type `long long int'. */
328 #undef HAVE_LONG_LONG_INT
330 /* Define to 1 if you have the `lrand48' function. */
333 /* Define to 1 if you have the <maillock.h> header file. */
334 #undef HAVE_MAILLOCK_H
336 /* Define to 1 if you have the <malloc.h> header file. */
339 /* Define to 1 if you have the `mbr_check_membership' function. */
340 #undef HAVE_MBR_CHECK_MEMBERSHIP
342 /* Define to 1 if you have the <memory.h> header file. */
345 /* Define to 1 if you have the `memrchr' function. */
348 /* Define to 1 if you have the `mkdtemp' function. */
351 /* Define to 1 if you have the `mkstemps' function. */
354 /* Define to 1 if you have the <mps/ldap_ssl.h> header file. */
355 #undef HAVE_MPS_LDAP_SSL_H
357 /* Define to 1 if you have the `nanosleep' function. */
358 #undef HAVE_NANOSLEEP
360 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
363 /* Define to 1 if you have the <netgroup.h> header file. */
364 #undef HAVE_NETGROUP_H
366 /* Define to 1 if you have the `nl_langinfo' function. */
367 #undef HAVE_NL_LANGINFO
369 /* Define to 1 if you have the `openpty' function. */
372 /* Define to 1 if you use NRL OPIE. */
375 /* Define to 1 if you use PAM authentication. */
378 /* Define to 1 if you use a specific PAM session for sudo -i. */
379 #undef HAVE_PAM_LOGIN
381 /* Define to 1 if you have the <pam/pam_appl.h> header file. */
382 #undef HAVE_PAM_PAM_APPL_H
384 /* Define to 1 if you have the <paths.h> header file. */
387 /* Define to 1 if you have the `posix_openpt' function. */
388 #undef HAVE_POSIX_OPENPT
390 /* Define to 1 if you have the `priv_set' function. */
393 /* Define to 1 if you have the <project.h> header file. */
394 #undef HAVE_PROJECT_H
396 /* Define to 1 if you have the <pty.h> header file. */
399 /* Define to 1 if you have the `pw_dup' function. */
402 /* Define to 1 if you have the `random' function. */
405 /* Define to 1 if you have the `regcomp' function. */
408 /* Define to 1 if you have the `revoke' function. */
411 /* Define to 1 if the skeychallenge() function is RFC1938-compliant and takes
413 #undef HAVE_RFC1938_SKEYCHALLENGE
415 /* Define to 1 if you have the <sasl.h> header file. */
418 /* Define to 1 if you have the <sasl/sasl.h> header file. */
419 #undef HAVE_SASL_SASL_H
421 /* Define to 1 if you use SecurID for authentication. */
424 /* Define to 1 if you have the <security/pam_appl.h> header file. */
425 #undef HAVE_SECURITY_PAM_APPL_H
427 /* Define to 1 to enable SELinux RBAC support. */
430 /* Define to 1 if you have the `setauthdb' function. */
431 #undef HAVE_SETAUTHDB
433 /* Define to 1 if you have the `setenv' function. */
436 /* Define to 1 if you have the `seteuid' function. */
439 /* Define to 1 if you have the `setkeycreatecon' function. */
440 #undef HAVE_SETKEYCREATECON
442 /* Define to 1 if you have the `setlocale' function. */
443 #undef HAVE_SETLOCALE
445 /* Define to 1 if you have the `setresuid' function. */
446 #undef HAVE_SETRESUID
448 /* Define to 1 if you have the `setreuid' function. */
451 /* Define to 1 if you have the `setrlimit64' function. */
452 #undef HAVE_SETRLIMIT64
454 /* Define to 1 if you have the `set_auth_parameters' function. */
455 #undef HAVE_SET_AUTH_PARAMETERS
457 /* Define to 1 if you have the `shl_load' function. */
460 /* Define to 1 if you have the `sia_ses_init' function. */
461 #undef HAVE_SIA_SES_INIT
463 /* Define to 1 if the system has the type `sigaction_t'. */
464 #undef HAVE_SIGACTION_T
466 /* Define to 1 if you use S/Key. */
469 /* Define to 1 if your S/Key library has skeyaccess(). */
470 #undef HAVE_SKEYACCESS
472 /* Define to 1 if you have the `snprintf' function. */
475 /* Define to 1 if stdbool.h conforms to C99. */
476 #undef HAVE_STDBOOL_H
478 /* Define to 1 if you have the <stdint.h> header file. */
481 /* Define to 1 if you have the <stdlib.h> header file. */
484 /* Define to 1 if you have the `strftime' function. */
487 /* Define to 1 if you have the <strings.h> header file. */
488 #undef HAVE_STRINGS_H
490 /* Define to 1 if you have the <string.h> header file. */
493 /* Define to 1 if you have the `strlcat' function. */
496 /* Define to 1 if you have the `strlcpy' function. */
499 /* Define to 1 if you have the `strrchr' function. */
502 /* Define to 1 if you have the `strsignal' function. */
503 #undef HAVE_STRSIGNAL
505 /* Define to 1 if the system has the type `struct in6_addr'. */
506 #undef HAVE_STRUCT_IN6_ADDR
508 /* Define to 1 if `p_tdev' is a member of `struct kinfo_proc2'. */
509 #undef HAVE_STRUCT_KINFO_PROC2_P_TDEV
511 /* Define to 1 if `ki_tdev' is a member of `struct kinfo_proc'. */
512 #undef HAVE_STRUCT_KINFO_PROC_KI_TDEV
514 /* Define to 1 if `kp_eproc.e_tdev' is a member of `struct kinfo_proc'. */
515 #undef HAVE_STRUCT_KINFO_PROC_KP_EPROC_E_TDEV
517 /* Define to 1 if `p_tdev' is a member of `struct kinfo_proc'. */
518 #undef HAVE_STRUCT_KINFO_PROC_P_TDEV
520 /* Define if your struct sockadr has an sa_len field. */
521 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
523 /* Define to 1 if the system has the type `struct timespec'. */
524 #undef HAVE_STRUCT_TIMESPEC
526 /* Define to 1 if `ut_exit' is a member of `struct utmpx'. */
527 #undef HAVE_STRUCT_UTMPX_UT_EXIT
529 /* Define to 1 if `ut_exit.e_termination' is a member of `struct utmpx'. */
530 #undef HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION
532 /* Define to 1 if `ut_exit.__e_termination' is a member of `struct utmpx'. */
533 #undef HAVE_STRUCT_UTMPX_UT_EXIT___E_TERMINATION
535 /* Define to 1 if `ut_id' is a member of `struct utmpx'. */
536 #undef HAVE_STRUCT_UTMPX_UT_ID
538 /* Define to 1 if `ut_pid' is a member of `struct utmpx'. */
539 #undef HAVE_STRUCT_UTMPX_UT_PID
541 /* Define to 1 if `ut_tv' is a member of `struct utmpx'. */
542 #undef HAVE_STRUCT_UTMPX_UT_TV
544 /* Define to 1 if `ut_type' is a member of `struct utmpx'. */
545 #undef HAVE_STRUCT_UTMPX_UT_TYPE
547 /* Define to 1 if `ut_exit' is a member of `struct utmp'. */
548 #undef HAVE_STRUCT_UTMP_UT_EXIT
550 /* Define to 1 if `ut_exit.e_termination' is a member of `struct utmp'. */
551 #undef HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION
553 /* Define to 1 if `ut_exit.__e_termination' is a member of `struct utmp'. */
554 #undef HAVE_STRUCT_UTMP_UT_EXIT___E_TERMINATION
556 /* Define to 1 if `ut_id' is a member of `struct utmp'. */
557 #undef HAVE_STRUCT_UTMP_UT_ID
559 /* Define to 1 if `ut_pid' is a member of `struct utmp'. */
560 #undef HAVE_STRUCT_UTMP_UT_PID
562 /* Define to 1 if `ut_tv' is a member of `struct utmp'. */
563 #undef HAVE_STRUCT_UTMP_UT_TV
565 /* Define to 1 if `ut_type' is a member of `struct utmp'. */
566 #undef HAVE_STRUCT_UTMP_UT_TYPE
568 /* Define to 1 if `ut_user' is a member of `struct utmp'. */
569 #undef HAVE_STRUCT_UTMP_UT_USER
571 /* Define to 1 if your struct stat has an st_mtim member */
574 /* Define to 1 if your struct stat has an st_mtimespec member */
575 #undef HAVE_ST_MTIMESPEC
577 /* Define to 1 if your struct stat uses an st__tim union */
580 /* Define to 1 if you have the `sysconf' function. */
583 /* Define to 1 if you have the `sysctl' function. */
586 /* Define to 1 if you have the <sys/bsdtypes.h> header file. */
587 #undef HAVE_SYS_BSDTYPES_H
589 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
591 #undef HAVE_SYS_DIR_H
593 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
595 #undef HAVE_SYS_NDIR_H
597 /* Define to 1 if you have the <sys/select.h> header file. */
598 #undef HAVE_SYS_SELECT_H
600 /* Define to 1 if you have the <sys/sockio.h> header file. */
601 #undef HAVE_SYS_SOCKIO_H
603 /* Define to 1 if you have the <sys/stat.h> header file. */
604 #undef HAVE_SYS_STAT_H
606 /* Define to 1 if you have the <sys/stropts.h> header file. */
607 #undef HAVE_SYS_STROPTS_H
609 /* Define to 1 if you have the <sys/sysmacros.h> header file. */
610 #undef HAVE_SYS_SYSMACROS_H
612 /* Define to 1 if you have the <sys/types.h> header file. */
613 #undef HAVE_SYS_TYPES_H
615 /* Define to 1 if you have the `ttyslot' function. */
618 /* Define to 1 if you have the `tzset' function. */
621 /* Define to 1 if you have the <unistd.h> header file. */
624 /* Define to 1 if you have the `unsetenv' function. */
627 /* Define to 1 if you have the <util.h> header file. */
630 /* Define to 1 if you have the `utimes' function. */
633 /* Define to 1 if you have the <utime.h> header file. */
636 /* Define to 1 if you have the <utmpx.h> header file. */
639 /* Define to 1 if you have the `vasprintf' function. */
640 #undef HAVE_VASPRINTF
642 /* Define to 1 if you have the `vsnprintf' function. */
643 #undef HAVE_VSNPRINTF
645 /* Define to 1 if you have the <zlib.h> header file. */
648 /* Define to 1 if the system has the type `_Bool'. */
651 /* Define to 1 if you have the `_getpty' function. */
654 /* Define to 1 if you have the `_innetgr' function. */
657 /* Define to 1 if the compiler supports the C99 __func__ variable. */
660 /* Define to 1 if your crt0.o defines the __progname symbol for you. */
661 #undef HAVE___PROGNAME
663 /* Define to 1 if you want the hostname to be entered into the log file. */
666 /* Define to 1 if you want to ignore '.' and empty PATH elements */
667 #undef IGNORE_DOT_PATH
669 /* The message given when a bad password is entered. */
670 #undef INCORRECT_PASSWORD
672 /* The syslog facility sudo will use. */
675 /* Define to SLOG_SYSLOG, SLOG_FILE, or SLOG_BOTH. */
678 /* Define to 1 if you want a two line OTP (S/Key or OPIE) prompt. */
679 #undef LONG_OTP_PROMPT
681 /* Define to the sub-directory in which libtool stores uninstalled libraries.
685 /* The subject of the mail sent by sudo to the MAILTO user/address. */
688 /* The user or email address that sudo mail is sent to. */
691 /* The max number of chars per log file line (for line wrapping). */
694 /* Define to the max length of a uid_t in string context (excluding the NUL).
698 /* Define to 1 if you don't want sudo to prompt for a password by default. */
699 #undef NO_AUTHENTICATION
701 /* Define to 1 if you don't want users to get the lecture the first they user
705 /* Define to 1 if you don't want to use sudo's PAM session support */
706 #undef NO_PAM_SESSION
708 /* Define to avoid runing the mailer as root. */
709 #undef NO_ROOT_MAILER
711 /* Define to 1 if root should not be allowed to use sudo. */
714 /* Define to 1 if you want a single ticket file instead of per-tty files. */
715 #undef NO_TTY_TICKETS
717 /* Define to the address where bug reports for this package should be sent. */
718 #undef PACKAGE_BUGREPORT
720 /* Define to the full name of this package. */
723 /* Define to the full name and version of this package. */
724 #undef PACKAGE_STRING
726 /* Define to the one symbol short name of this package. */
727 #undef PACKAGE_TARNAME
729 /* Define to the home page for this package. */
732 /* Define to the version of this package. */
733 #undef PACKAGE_VERSION
735 /* The default password prompt. */
738 /* The passwd prompt timeout (in minutes). */
739 #undef PASSWORD_TIMEOUT
741 /* Define to 1 to replace politically incorrect insults with less offensive
745 /* The syslog priority sudo will use for unsuccessful attempts/errors. */
748 /* The syslog priority sudo will use for successful attempts. */
751 /* The user sudo should run commands as by default. */
754 /* Define to 1 to override the user's path with a built-in one. */
757 /* Define to 1 to send mail when the user is not allowed to run a command. */
758 #undef SEND_MAIL_WHEN_NOT_OK
760 /* Define to 1 to send mail when the user is not allowed to run sudo on this
762 #undef SEND_MAIL_WHEN_NO_HOST
764 /* Define to 1 to send mail when the user is not in the sudoers file. */
765 #undef SEND_MAIL_WHEN_NO_USER
767 /* Define to 1 if you want sudo to start a shell if given no arguments. */
768 #undef SHELL_IF_NO_ARGS
770 /* Define to 1 if you want sudo to set $HOME in shell mode. */
771 #undef SHELL_SETS_HOME
773 /* The size of `long int', as computed by sizeof. */
774 #undef SIZEOF_LONG_INT
776 /* Define to 1 if you have the ANSI C header files. */
779 /* Define to 1 if the code in interfaces.c does not compile for you. */
780 #undef STUB_LOAD_INTERFACES
782 /* The name of the sudoers plugin, including extension. */
783 #undef SUDOERS_PLUGIN
785 /* An instance string to append to the username (separated by a slash) for
786 Kerberos V authentication */
787 #undef SUDO_KRB5_INSTANCE
789 /* The umask that the sudo-run prog should use. */
792 /* The number of minutes before sudo asks for a password again. */
795 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
796 #undef TIME_WITH_SYS_TIME
798 /* The number of tries a user gets to enter their password. */
799 #undef TRIES_FOR_PASSWORD
801 /* Define to 1 to use the umask specified in sudoers even when it is less
802 restrictive than the invoking user's. */
803 #undef UMASK_OVERRIDE
805 /* Define to 1 if the `unsetenv' function returns void instead of `int'. */
808 /* Define to 1 if you want to create ~/.sudo_as_admin_successful if the user
809 is in the admin group the first time they run sudo. */
810 #undef USE_ADMIN_FLAG
812 /* Define to 1 if you want to insult the user for entering an incorrect
816 /* Define to 1 if you use GNU stow packaging. */
819 /* Define to avoid using the passwd/shadow file for authentication. */
820 #undef WITHOUT_PASSWD
822 /* Number of bits in a file offset, on hosts where this is settable. */
823 #undef _FILE_OFFSET_BITS
825 /* Define for large files, on AIX-style hosts. */
828 /* Define to __FUNCTION__ if your compiler support __FUNCTION__ but not
832 /* Define to `signed' or nothing if compiler does not support a signed type
836 /* Define to empty if `const' does not conform to ANSI C. */
839 /* Define to `int' if <sys/types.h> does not define. */
842 /* Define to `int' if <sys/types.h> doesn't define. */
845 /* Define to `unsigned int' if <sys/types.h> does not define. */
848 /* Define to `int' if <sys/types.h> does not define. */
851 /* Define to `int' if <signal.h> does not define. */
854 /* Define to `unsigned int' if <sys/types.h> does not define. */
857 /* Define to `unsigned int' if <sys/socket.h> doesn't define. */
860 /* Define to `int' if <sys/types.h> does not define. */
863 /* Define to `int' if <sys/types.h> doesn't define. */
866 /* Define to empty if the keyword `volatile' does not work. Warning: valid
867 code using `volatile' can become incorrect without. Disable with care. */
871 * Macros to convert ctime and mtime into timevals.
873 #define timespec2timeval(_ts, _tv) do { \
874 (_tv)->tv_sec = (_ts)->tv_sec; \
875 (_tv)->tv_usec = (_ts)->tv_nsec / 1000; \
880 # define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctim.st__tim, (_y))
881 # define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtim.st__tim, (_y))
883 # define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctim, (_y))
884 # define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtim, (_y))
887 # ifdef HAVE_ST_MTIMESPEC
888 # define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctimespec, (_y))
889 # define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtimespec, (_y))
891 # define ctim_get(_x, _y) do { (_y)->tv_sec = (_x)->st_ctime; (_y)->tv_usec = 0; } while (0)
892 # define mtim_get(_x, _y) do { (_y)->tv_sec = (_x)->st_mtime; (_y)->tv_usec = 0; } while (0)
893 # endif /* HAVE_ST_MTIMESPEC */
894 #endif /* HAVE_ST_MTIM */
896 /* GNU stow needs /etc/sudoers to be a symlink. */
898 # define stat_sudoers stat
900 # define stat_sudoers lstat
903 /* Macros to set/clear/test flags. */
905 #define SET(t, f) ((t) |= (f))
907 #define CLR(t, f) ((t) &= ~(f))
909 #define ISSET(t, f) ((t) & (f))
911 /* ANSI-style OS defs for HP-UX and ConvexOS. */
912 #if defined(hpux) && !defined(__hpux)
916 #if defined(convex) && !defined(__convex__)
917 # define __convex__ 1
920 /* BSD compatibility on some SVR4 systems. */
923 #endif /* __svr4__ */
925 #endif /* _SUDO_CONFIG_H */