Commit Graph

4626 Commits

Author SHA1 Message Date
Todd C. Miller
09e1ddb057 eliminated bison warnings 1995-03-27 23:26:46 +00:00
Todd C. Miller
f1c8d99b9e added missing case 1995-03-27 22:10:22 +00:00
Todd C. Miller
d5752237af now iincludes signal.h 1995-03-27 22:04:19 +00:00
Todd C. Miller
e24031eab0 only clear data structures on a parse error 1995-03-27 20:16:32 +00:00
Todd C. Miller
6876438abf whatnow() now gives help on invalid input 1995-03-27 20:01:19 +00:00
Todd C. Miller
7c7ea0252b added a whatnow() function (sort of like mh) 1995-03-27 19:54:53 +00:00
Todd C. Miller
f92064130e kill_aliases -> reset_aliases
yywrap() now cleans up by calling reset_aliases() and clearing top
took reset stuff out of yyerror() since it doesn't beling there
(and doesn't work anyway).
errorlineno is now initially set to -1 so we can set it to the
first error that occurrs (it was getting set to the last)
1995-03-27 19:53:37 +00:00
Todd C. Miller
bd987bf7f6 added a void cast 1995-03-27 19:53:25 +00:00
Todd C. Miller
c56ec5dbcf rewrote from scratch based on 4.3BSD vipw.c 1995-03-27 18:26:36 +00:00
Todd C. Miller
40fbed9036 removed ocmnd 1995-03-26 06:33:05 +00:00
Todd C. Miller
8de40d1c3c no more sudo_realpath() and find_path() changed params 1995-03-26 06:19:48 +00:00
Todd C. Miller
175390b58b find_path() changed since no more realpath() 1995-03-26 06:19:20 +00:00
Todd C. Miller
d06e1f3ab2 on error, errorlineno is set to the line where the error occurred
added kill_aliases() to free the aliases struct
now clean up in yyerror() so we can reparse cleanly
1995-03-26 06:18:24 +00:00
Todd C. Miller
5509c7763b no more USE_REALPATH 1995-03-26 06:17:37 +00:00
Todd C. Miller
ee49c5c242 changed to use new find_path() 1995-03-26 06:17:19 +00:00
Todd C. Miller
4125ee07ac removed all the realpath() stuff 1995-03-26 06:16:43 +00:00
Todd C. Miller
2c44508faf sudo_realpath.c -> sudo_goodpath.c 1995-03-26 06:16:18 +00:00
Todd C. Miller
fd341dbde4 now works correctly with utk parser 1995-03-26 06:12:30 +00:00
Todd C. Miller
26a5f0d154 Initial revision 1995-03-26 05:04:11 +00:00
Todd C. Miller
cc10c0ec02 eliminated a compiler warning 1995-03-26 04:23:43 +00:00
Todd C. Miller
ba61aad4a4 elinated compiler warning 1995-03-26 02:56:35 +00:00
Todd C. Miller
aeb609efda added sudo_goodpath() 1995-03-26 01:40:37 +00:00
Todd C. Miller
5595c3817b added prototype for sudo_goodpath 1995-03-26 01:40:15 +00:00
Todd C. Miller
054c9ce3d8 added support for /sys/dir.h 1995-03-26 01:39:52 +00:00
Todd C. Miller
094d564e68 USE_REALPATH turned off 1995-03-26 01:39:38 +00:00
Todd C. Miller
c3ac93caa0 added calls to sudo_goodpath() 1995-03-26 01:39:14 +00:00
Todd C. Miller
c08ab75445 added check for dirent.h 1995-03-26 01:39:00 +00:00
Todd C. Miller
c2906f3e91 added HAVE_DIRENT_H 1995-03-26 01:38:44 +00:00
Todd C. Miller
0ef8b2e01c added in linux shadow pass stuff

1995-03-26 00:27:13 +00:00
Todd C. Miller
5b042113ed added back host, user, cmnd, parse_error 1995-03-24 19:43:59 +00:00
Todd C. Miller
846f554a46 added in utk changes plus some minor cosmetic changes 1995-03-24 19:19:14 +00:00
Todd C. Miller
37aafbf098 added void casts for printf's 1995-03-24 19:18:09 +00:00
Todd C. Miller
b7221f7ab1 added a define of USE_REALPATH 1995-03-24 19:17:15 +00:00
Todd C. Miller
359e12ece7 there is no more visudoers/Makefile 1995-03-24 19:17:03 +00:00
Todd C. Miller
dbafc6245e added in utk changes (visudo is now built from the toplevel) 1995-03-24 19:16:32 +00:00
Todd C. Miller
35a22d345b added (void) casts to printf's 1995-03-24 19:15:43 +00:00
Todd C. Miller
34a6197f42 merged in utk changes 1995-03-24 03:32:53 +00:00
Todd C. Miller
0759d48099 now check to see that what we are trying to run is a file (or a link
to a file, we do a stat(2) so there is no diff)
1995-03-23 04:13:11 +00:00
Todd C. Miller
3600186d61 updated 1995-03-13 20:56:47 +00:00
Todd C. Miller
a3457aaf0c aclocal.m4 -> acsite.m4
make realclean updated for new autoconf

1995-03-13 20:56:20 +00:00
Todd C. Miller
e9a79b1370 added myself as maintainer 1995-03-13 20:11:06 +00:00
Todd C. Miller
b9f7c72dd8 changed setegid -> setgid 1995-02-17 04:31:06 +00:00
Todd C. Miller
bc207b74c5 fixed the test for irix 5.x to skip bad libs 1995-02-06 22:43:59 +00:00
Todd C. Miller
312b501f44 now initialize OS and OSREV 1995-02-06 22:43:42 +00:00
Todd C. Miller
34de494321 irix5 changes 1995-01-27 01:52:33 +00:00
Todd C. Miller
e70ddc18dc AC_WITH -> AC_ARG_WITH changes
other misc changes for autoconf 2.1 compatibility
1995-01-27 01:28:02 +00:00
Todd C. Miller
10b323c364 use YY_NEW_FILE, not yyrestart since OSF flex doesn't do the righ
thing wrt yyrestart (grrrr)
1995-01-19 00:49:53 +00:00
Todd C. Miller
9a2d606852 added visudoers/compat.h to DISTFILES 1995-01-16 23:44:20 +00:00
Todd C. Miller
8f18ca32c2 fixed an echo 1995-01-16 22:01:37 +00:00
Todd C. Miller
ee8a3a4402 added ocmnd declaration
adjusted for find_path()'s new parameters
1995-01-16 21:36:02 +00:00