Commit Graph

452 Commits

Author SHA1 Message Date
Todd C. Miller
971a69bb26 fixed a bug that caused directory specs in a Cmnd_Alias to fail if the
last entry in the spec failed (ie: it was only looking at the last entry).
CLeaned things up by adding the cmndcmp() function--all neat & tidy
1994-08-13 01:22:10 +00:00
Todd C. Miller
c3be7c93c4 added one 1994-08-13 01:21:49 +00:00
Todd C. Miller
6e337ed509 now do two passes to skip bogus interfaces (lo0, etc) 1994-08-12 03:42:27 +00:00
Todd C. Miller
5a766f63ac added include of netinet/in.h 1994-08-12 02:00:39 +00:00
Todd C. Miller
835b10be21 added ninclude of netinet/in.h 1994-08-12 01:58:58 +00:00
Todd C. Miller
380be0c4c8 added include of netinet/in.h 1994-08-12 01:58:03 +00:00
Todd C. Miller
787a7254bf ++ 1994-08-12 01:57:19 +00:00
Todd C. Miller
b8cc728d95 added interfaces global 1994-08-12 01:57:03 +00:00
Todd C. Miller
2b0794bb08 now uses new interfaces global 1994-08-12 01:56:47 +00:00
Todd C. Miller
669ecb8a29 now ip addresses are gleaned fw/o dns 1994-08-12 01:56:22 +00:00
Todd C. Miller
49673e12cb added load_ip_addrs() to load the ip_addrs global var 1994-08-10 23:21:47 +00:00
Todd C. Miller
3fa8477a1c added hostcmp() to compare hostnames, ip addrs, and network addrs 1994-08-10 23:21:22 +00:00
Todd C. Miller
2d67de5008 added ip_addrs def
added load_ip_addrs prototype
1994-08-10 23:20:48 +00:00
Todd C. Miller
701f67f7d7 updated 1994-08-08 20:03:40 +00:00
Todd C. Miller
c7b944fc9c removed multiple entries in DISTFILES 1994-08-08 19:57:16 +00:00
Todd C. Miller
1823b57238 ansified the !STDC_HEADERS decls 1994-08-08 17:05:35 +00:00
Todd C. Miller
aaefd1c3a1 don't do malloc decl if gnuc 1994-08-08 17:05:22 +00:00
Todd C. Miller
880ca64066 can't use getopt(3) since it munges args to the command to be run as root
don't do malloc decl if gnuc
1994-08-08 17:04:19 +00:00
Todd C. Miller
e54f35e718 ansi-fied !STDC_HEADER function prottypes 1994-08-08 04:41:20 +00:00
Todd C. Miller
72cf5123b5 added missing paren 1994-08-08 04:27:34 +00:00
Todd C. Miller
cf91591b62 added putenv.c to DISTFILES 1994-08-08 04:23:32 +00:00
Todd C. Miller
495749c328 added params to func decls when STDC_HEADERS is not defined
now can count on putenv() being there
1994-08-08 04:08:43 +00:00
Todd C. Miller
b20e86de96 took out errno decl since sudo.h does it for us
fixed up a next cc warning
added params to func decls when STDC_HEADERS is not defined
1994-08-08 04:08:00 +00:00
Todd C. Miller
65a4afee48 took out environ extern
added local declaratio of putenv() if local version is needed
1994-08-08 04:07:00 +00:00
Todd C. Miller
38b6d5f1df added params to func decls when STDC_HEADERS is not defined 1994-08-08 04:06:48 +00:00
Todd C. Miller
a3bbe79d68 added memcpy check
check to see that ansi vs bsd macros are ntot already defiend before
defining (ie: avoid redefinition)
1994-08-08 04:04:40 +00:00
Todd C. Miller
5b1f9bb962 removed fluff
setenv check plus check w/ replace for putenv if also no setenv
1994-08-08 04:03:19 +00:00
Todd C. Miller
c31749bb56 Initial revision 1994-08-08 04:01:06 +00:00
Todd C. Miller
b827119132 Initial revision 1994-08-06 23:19:50 +00:00
Todd C. Miller
8d28843959 rm'd s realp[ath
added sudo_realpath and sudo_setenv
1994-08-06 23:19:27 +00:00
Todd C. Miller
7b0e8546fb now use sudo_setenvc 1994-08-06 23:19:12 +00:00
Todd C. Miller
e80ed0c913 added puteenv and setenv, removed realpath 1994-08-06 23:18:51 +00:00
Todd C. Miller
9fb3f695ed added putenv & setenv 1994-08-06 23:18:38 +00:00
Todd C. Miller
c070020615 added sudo_setenv 1994-08-06 23:18:18 +00:00
Todd C. Miller
121d219b8c ++ 1994-08-06 23:16:29 +00:00
Todd C. Miller
3f4bcc6ad2 added MAN_POSTINSTALL and /usr/share/catman for irix 1994-08-05 23:43:56 +00:00
Todd C. Miller
bb6e73e3a3 added MAN_POSTINSTALL 1994-08-05 23:43:32 +00:00
Todd C. Miller
108b016147 added 1994-08-05 23:43:18 +00:00
Todd C. Miller
5102232699 added SUDO_* plus new options 1994-08-05 23:10:28 +00:00
Todd C. Miller
5130df6aff added one 1994-08-05 23:10:16 +00:00
Todd C. Miller
6f4d5e7e71 took out shadow lib 1994-08-05 23:07:55 +00:00
Todd C. Miller
ca19e057f7 adde done 1994-08-05 22:35:56 +00:00
Todd C. Miller
a1ebf256df now use yyrestart() if flex
now reset yylineno to 0
1994-08-05 21:52:12 +00:00
Todd C. Miller
c87dbc5fd9 support for installing a cat page instead of a man page if no nroff 1994-08-05 21:49:33 +00:00
Todd C. Miller
9007d32f37 now defines HAVE_FLEX
fixed up man stuff so that it looks for nroff to determine whether or
not to install a cat or man page
1994-08-05 21:48:56 +00:00
Todd C. Miller
a05e773b60 added HAVE_FLEX 1994-08-05 21:48:42 +00:00
Todd C. Miller
ee50a4661e not set ret to MODE_RUN initially 1994-08-05 20:14:59 +00:00
Todd C. Miller
494d1c1168 made command (and therefor cmnd dynamically allocated) 1994-08-05 20:12:09 +00:00
Todd C. Miller
d5cd5fac2b did #8 1994-08-05 00:25:02 +00:00
Todd C. Miller
ace8ac2c0e ++ 1994-08-05 00:24:45 +00:00