mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 05:48:18 +00:00
Only OpenPAM and Linux PAM use const qualifiers.
This commit is contained in:
parent
9f8f030c5b
commit
b106eabb4b
@ -531,11 +531,11 @@
|
||||
# define stat_sudoers lstat
|
||||
#endif
|
||||
|
||||
/* Solaris doesn't use const qualifiers in PAM. */
|
||||
#ifdef sun
|
||||
# define PAM_CONST
|
||||
#else
|
||||
/* Only OpenPAM and Linux PAM use const qualifiers. */
|
||||
#if defined(_OPENPAM) || defined(__LIBPAM_VERSION)
|
||||
# define PAM_CONST const
|
||||
#else
|
||||
# define PAM_CONST
|
||||
#endif
|
||||
|
||||
#ifdef USE_EXECV
|
||||
|
@ -2175,11 +2175,11 @@ AH_BOTTOM([/*
|
||||
# define stat_sudoers lstat
|
||||
#endif
|
||||
|
||||
/* Solaris doesn't use const qualifiers in PAM. */
|
||||
#ifdef sun
|
||||
# define PAM_CONST
|
||||
#else
|
||||
/* Only OpenPAM and Linux PAM use const qualifiers. */
|
||||
#if defined(_OPENPAM) || defined(__LIBPAM_VERSION)
|
||||
# define PAM_CONST const
|
||||
#else
|
||||
# define PAM_CONST
|
||||
#endif
|
||||
|
||||
#ifdef USE_EXECV
|
||||
|
Loading…
x
Reference in New Issue
Block a user