Bug 139

Summary: make errors under AIX 4.3.3 cc and gnu c compiler for aix_auth.c
Product: Sudo Reporter: Ken Abrahamsen <kabrahamsen>
Component: ConfigureAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: normal    
Version: 1.6.7   
Hardware: IBM   
OS: AIX   

Description Ken Abrahamsen 2004-05-19 09:47:28 MDT
AIX c compiler:
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/auth/aix_auth.c
"./sudo-1.6.7p5/auth/aix_auth.c", line 86.32: 1506-280 (W) Function argument ass
ignment between types "const unsigned char*" and "volatile unsigned char*" is no
t allowed.
"./sudo-1.6.7p5/auth/aix_auth.c", line 86.16: 1506-280 (W) Function argument ass
ignment between types "void*" and "volatile unsigned char*" is not allowed.


GNU c Compiler:
./sudo-1.6.7p5/auth/aix_auth.c: In function `aixauth_verify':
./sudo-1.6.7p5/auth/aix_auth.c:86: warning: passing arg 1 of `strlen' discards q
ualifiers from pointer target type
./sudo-1.6.7p5/auth/aix_auth.c:86: warning: passing arg 1 of `memset' discards q
ualifiers from pointer target type

Configuration Options Used:
WA2:root:/usr/local/sudo $:cat sudo.configure
#! /bin/ksh
# This file defines the default sudo configuration options for AIX 4.3.3
./sudo-1.6.7p5/configure --with-authenticate --enable-log-host --with-mail-if-no
-host --without-lecture --with-badpri=alert --with-mail-if-noperms
echo "sudo Configure completed."
exit


MAKE output with AIX cc compiler:
# echo $PATH
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin
# find / -name cc
/usr/vac/bin/cc
# export PATH=$PATH:/usr/vac/bin
# ./sudo.configure
configure: Configuring Sudo version 1.6.7
checking whether to use AIX general authentication... yes
checking whether to lecture users the first time they run sudo... no
checking whether sudo should log via syslog or to a file by default... syslog
checking which syslog facility sudo should log with... local2
checking at which syslog priority to log commands... notice
checking at which syslog priority to log failures... alert
checking how long a line in the log file should be... 80
checking whether sudo should ignore '.' or '' in $PATH... no
checking whether to send mail when a user is not in sudoers... yes
checking whether to send mail when user listed but not for this host... yes
checking whether to send mail when a user tries a disallowed command... yes
checking who should get the mail that sudo sends... root
checking for bad password prompt... Password:
checking for bad password message... Sorry, try again.
checking whether to expect fully qualified hosts in sudoers... no
checking for umask programs should be run with... 0022
checking for default user to run commands as... root
checking for editor that visudo should use... vi
checking whether to obey EDITOR and VISUAL environment variables... no
checking number of tries a user gets to enter their password... 3
checking time in minutes after which sudo will ask for a password again... 5
checking time in minutes after the password prompt will time out... 5
checking whether to use per-tty ticket files... no
checking whether to include insults... no
checking whether to override the user's path... no
checking whether to get ip addresses from the network interfaces... yes
checking whether stow should be used... no
checking whether to do user authentication by default... yes
checking whether to disable running the mailer as root... no
checking whether to disable use of POSIX saved ids... no
checking whether to disable shadow password support... no
checking whether root should be allowed to use sudo... yes
checking whether to log the hostname in the log file... yes
checking whether to invoke a shell if sudo is given no arguments... no
checking whether to set $HOME to target user in shell mode... no
checking whether to disable 'command not found' messages... no
checking for egrep... egrep
checking for gcc... no
checking for cc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... (cached) no
checking for cc option to accept ANSI C... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... cc -E
checking for uname... uname
checking for tr... tr
checking for sed... sed
checking for nroff... nroff
checking build system type... powerpc-ibm-aix4.3.3.0
checking host system type... powerpc-ibm-aix4.3.3.0
checking if linker accepts -Wl,-blibpath... yes
checking for getspnam... no
checking for getspnam in -lgen... no
checking for getprpwnam... no
checking for egrep... grep -E
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for bison... no
checking for byacc... no
checking for mv... /usr/bin/mv
checking for bourne shell... /bin/sh
checking for sendmail... /usr/sbin/sendmail
checking for vi... /usr/bin/vi
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking netgroup.h usability... no
checking netgroup.h presence... no
checking for netgroup.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/bsdtypes.h usability... no
checking sys/bsdtypes.h presence... no
checking for sys/bsdtypes.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking POSIX termios... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for sig_atomic_t... yes
checking for sigaction_t... no
checking for size_t... yes
checking for ssize_t... yes
checking for dev_t... yes
checking for ino_t... yes
checking for full void implementation... yes
checking max length of uid_t... 10
checking for long long support... yes
checking for sa_len field in struct sockaddr... yes
checking return type of signal handlers... void
checking for strchr... yes
checking for strrchr... yes
checking for memchr... yes
checking for memcpy... yes
checking for memset... yes
checking for sysconf... yes
checking for tzset... yes
checking for strftime... yes
checking for setrlimit... yes
checking for initgroups... yes
checking for fstat... yes
checking for setresuid... no
checking for setreuid... yes
checking for getifaddrs... no
checking for getcwd... yes
checking for lockf... yes
checking for waitpid... yes
checking for innetgr... yes
checking for getdomainname... yes
checking for lsearch... yes
checking for utime... yes
checking for POSIX utime... yes
checking for working fnmatch with FNM_CASEFOLD... no
checking for isblank... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for sigaction... yes
checking for strlcpy... no
checking for strlcat... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for asprintf... no
checking for vasprintf... no
checking for crypt... yes
checking for socket... yes
checking for inet_addr... yes
checking for syslog... yes
checking for log file location... /var/log/sudo.log
checking for timestamp file location... /tmp/.odus
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sudo.man
config.status: creating visudo.man
config.status: creating sudoers.man
config.status: creating config.h
config.status: creating pathnames.h
sudo Configure completed.
# date
Tue May 18 16:15:15 PDT 2004
# make
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/check.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/env.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/getspwuid.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/goodpath.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/fileops.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/find_path.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/interfaces.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/logging.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/parse.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/set_perms.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/sudo.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/tgetpass.c
"./sudo-1.6.7p5/tgetpass.c", line 132.17: 1506-112 (W) Duplicate type qualifier
"volatile" ignored.
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/auth/sudo_auth.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/auth/aix_auth.c
"./sudo-1.6.7p5/auth/aix_auth.c", line 86.32: 1506-280 (W) Function argument ass
ignment between types "const unsigned char*" and "volatile unsigned char*" is no
t allowed.
"./sudo-1.6.7p5/auth/aix_auth.c", line 86.16: 1506-280 (W) Function argument ass
ignment between types "void*" and "volatile unsigned char*" is not allowed.
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/sudo.tab.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/lex.yy.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/alloc.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/defaults.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/fnmatch.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/strlcpy.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/strlcat.c
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/snprintf.c
        cc -o sudo check.o env.o getspwuid.o goodpath.o fileops.o find_path.o  i
nterfaces.o logging.o parse.o set_perms.o sudo.o tgetpass.o  sudo_auth.o aix_aut
h.o sudo.tab.o lex.yy.o alloc.o defaults.o fnmatch.o strlcpy.o strlcat.o snprint
f.o  -Wl,-bI:./sudo-1.6.7p5/aixcrypt.exp  -ls
        cc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE  -D_PATH_SUDOERS=\"
/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOER
S_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/visudo.c
        cc -o visudo visudo.o fileops.o goodpath.o find_path.o sudo.tab.o lex.yy
.o alloc.o defaults.o fnmatch.o strlcpy.o strlcat.o snprintf.o
Target "all" is up to date.
# date
Tue May 18 16:16:11 PDT 2004



MAKE output with gcc compiler:
WA2:root:/usr/local/sudo $:make
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/check.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/env.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/getspwuid.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/goodpath.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/fileops.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/find_path.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/interfaces.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/logging.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/parse.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/set_perms.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/sudo.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/tgetpass.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/auth/sudo_auth.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/auth/aix_auth.c
./sudo-1.6.7p5/auth/aix_auth.c: In function `aixauth_verify':
./sudo-1.6.7p5/auth/aix_auth.c:86: warning: passing arg 1 of `strlen' discards q
ualifiers from pointer target type
./sudo-1.6.7p5/auth/aix_auth.c:86: warning: passing arg 1 of `memset' discards q
ualifiers from pointer target type
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/sudo.tab.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/lex.yy.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/alloc.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/defaults.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/fnmatch.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/strlcpy.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/strlcat.c
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/snprintf.c
        gcc -o sudo check.o env.o getspwuid.o goodpath.o fileops.o find_path.o
interfaces.o logging.o parse.o set_perms.o sudo.o tgetpass.o  sudo_auth.o aix_au
th.o sudo.tab.o lex.yy.o alloc.o defaults.o fnmatch.o strlcpy.o strlcat.o snprin
tf.o  -Wl,-bI:./sudo-1.6.7p5/aixcrypt.exp  -ls
        gcc -c -I. -I./sudo-1.6.7p5  -D_XOPEN_EXTENDED_SOURCE -O2 -D_PATH_SUDOER
S=\"/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSU
DOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo-1.6.7p5/visudo.c
        gcc -o visudo visudo.o fileops.o goodpath.o find_path.o sudo.tab.o lex.y
y.o alloc.o defaults.o fnmatch.o strlcpy.o strlcat.o snprintf.o
Target "all" is up to date.
Comment 1 Todd C. Miller 2004-05-19 09:58:24 MDT
These warnings are not important--you can safely ignore them.
I took a different approach in sudo 1.6.8 for which there is a beta version out 
now.