Commit Graph

3027 Commits

Author SHA1 Message Date
Todd C. Miller
12694ed15d ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
c8459f7d1f ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
50b48929ce ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
6cb95ca0bc ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
539a65cdec ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
7a15e5079c use krb5-config to determine Kerberos V details if it exists 2003-04-02 18:44:52 +00:00
Todd C. Miller
dcf1a5acce Use warn/err and getprogname() throughout. The main exception is
openlog().  Since the admin may be filtering logs based on the
program name in the log files, hard code this to "sudo".
2003-04-02 18:25:30 +00:00
Todd C. Miller
4afe015806 Add getprogname.c and err.c 2003-04-02 18:16:00 +00:00
Todd C. Miller
fd5d6e943f regen 2003-04-02 18:15:32 +00:00
Todd C. Miller
d64a83b41e Add checks for getprognam(), __progname and err.h 2003-04-02 18:15:25 +00:00
Todd C. Miller
b51c124116 For systems withour err/warn functions. 2003-04-02 18:14:57 +00:00
Todd C. Miller
0eaddf3e86 For systems withour err/warn functions. 2003-04-02 18:14:53 +00:00
Todd C. Miller
c5aa05992e For systems neither getprogname() nor __progname; uses Argv[0]. 2003-04-02 18:14:32 +00:00
Todd C. Miller
ad200188fc checkpoint for 1.6.7p1 2003-04-01 15:09:51 +00:00
Todd C. Miller
632dbebef0 fix strlcpy() rval check (innocuous) 2003-04-01 15:02:49 +00:00
Todd C. Miller
f761cef5c8 oflow detection in expand_prompt() was faulty (false positives).
The count was based on strlcat() return value which includes the
length of the entire string.
2003-04-01 14:58:55 +00:00
Todd C. Miller
d529fea7bb checkpoint for the sudo 1.6.7 release 2003-03-31 00:02:10 +00:00
Todd C. Miller
ea6c2c1cce checkpoint for the sudo 1.6.7 release 2003-03-31 00:02:10 +00:00
Todd C. Miller
fff31a8a56 g/c unused variable 2003-03-24 21:09:27 +00:00
Todd C. Miller
b16eb4722e regen 2003-03-24 16:06:12 +00:00
Todd C. Miller
aa698f905e use man sections 8 and 5 for csops 2003-03-24 16:05:59 +00:00
Todd C. Miller
c827a73ae9 regen 2003-03-21 23:11:45 +00:00
Todd C. Miller
8cc257b596 Add -lskey or -lopie directly to SUDO_LIBS instead of having AC_CHECK_LIB()
add them to LIBS.  Fixes visudo linkage.
2003-03-21 20:10:22 +00:00
Todd C. Miller
cf8618c7a8 regen 2003-03-21 19:02:05 +00:00
Todd C. Miller
ed7cfdc1cf Add --with-blibpath for AIX. An alternate libpath may be specified or
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.
2003-03-21 19:01:05 +00:00
Todd C. Miller
02b4fa7690 Add --with-blibpath for AIX. An alternate libpath may be specified or
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.
2003-03-21 19:01:05 +00:00
Todd C. Miller
936e8b501e Add --with-blibpath for AIX. An alternate libpath may be specified or
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.
2003-03-21 19:01:05 +00:00
Todd C. Miller
0a2de952a2 add AIX blibpath support 2003-03-21 03:05:50 +00:00
Todd C. Miller
e7759a8b07 --with-skey and --with-opie now take an option directory argument
This obsoletes a --with-csops hack (/tools/cs/skey)

Also remove the remaining direct uses of "echo"
2003-03-21 01:28:41 +00:00
Todd C. Miller
67837e50c4 Detect KTH Kerberos IV and deal with it. Also make -lroken optional
for KTH Kerberos IV and V.
2003-03-20 22:44:41 +00:00
Todd C. Miller
4b1013f82c Add SUDO_APPEND_LIBPATH function that add -L/path/to/dir (and
-R/path/to/dir if $with_rpath) to the specified variable.
2003-03-20 19:42:02 +00:00
Todd C. Miller
9e6f380620 Add -R/path/to/libs for Solaris and SVR4. There is a new configure
option, --with-rpath to control this behavior.
2003-03-20 19:40:58 +00:00
Todd C. Miller
a41cbc597a for kerb4 put libdes after libkrb on the link line 2003-03-20 04:50:01 +00:00
Todd C. Miller
c4dd20ab7f typo 2003-03-20 04:49:58 +00:00
Todd C. Miller
0343559c5a fix kerberos lib check when a path is specified 2003-03-20 04:33:21 +00:00
Todd C. Miller
a7d746af2d Fix boolean thinko in SIGCHLD reaper and call reapchild after sending
mail instead of doing a conditional sudo_waitpid.
2003-03-20 02:04:32 +00:00
Todd C. Miller
2897c23e9e regen 2003-03-19 21:20:08 +00:00
Todd C. Miller
a23a3d77b6 replace =DIR with [=DIR] where sensible 2003-03-19 21:19:53 +00:00
Todd C. Miller
02cde46459 o Use AC_MSG_* instead of "echo"
o New Kerberos include/lib detection based on openssh's configure.in
2003-03-19 21:16:57 +00:00
Todd C. Miller
6aac4105f9 --with-kerb4 and --with-kerb5 now take an optional argument. 2003-03-19 20:58:02 +00:00
Todd C. Miller
ecee620389 Kill remaining strcpy(), the programmer's guide says username is 32 bytes. 2003-03-16 03:03:32 +00:00
Todd C. Miller
d2ced184ec trat uid_t as unsigned long for printf and use snprintf, not sprintf 2003-03-16 02:18:57 +00:00
Todd C. Miller
dc39c56502 use snprintf 2003-03-16 02:18:34 +00:00
Todd C. Miller
d6a9e16d95 update copyright year 2003-03-15 20:37:44 +00:00
Todd C. Miller
150aec7982 update copyright year 2003-03-15 20:33:31 +00:00
Todd C. Miller
48229cbac6 update copyright year 2003-03-15 20:31:02 +00:00
Todd C. Miller
b18a141ae9 Cast [ug]ids to unsigned long and printf with %lu 2003-03-15 20:19:58 +00:00
Todd C. Miller
eafc58b267 regen 2003-03-15 20:17:06 +00:00
Todd C. Miller
bc400ffbfa correct error messages for --with-sudoers-{mode,uid,gid} 2003-03-15 20:16:58 +00:00
Todd C. Miller
bb2c3323d9 make the malloc(0) error specific to each function to aid tracking down
bugs.
2003-03-15 20:10:42 +00:00