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
Todd C. Miller
22fa51dbf5
changed bufs from MAXPATHLEN to MAXPATHLEN+1
1994-08-05 00:24:28 +00:00
Todd C. Miller
a6fe8c86a9
added MODE_
...
removed validate_only and added remove_timestamp()
1994-08-05 00:24:07 +00:00
Todd C. Miller
70333883c0
usage() now takes an int (exit value)
...
added parse_args() to parse command line arguments
moved call to find_path() from load_globals to new function load_cmnd()
removed validate_only global -- now use the concept of "modes"
added -h and -k options
1994-08-05 00:22:15 +00:00
Todd C. Miller
a24fdfd081
no longer use global validate_only
...
now checks for command called "validate"
removed check for non-fully qualified commands since that is
done by find_path
1994-08-05 00:21:04 +00:00
Todd C. Miller
0b185cb71e
changed MAXPATHLEN r to MAXPATHLEN+1
1994-08-05 00:20:17 +00:00
Todd C. Miller
3353665bbb
fixed off by one error with MAXPATHLEN and fixed a comment
1994-08-05 00:17:47 +00:00
Todd C. Miller
81cf2c5e65
check_timestamp no longer runs reminder(), it is implied in the return val
...
added remove_timestamp()
1994-08-05 00:17:22 +00:00
Todd C. Miller
e418bfc74b
updated
1994-08-05 00:16:17 +00:00
Todd C. Miller
abd71f1a7c
fixed on
1994-08-04 20:38:20 +00:00
Todd C. Miller
6259b8270e
took out old_errno
1994-08-04 20:38:01 +00:00
Todd C. Miller
3f0fd7c8c7
updated
1994-08-04 20:37:38 +00:00
Todd C. Miller
91970b4182
moved send_mail to after syslog
1994-08-03 16:08:49 +00:00
Todd C. Miller
8161d52f34
now set SUDO_ envariables
1994-08-03 02:41:55 +00:00
Todd C. Miller
c8fa6ac238
++
1994-08-01 17:40:58 +00:00
Todd C. Miller
35d838c688
now print error if chdir fails
1994-08-01 17:39:53 +00:00
Todd C. Miller
3c318d8ae4
removed an XXX
1994-08-01 17:39:33 +00:00
Todd C. Miller
17800e3e94
updated
1994-07-26 00:40:06 +00:00
Todd C. Miller
648570a53f
no more static binaries for aix
1994-07-26 00:36:54 +00:00
Todd C. Miller
193f01342b
fixed typo
1994-07-25 22:37:22 +00:00
Todd C. Miller
46a7d9cd50
took out stuff not needed for sudo
...
now does be_root/be_user itself
now uses cwd global
1994-07-25 22:33:25 +00:00
Todd C. Miller
691f31353d
+=2
1994-07-25 22:32:46 +00:00