Commit Graph

3095 Commits

Author SHA1 Message Date
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
Todd C. Miller
8d8b597963 deal with platforms where size_t is signed and there is no SIZE_MAX or SIZE_T_MAX 2003-03-15 19:49:28 +00:00
Todd C. Miller
80013dd915 Make this compile w/ Heimdal and fix some gcc warnings. 2003-03-15 19:10:38 +00:00
Todd C. Miller
4b7b3c7f59 Use stat_sudoers macro so --with-stow can work 2003-03-15 18:02:02 +00:00
Todd C. Miller
7b124c5dea Add support for --with-stow based on patches from Robert Uhl 2003-03-15 18:01:39 +00:00
Todd C. Miller
7e05ae7a3b fix indentation 2003-03-15 17:51:45 +00:00
Todd C. Miller
18f3cfdf6d back out rev 1.352 2003-03-15 05:21:43 +00:00
Todd C. Miller
37a1bfccd4 regen 2003-03-15 01:11:51 +00:00
Todd C. Miller
cc5cc07652 use strlcpy, not strncpy 2003-03-15 01:11:26 +00:00
Todd C. Miller
2aec2bd724 Fix typo; check pw_uid, not pw_gid after setusercontext() failure. 2003-03-15 00:48:34 +00:00
Todd C. Miller
f4b5af8dac use pid_t 2003-03-15 00:43:51 +00:00
Todd C. Miller
4e1b157c57 Make gcc shutup about unused rcsid 2003-03-14 15:43:49 +00:00
Todd C. Miller
0932bf305f Move the n == 0 check for the non-getifaddrs cas 2003-03-14 15:35:54 +00:00
Todd C. Miller
27ffee8ac0 skeychallenge() on NetBSD take a size parameter 2003-03-14 02:47:55 +00:00
Todd C. Miller
9cafae7a6b regen 2003-03-14 02:38:13 +00:00
Todd C. Miller
50b049dcc9 put -ldl after -lpam, not before; fixes static linking on Linux 2003-03-14 02:38:06 +00:00
Todd C. Miller
debf9f09c5 Avoid malloc(0) and fix the loop invariant for the getifaddrs() case. 2003-03-14 02:17:38 +00:00
Todd C. Miller
af7c4632f1 regen 2003-03-14 01:24:37 +00:00
Todd C. Miller
7aa90a9bb9 regen 2003-03-14 01:24:30 +00:00
Todd C. Miller
fc65ea65c8 Preserve copyright notice from .pod file in .man.in file 2003-03-14 01:23:19 +00:00
Todd C. Miller
e0037d9ad7 Add sudoers(5) to SEE ALSO 2003-03-14 01:01:04 +00:00
Todd C. Miller
8656452cae regen 2003-03-13 20:27:38 +00:00
Todd C. Miller
a01f25b5f1 Don't assume libc can realloc() a NULL string.
If malloc/realloc fails, make sure we just return; yyerror() is not terminal.
2003-03-13 20:27:09 +00:00
Todd C. Miller
1725de8772 regen 2003-03-13 20:17:41 +00:00
Todd C. Miller
9ae8aadee5 simplify fill_args a little and use strlcpy for paranoia 2003-03-13 20:17:14 +00:00
Todd C. Miller
a822179f56 regen 2003-03-13 20:02:20 +00:00
Todd C. Miller
eebc763bd3 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.
2003-03-13 20:00:45 +00:00
Todd C. Miller
a54c8e66fa Add strlc{at,py} protos 2003-03-13 17:54:04 +00:00
Todd C. Miller
7ce95c61c8 Use erealloc3() 2003-03-13 17:03:23 +00:00
Todd C. Miller
006e64f61e regen 2003-03-13 17:00:51 +00:00
Todd C. Miller
5b40c964de Oflow test of nmemb > SIZE_MAX / size is fine (don't need >=).
Use memcpy() instead of strcpy() in estrdup() so this is strcpy()-free.
2003-03-13 17:00:31 +00:00
Todd C. Miller
96376b6d4e snprintf() a uid as %lu, not %ld to match the MAX_UID_T_LEN test in
configure.
2003-03-13 16:58:25 +00:00
Todd C. Miller
4df44eea5d In MAX_UID_T_LEN test cast uid_t to unsigned long, just unsigned. 2003-03-13 16:56:38 +00:00