Todd C. Miller
363964548e
removed HAVE_FLEX
...
added VOID
added HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H
added HAVE_LSEARCH
1995-03-28 05:45:21 +00:00
Todd C. Miller
b207b64d8e
added _S_IFMT, _S_IFREG, and S_ISREG
1995-03-28 05:44:58 +00:00
Todd C. Miller
6b98875f8d
took out SUDO_PROG_INSTALL
...
1.x to 2.x changes
added echo and results to most SUDO_* macros
1995-03-28 05:44:10 +00:00
Todd C. Miller
2b322baa6d
no more -I.
1995-03-28 05:43:45 +00:00
Todd C. Miller
91da5d313b
various 1.x ro 2.x autoconf changes
...
now check for strcasecmp
now use AC_INSTALL_PROG instead of custom one
added check for fully woorking void implementation
1995-03-28 05:22:27 +00:00
Todd C. Miller
a6867100a7
added lsearch & search.h
...
visudo links into $(LIBOBJS)
1995-03-28 05:02:01 +00:00
Todd C. Miller
dde32f14da
partial 1.x to 2.x changes
...
added SUDO_FULL_VOID
1995-03-28 04:43:36 +00:00
Todd C. Miller
348eb2c3ea
whatnow_help was prototyped to be static be was not declared as such
1995-03-28 04:40:44 +00:00
Todd C. Miller
dbc0ddbdff
autoconf 2.x changes
...
took out HAVE_FLEX (no longer used)
added check for dirent/dir/ndir.h
1995-03-28 02:15:39 +00:00
Todd C. Miller
d24022cdef
now use groovy gnu autoconf macro AC_HEADER_DIRENT
1995-03-28 02:09:15 +00:00
Todd C. Miller
fb3c0f2a34
MAXPATHLEN -> MAXPATHLEN+1
1995-03-28 01:38:43 +00:00
Todd C. Miller
c28761743e
Initial revision
1995-03-28 01:23:36 +00:00
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