]>
granicus.if.org Git - sudo/log
Todd C. Miller [Wed, 2 Apr 2003 18:15:32 +0000 (18:15 +0000)]
regen
Todd C. Miller [Wed, 2 Apr 2003 18:15:25 +0000 (18:15 +0000)]
Add checks for getprognam(), __progname and err.h
Todd C. Miller [Wed, 2 Apr 2003 18:14:57 +0000 (18:14 +0000)]
For systems withour err/warn functions.
Todd C. Miller [Wed, 2 Apr 2003 18:14:53 +0000 (18:14 +0000)]
For systems withour err/warn functions.
Todd C. Miller [Wed, 2 Apr 2003 18:14:32 +0000 (18:14 +0000)]
For systems neither getprogname() nor __progname; uses Argv[0].
Todd C. Miller [Tue, 1 Apr 2003 15:09:51 +0000 (15:09 +0000)]
checkpoint for 1.6.7p1
Todd C. Miller [Tue, 1 Apr 2003 15:02:49 +0000 (15:02 +0000)]
fix strlcpy() rval check (innocuous)
Todd C. Miller [Tue, 1 Apr 2003 14:58:55 +0000 (14:58 +0000)]
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.
Todd C. Miller [Mon, 31 Mar 2003 00:02:10 +0000 (00:02 +0000)]
checkpoint for the sudo 1.6.7 release
Todd C. Miller [Mon, 31 Mar 2003 00:02:10 +0000 (00:02 +0000)]
checkpoint for the sudo 1.6.7 release
Todd C. Miller [Mon, 24 Mar 2003 21:09:27 +0000 (21:09 +0000)]
g/c unused variable
Todd C. Miller [Mon, 24 Mar 2003 16:06:12 +0000 (16:06 +0000)]
regen
Todd C. Miller [Mon, 24 Mar 2003 16:05:59 +0000 (16:05 +0000)]
use man sections 8 and 5 for csops
Todd C. Miller [Fri, 21 Mar 2003 23:11:45 +0000 (23:11 +0000)]
regen
Todd C. Miller [Fri, 21 Mar 2003 20:10:22 +0000 (20:10 +0000)]
Add -lskey or -lopie directly to SUDO_LIBS instead of having AC_CHECK_LIB()
add them to LIBS. Fixes visudo linkage.
Todd C. Miller [Fri, 21 Mar 2003 19:02:05 +0000 (19:02 +0000)]
regen
Todd C. Miller [Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)]
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.
Todd C. Miller [Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)]
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.
Todd C. Miller [Fri, 21 Mar 2003 19:01:05 +0000 (19:01 +0000)]
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.
Todd C. Miller [Fri, 21 Mar 2003 03:05:50 +0000 (03:05 +0000)]
add AIX blibpath support
Todd C. Miller [Fri, 21 Mar 2003 01:28:41 +0000 (01:28 +0000)]
--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"
Todd C. Miller [Thu, 20 Mar 2003 22:44:41 +0000 (22:44 +0000)]
Detect KTH Kerberos IV and deal with it. Also make -lroken optional
for KTH Kerberos IV and V.
Todd C. Miller [Thu, 20 Mar 2003 19:42:02 +0000 (19:42 +0000)]
Add SUDO_APPEND_LIBPATH function that add -L/path/to/dir (and
-R/path/to/dir if $with_rpath) to the specified variable.
Todd C. Miller [Thu, 20 Mar 2003 19:40:58 +0000 (19:40 +0000)]
Add -R/path/to/libs for Solaris and SVR4. There is a new configure
option, --with-rpath to control this behavior.
Todd C. Miller [Thu, 20 Mar 2003 04:50:01 +0000 (04:50 +0000)]
for kerb4 put libdes after libkrb on the link line
Todd C. Miller [Thu, 20 Mar 2003 04:49:58 +0000 (04:49 +0000)]
typo
Todd C. Miller [Thu, 20 Mar 2003 04:33:21 +0000 (04:33 +0000)]
fix kerberos lib check when a path is specified
Todd C. Miller [Thu, 20 Mar 2003 02:04:32 +0000 (02:04 +0000)]
Fix boolean thinko in SIGCHLD reaper and call reapchild after sending
mail instead of doing a conditional sudo_waitpid.
Todd C. Miller [Wed, 19 Mar 2003 21:20:08 +0000 (21:20 +0000)]
regen
Todd C. Miller [Wed, 19 Mar 2003 21:19:53 +0000 (21:19 +0000)]
replace =DIR with [=DIR] where sensible
Todd C. Miller [Wed, 19 Mar 2003 21:16:57 +0000 (21:16 +0000)]
o Use AC_MSG_* instead of "echo"
o New Kerberos include/lib detection based on openssh's configure.in
Todd C. Miller [Wed, 19 Mar 2003 20:58:02 +0000 (20:58 +0000)]
--with-kerb4 and --with-kerb5 now take an optional argument.
Todd C. Miller [Sun, 16 Mar 2003 03:03:32 +0000 (03:03 +0000)]
Kill remaining strcpy(), the programmer's guide says username is 32 bytes.
Todd C. Miller [Sun, 16 Mar 2003 02:18:57 +0000 (02:18 +0000)]
trat uid_t as unsigned long for printf and use snprintf, not sprintf
Todd C. Miller [Sun, 16 Mar 2003 02:18:34 +0000 (02:18 +0000)]
use snprintf
Todd C. Miller [Sat, 15 Mar 2003 20:37:44 +0000 (20:37 +0000)]
update copyright year
Todd C. Miller [Sat, 15 Mar 2003 20:33:31 +0000 (20:33 +0000)]
update copyright year
Todd C. Miller [Sat, 15 Mar 2003 20:31:02 +0000 (20:31 +0000)]
update copyright year
Todd C. Miller [Sat, 15 Mar 2003 20:19:58 +0000 (20:19 +0000)]
Cast [ug]ids to unsigned long and printf with %lu
Todd C. Miller [Sat, 15 Mar 2003 20:17:06 +0000 (20:17 +0000)]
regen
Todd C. Miller [Sat, 15 Mar 2003 20:16:58 +0000 (20:16 +0000)]
correct error messages for --with-sudoers-{mode,uid,gid}
Todd C. Miller [Sat, 15 Mar 2003 20:10:42 +0000 (20:10 +0000)]
make the malloc(0) error specific to each function to aid tracking down
bugs.
Todd C. Miller [Sat, 15 Mar 2003 19:49:28 +0000 (19:49 +0000)]
deal with platforms where size_t is signed and there is no SIZE_MAX or SIZE_T_MAX
Todd C. Miller [Sat, 15 Mar 2003 19:10:38 +0000 (19:10 +0000)]
Make this compile w/ Heimdal and fix some gcc warnings.
Todd C. Miller [Sat, 15 Mar 2003 18:02:02 +0000 (18:02 +0000)]
Use stat_sudoers macro so --with-stow can work
Todd C. Miller [Sat, 15 Mar 2003 18:01:39 +0000 (18:01 +0000)]
Add support for --with-stow based on patches from Robert Uhl
Todd C. Miller [Sat, 15 Mar 2003 17:51:45 +0000 (17:51 +0000)]
fix indentation
Todd C. Miller [Sat, 15 Mar 2003 05:21:43 +0000 (05:21 +0000)]
back out rev 1.352
Todd C. Miller [Sat, 15 Mar 2003 01:11:51 +0000 (01:11 +0000)]
regen
Todd C. Miller [Sat, 15 Mar 2003 01:11:26 +0000 (01:11 +0000)]
use strlcpy, not strncpy
Todd C. Miller [Sat, 15 Mar 2003 00:48:34 +0000 (00:48 +0000)]
Fix typo; check pw_uid, not pw_gid after setusercontext() failure.
Todd C. Miller [Sat, 15 Mar 2003 00:43:51 +0000 (00:43 +0000)]
use pid_t
Todd C. Miller [Fri, 14 Mar 2003 15:43:49 +0000 (15:43 +0000)]
Make gcc shutup about unused rcsid
Todd C. Miller [Fri, 14 Mar 2003 15:35:54 +0000 (15:35 +0000)]
Move the n == 0 check for the non-getifaddrs cas
Todd C. Miller [Fri, 14 Mar 2003 02:47:55 +0000 (02:47 +0000)]
skeychallenge() on NetBSD take a size parameter
Todd C. Miller [Fri, 14 Mar 2003 02:38:13 +0000 (02:38 +0000)]
regen
Todd C. Miller [Fri, 14 Mar 2003 02:38:06 +0000 (02:38 +0000)]
put -ldl after -lpam, not before; fixes static linking on Linux
Todd C. Miller [Fri, 14 Mar 2003 02:17:38 +0000 (02:17 +0000)]
Avoid malloc(0) and fix the loop invariant for the getifaddrs() case.
Todd C. Miller [Fri, 14 Mar 2003 01:24:37 +0000 (01:24 +0000)]
regen
Todd C. Miller [Fri, 14 Mar 2003 01:24:30 +0000 (01:24 +0000)]
regen
Todd C. Miller [Fri, 14 Mar 2003 01:23:19 +0000 (01:23 +0000)]
Preserve copyright notice from .pod file in .man.in file
Todd C. Miller [Fri, 14 Mar 2003 01:01:04 +0000 (01:01 +0000)]
Add sudoers(5) to SEE ALSO
Todd C. Miller [Thu, 13 Mar 2003 20:27:38 +0000 (20:27 +0000)]
regen
Todd C. Miller [Thu, 13 Mar 2003 20:27:09 +0000 (20:27 +0000)]
Don't assume libc can realloc() a NULL string.
If malloc/realloc fails, make sure we just return; yyerror() is not terminal.
Todd C. Miller [Thu, 13 Mar 2003 20:17:41 +0000 (20:17 +0000)]
regen
Todd C. Miller [Thu, 13 Mar 2003 20:17:14 +0000 (20:17 +0000)]
simplify fill_args a little and use strlcpy for paranoia
Todd C. Miller [Thu, 13 Mar 2003 20:02:20 +0000 (20:02 +0000)]
regen
Todd C. Miller [Thu, 13 Mar 2003 20:00:45 +0000 (20:00 +0000)]
Use strlc{at,py} for paranoia's sake and exit on overflow. In all
cases the strings were either pre-allocated to the correct size of
length checks were done before the copy but a little paranoia can
go a long way.
Todd C. Miller [Thu, 13 Mar 2003 17:54:04 +0000 (17:54 +0000)]
Add strlc{at,py} protos
Todd C. Miller [Thu, 13 Mar 2003 17:03:23 +0000 (17:03 +0000)]
Use erealloc3()
Todd C. Miller [Thu, 13 Mar 2003 17:00:51 +0000 (17:00 +0000)]
regen
Todd C. Miller [Thu, 13 Mar 2003 17:00:31 +0000 (17:00 +0000)]
Oflow test of nmemb > SIZE_MAX / size is fine (don't need >=).
Use memcpy() instead of strcpy() in estrdup() so this is strcpy()-free.
Todd C. Miller [Thu, 13 Mar 2003 16:58:25 +0000 (16:58 +0000)]
snprintf() a uid as %lu, not %ld to match the MAX_UID_T_LEN test in
configure.
Todd C. Miller [Thu, 13 Mar 2003 16:56:38 +0000 (16:56 +0000)]
In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned.
Todd C. Miller [Wed, 12 Mar 2003 23:46:54 +0000 (23:46 +0000)]
Use snprintf() for paranoia
Todd C. Miller [Wed, 12 Mar 2003 22:16:13 +0000 (22:16 +0000)]
Use emalloc2 and erealloc3
Todd C. Miller [Wed, 12 Mar 2003 22:08:29 +0000 (22:08 +0000)]
strlc{at,py} for those w/o it
Todd C. Miller [Wed, 12 Mar 2003 22:07:36 +0000 (22:07 +0000)]
stlc{at,py} for those w/o it.
Todd C. Miller [Wed, 12 Mar 2003 22:07:26 +0000 (22:07 +0000)]
Add stlc{at,py} for those w/o it.
Todd C. Miller [Wed, 12 Mar 2003 21:51:39 +0000 (21:51 +0000)]
Add erealloc3(), a realloc() version of emalloc2().
Todd C. Miller [Wed, 12 Mar 2003 21:45:51 +0000 (21:45 +0000)]
Use emalloc2() to allocate N things of a certain size.
Todd C. Miller [Wed, 12 Mar 2003 21:41:22 +0000 (21:41 +0000)]
Add emalloc2() -- like calloc() but w/o the bzero and with error/oflow
checking.
Todd C. Miller [Wed, 12 Mar 2003 21:23:40 +0000 (21:23 +0000)]
Error out on malloc(0); suggested by theo
Todd C. Miller [Mon, 10 Mar 2003 00:34:09 +0000 (00:34 +0000)]
fix a typo; David Krause
Todd C. Miller [Fri, 7 Mar 2003 15:46:18 +0000 (15:46 +0000)]
fix typo
Todd C. Miller [Tue, 4 Mar 2003 02:47:24 +0000 (02:47 +0000)]
Remove DYLD_ from the environment for MacOS X; from bbraun
Todd C. Miller [Sat, 1 Mar 2003 18:21:20 +0000 (18:21 +0000)]
not not; Anil Madhavapeddy
Todd C. Miller [Thu, 23 Jan 2003 08:03:51 +0000 (08:03 +0000)]
typos; jmc@openbsd.org
Todd C. Miller [Mon, 20 Jan 2003 21:13:42 +0000 (21:13 +0000)]
Add some missing ';' rule terminators that bison warns about.
Todd C. Miller [Mon, 20 Jan 2003 21:07:51 +0000 (21:07 +0000)]
fix typo I introduced in last merge
Todd C. Miller [Mon, 20 Jan 2003 20:59:08 +0000 (20:59 +0000)]
regenerate with autoconf 2.57
Todd C. Miller [Mon, 20 Jan 2003 20:58:48 +0000 (20:58 +0000)]
Add missing "$HOME"
Todd C. Miller [Mon, 20 Jan 2003 20:57:51 +0000 (20:57 +0000)]
Add some more square backets to make autoconf 2.57 happy
Todd C. Miller [Mon, 20 Jan 2003 19:39:04 +0000 (19:39 +0000)]
Updates from autoconf-2.57
Todd C. Miller [Mon, 20 Jan 2003 19:39:04 +0000 (19:39 +0000)]
Updates from autoconf-2.57
Todd C. Miller [Fri, 17 Jan 2003 23:10:05 +0000 (23:10 +0000)]
regen
Todd C. Miller [Fri, 17 Jan 2003 23:10:05 +0000 (23:10 +0000)]
regen
Todd C. Miller [Fri, 17 Jan 2003 23:09:45 +0000 (23:09 +0000)]
Add support for Defaults>RunasUser
Todd C. Miller [Tue, 7 Jan 2003 00:10:04 +0000 (00:10 +0000)]
fclose() yyin after each yyparse() is done and use fopen() instead of
using freopen().
Todd C. Miller [Tue, 7 Jan 2003 00:02:33 +0000 (00:02 +0000)]
Better fix for sudoers files w/o a newline before EOF. It looks
like the issue is that yyrestart() does not reset the start condition
to INITIAL which is an issue since we parse sudoers multiple times.