Commit Graph

155 Commits

Author SHA1 Message Date
Todd C. Miller
8104a5f131 now sets sudo_pw_ent 1995-11-21 02:40:22 +00:00
Todd C. Miller
9de4fd5450 updated version number 1995-11-19 23:37:15 +00:00
Todd C. Miller
5d8180011d now warn if chown(2) failed 1995-11-16 08:05:44 +00:00
Todd C. Miller
96be725f35 options.h is now <> instead of "" so shadow build trees can
have a custom copy of options.h
1995-11-13 05:16:38 +00:00
Todd C. Miller
211361a5f0 don't include malloc.h if we include stdlib.h 1995-09-13 21:17:06 +00:00
Todd C. Miller
85d528d355 function comment blocks are now in same style as rest of code 1995-09-01 02:44:54 +00:00
Todd C. Miller
99464ee08b added dummy netgr_matches function 1995-07-25 00:02:05 +00:00
Todd C. Miller
6115fb5d48 added void casts where appropriate 1995-06-15 03:41:25 +00:00
Todd C. Miller
5047747d5e moved signal handler setup to setup_signals() 1995-05-02 03:34:07 +00:00
Todd C. Miller
7ab29f4c75 Exit was being used in places where exit should be used 1995-04-10 23:49:33 +00:00
Todd C. Miller
36fec1269b ntwk_matches -> addr_matches 1995-04-07 23:48:23 +00:00
Todd C. Miller
1441214145 removed extraneous extern decl of "top 1995-04-06 20:16:01 +00:00
Todd C. Miller
4e6307fdcd now zeros "top" 1995-04-06 20:14:08 +00:00
Todd C. Miller
3c033eac15 now includes fcntl.h 1995-03-31 22:27:59 +00:00
Todd C. Miller
e281c20f4e bzero -> memset 1995-03-30 02:47:38 +00:00
Todd C. Miller
c589157438 now do an freopen() of the stmp file so that yyin will always point
to the same thing.  This is important for flex since we are
doing a YY_NEWFILE
1995-03-29 22:22:20 +00:00
Todd C. Miller
485c9e6edc now include ctype.h for islower and tolower macros 1995-03-28 05:49:00 +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
d5752237af now iincludes signal.h 1995-03-27 22:04:19 +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
c56ec5dbcf rewrote from scratch based on 4.3BSD vipw.c 1995-03-27 18:26:36 +00:00
Todd C. Miller
fd341dbde4 now works correctly with utk parser 1995-03-26 06:12:30 +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
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
17f8d74691 now includes options.h 1995-01-11 23:45:55 +00:00
Todd C. Miller
7bd269bd8e now only do Editor +line_num if line_num != 0 1994-12-17 23:18:26 +00:00
Todd C. Miller
5d212959c7 now use mv if rename(2) fails 1994-12-16 02:06:56 +00:00
Todd C. Miller
1249fb564f now copy sudoers to temp file via read/write (not stdio)
now chown new sudoers file to SUDOERS_OWNER
1994-11-10 00:46:21 +00:00
Todd C. Miller
fff477cb85 changed yylineno to sudolineno since yylineno cannot be counted upon. 1994-09-20 22:13:55 +00:00
Todd C. Miller
b56bc92e09 changed sudo-bugs.cs.colorado.edu -> sudo-bugs@cs.colorado.edu 1994-09-02 19:57:37 +00:00
Todd C. Miller
5a766f63ac added include of netinet/in.h 1994-08-12 02:00:39 +00:00
Todd C. Miller
1823b57238 ansified the !STDC_HEADERS decls 1994-08-08 17:05:35 +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
2130006261 comments in #endif 1994-06-08 18:26:36 +00:00
Todd C. Miller
a0944afd88 define SA_RESETHAND to null if not defined 1994-06-07 18:55:01 +00:00
Todd C. Miller
b1d57caa63 added posic signals 1994-06-06 20:57:59 +00:00
Todd C. Miller
9fe50ceef1 updated useag 1994-06-06 16:53:55 +00:00
Todd C. Miller
3d1600cf97 added prototypes & moved sig handler around 1994-05-28 20:23:46 +00:00
Todd C. Miller
6e7d42f3e1 added -v flag and usage() 1994-05-25 03:08:45 +00:00
Todd C. Miller
c8dd0685ac calls to Exit now pass an arg 1994-05-25 00:23:08 +00:00
Todd C. Miller
cd34949b79 signal handler now takes an int argument 1994-05-24 22:00:35 +00:00
Todd C. Miller
e5bfa37161 added <fcntl.h> for solaris & reorg'd the includes + minor prettying up
/
1994-05-24 16:02:23 +00:00
Todd C. Miller
af68170f3e updated version 1994-03-12 18:59:19 +00:00
Todd C. Miller
6474d6e684 udpated to use configure + pathnames.h 1994-03-12 18:39:35 +00:00
Todd C. Miller
51b6a49547 now uses defines used by configure 1994-03-09 22:36:55 +00:00
Todd C. Miller
40013231bf now uses ENV_EDITOR if you want to use the EDITOR envar 1994-01-26 23:52:13 +00:00
Todd C. Miller
5dfa832ead added STATICEDITOR 1993-12-06 01:34:40 +00:00
Todd C. Miller
07f4067d5e added EDITOR envar 1993-12-03 02:35:54 +00:00