Commit Graph

127 Commits

Author SHA1 Message Date
Todd C. Miller
f9b80fcad4 add cast for strdup in places it does not have it 1999-02-11 06:41:32 +00:00
Todd C. Miller
52916f16ac add explicate copyright 1999-02-03 04:32:19 +00:00
Todd C. Miller
826fe213f2 add sudo tags 1999-01-17 23:16:20 +00:00
Todd C. Miller
d3aaf52283 crank version and regen files 1999-01-17 22:40:55 +00:00
Todd C. Miller
a31b342609 never say "error on line -1" 1998-11-28 00:37:51 +00:00
Todd C. Miller
d5fb938c19 make increases of cm_list_size and ga_list_size be similar to
increases of stacksize (ie: >= not > in initial compare).
1998-11-20 19:26:16 +00:00
Todd C. Miller
cbd9d6f32d when we get a syntax error, report it for the previous line since
that's generally where the error occurred.
1998-11-20 19:22:45 +00:00
Todd C. Miller
62dba8f4d1 more -Wall 1998-11-18 04:16:13 +00:00
Todd C. Miller
c253188f55 -Wall 1998-11-18 03:51:10 +00:00
Todd C. Miller
c3f28be054 kill perror("malloc") since we already have a good error messages 1998-11-04 01:40:35 +00:00
Todd C. Miller
5bfb481ca7 no more options.h 1998-10-15 05:41:26 +00:00
Todd C. Miller
0ef9f25d7e updated version 1998-09-17 16:27:15 +00:00
Todd C. Miller
3dd98aef66 fix version string 1998-09-15 02:25:48 +00:00
Todd C. Miller
e68f156aca add RUNAS_DEFAULT 1998-09-08 00:42:02 +00:00
Todd C. Miller
3b1be424aa updated version 1998-04-06 03:17:56 +00:00
Todd C. Miller
e37e1e56b6 updated version 1998-03-31 05:05:49 +00:00
Todd C. Miller
c866646cdf updated version 1998-02-18 21:39:31 +00:00
Todd C. Miller
14292f47cc fix off by one error in push macro 1998-02-18 21:23:57 +00:00
Todd C. Miller
cd226d56c3 include alloca.h if using bison and not gcc and it exists.
fixes an alloca problem on hpux 10.x
1998-02-17 06:11:28 +00:00
Todd C. Miller
2fc787d5f6 updated version 1998-02-17 02:43:17 +00:00
Todd C. Miller
bc7803cd08 updated version 1998-02-06 20:49:24 +00:00
Todd C. Miller
ca5babc430 updated version 1998-01-21 06:29:42 +00:00
Todd C. Miller
bb6a33e080 updated version 1998-01-21 05:50:58 +00:00
Todd C. Miller
dd18f0def6 -Wall 1998-01-13 07:00:02 +00:00
Todd C. Miller
166789a1dd ++version 1998-01-13 04:48:42 +00:00
Todd C. Miller
23b2719a37 command_alias -> generic_alias 1996-11-14 20:09:12 +00:00
Todd C. Miller
5e723efe75 ++version 1996-11-14 02:37:56 +00:00
Todd C. Miller
7e737b38e8 add size params to sprintf 1996-11-14 00:05:21 +00:00
Todd C. Miller
fcb212ea8f fixed more_aliases 1996-11-12 16:59:02 +00:00
Todd C. Miller
8336c86cb4 fix Runas_Alias stuff
Alias's in runas list now get expanded (but it is gross)
1996-11-11 15:49:11 +00:00
Todd C. Miller
ec7e187376 add Runas_Alias support
change FOO to FOO_ALIAS (ie: USER_ALIAS)
1996-11-11 01:08:22 +00:00
Todd C. Miller
894ef0be76 always store User_Alias's since they can be used inside of a runas list. Sigh. Really need a Runas_Alias instead. 1996-11-11 00:15:21 +00:00
Todd C. Miller
b0248f15df ++version 1996-10-07 05:07:09 +00:00
Todd C. Miller
6a230806a8 courtesan 1996-09-08 00:21:42 +00:00
Todd C. Miller
d189849b44 ++version 1996-08-30 00:37:04 +00:00
Todd C. Miller
a47e58edac changed length/size params from int to size_t 1996-08-25 21:50:52 +00:00
Todd C. Miller
9347d2299c added missing cast 1996-08-18 16:50:20 +00:00
Todd C. Miller
35825133a7 ++version 1996-08-17 23:25:40 +00:00
Todd C. Miller
be3b37d153 fixed some XXX 1996-08-17 23:07:29 +00:00
Todd C. Miller
f0d121ea24 some variable name changes + comment headers for functions. 1996-08-17 22:52:42 +00:00
Todd C. Miller
5436bf7c8f now dynamically allocates memory for the stacks -- no more overflows! 1996-08-17 22:27:29 +00:00
Todd C. Miller
bb29f00234 hacks to expand command aliases for `sudo -l' 1996-08-17 17:22:55 +00:00
Todd C. Miller
0f643f7a47 can now deal with upcase HOST and USER names 1996-08-15 19:47:58 +00:00
Todd C. Miller
4fb2f4ca9a added support for new `sudo -l' stuff 1996-08-09 22:07:51 +00:00
Todd C. Miller
efb526bb25 fixed prototype 1996-07-22 19:50:42 +00:00
Todd C. Miller
f62d59e927 now uses flat args string 1996-07-22 19:31:04 +00:00
Todd C. Miller
d2173d0291 can't rely on cmnd_matches as much as I thought -- added some $$
stuff back in to prevent namespace pollution problems.
1996-07-21 22:41:21 +00:00
Todd C. Miller
0b37772296 Simplified parse rules wrt runas and NOPASSWD (more consistent). 1996-07-21 22:01:07 +00:00
Todd C. Miller
bae4e50e00 fixed no_passwd vs. runas_matched 1996-07-08 17:30:39 +00:00
Todd C. Miller
11f5b77880 was setting runas_matches to -1 in wrong place 1996-07-08 14:21:18 +00:00