Commit Graph

705 Commits

Author SHA1 Message Date
Todd C. Miller
d3012dcf02 now includes compat.h

1995-03-31 22:47:32 +00:00
Todd C. Miller
3c033eac15 now includes fcntl.h 1995-03-31 22:27:59 +00:00
Todd C. Miller
0d11b8fd1c added FD_SET and FD_ZERO for 4.2BSD 1995-03-31 22:27:35 +00:00
Todd C. Miller
032a129cf4 dirty hack to fix parser bug. i don't really like this but it works
for now...
1995-03-31 21:12:41 +00:00
Todd C. Miller
f4e9cea285 uid2str is now static like the prototype says 1995-03-31 21:12:17 +00:00
Todd C. Miller
2f417910d0 updated 1995-03-30 04:49:03 +00:00
Todd C. Miller
ec700ab3bc Initial revision 1995-03-30 04:48:50 +00:00
Todd C. Miller
086c511947 check_sudoers now returns an error code and sudo calls inform_user
and log_error based on the return value.
1995-03-30 04:46:16 +00:00
Todd C. Miller
37966f0dae added entries for new errors 1995-03-30 04:45:57 +00:00
Todd C. Miller
8e89a08f2c now set uid to that of SUDOERS_OWNER while parsing sudoers file 1995-03-30 04:03:49 +00:00
Todd C. Miller
b6b88fea98 took out testsudoers

1995-03-30 03:52:18 +00:00
Todd C. Miller
838882502a now explicately checks that it is setuid root 1995-03-30 03:36:55 +00:00
Todd C. Miller
a0b01e062b If a user has no passwd entry sudo would segv (writing to a garbage pointer).
Now allocate space before writing :-)
1995-03-30 03:28:48 +00:00
Todd C. Miller
2f1773275e reordered AC_CHECK_FUNCS 1995-03-30 03:06:28 +00:00
Todd C. Miller
0d4643159e fixed memset macro 1995-03-30 03:06:12 +00:00
Todd C. Miller
e281c20f4e bzero -> memset 1995-03-30 02:47:38 +00:00
Todd C. Miller
222d260765 bzero -> memset
when a parse error is logged the line number of the error is now logged
too
1995-03-30 02:47:00 +00:00
Todd C. Miller
25d8da8ad2 added Sunos to blurb about c2 security 1995-03-30 02:46:22 +00:00
Todd C. Miller
b5b99e0b3e added a SUN4 define for C2 security 1995-03-30 02:45:17 +00:00
Todd C. Miller
166536d2a3 bcopy -> memmove
bzero -> memset
1995-03-30 02:44:55 +00:00
Todd C. Miller
a5bf165f70 bcopy -> memmove
char * -> VOID *
1995-03-30 02:43:56 +00:00
Todd C. Miller
99af59db47 added support for sunos with C2 security 1995-03-30 02:30:33 +00:00
Todd C. Miller
f45450cf7b reordered 1995-03-30 02:12:57 +00:00
Todd C. Miller
af2bbaf7ca _PATH_SUDO_LOGFILE now set based on configure 1995-03-30 02:12:36 +00:00
Todd C. Miller
40d004931c added SUDO_LOGFILE and SUDO_TYPE_SIZE_T 1995-03-30 02:12:19 +00:00
Todd C. Miller
4bdb9b6fa4 added _SUDO_PATH_LOGFILE 1995-03-30 02:12:07 +00:00
Todd C. Miller
8fcb78602d added SUDO_LOGFILE to find where to put sudo.log
added SUDO_CHECK_TYPE (just AC_CHECK_TYPE but checks unistd.h too)
added SUDO_TYPE_SIZE_T (calls SUDO_CHECK_TYPE)
1995-03-30 02:11:15 +00:00
Todd C. Miller
38b60eebb4 Initial revision 1995-03-29 23:17:38 +00:00
Todd C. Miller
fe19bcc7c1 now do set_perms(PERM_ROOT) before the getpwuid() in load_global()
to work around a problem is trusted hpux shadow passwords. yuck.
1995-03-29 22:59:47 +00:00
Todd C. Miller
ba7c8ad185 backed out a change in malloc/realloc 1995-03-29 22:41:35 +00:00
Todd C. Miller
cc47d04a0c now include stdlib.h 1995-03-29 22:38:16 +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
60b17a6821 replaced yywrap() with parser_cleanup() since yywrap() needs to be
in parse.lex to be able to use YY_NEW_FILE.  sigh.
1995-03-29 22:20:35 +00:00
Todd C. Miller
4cfd02344f now have a rule that matches anything that doesn't match an explicite rule.
well, you know what i mean (. matches anything not yet matched).
However, this means that there is input still queued up so we need
to do a YY_NEW_FILE; in yywrap.  So, yywrap has moved into parse.lex
and it calls parser_cleanup() which is most of the old yywrap()
sigh.
1995-03-29 22:18:50 +00:00
Todd C. Miller
96f7d5a0c0 no longer used 1995-03-29 22:17:51 +00:00
Todd C. Miller
64b69d5f51 moved compat.h to be the last include file 1995-03-29 21:13:24 +00:00
Todd C. Miller
e3bed398bb fixed type of aliascmp() args 1995-03-29 21:11:18 +00:00
Todd C. Miller
dda75b2fd7 NULL -> '\0' 1995-03-29 20:58:57 +00:00
Todd C. Miller
5db1b51dae added casts to lfind and lsearch args for irix 1995-03-29 20:42:07 +00:00
Todd C. Miller
204f665984 bsdinstall -> install-sh 1995-03-29 13:20:50 +00:00
Todd C. Miller
4ada7ce457 added info about make realclean 1995-03-29 13:20:13 +00:00
Todd C. Miller
78c573df1f updated VERSION
added dependencies for visudo.cat
1995-03-29 13:17:14 +00:00
Todd C. Miller
46dd8bfb86 -> pl5b1 1995-03-29 13:17:02 +00:00
Todd C. Miller
22c7d31a5f took out -l 1995-03-29 13:16:48 +00:00
Todd C. Miller
894585ffe8 now there is a real visudo.man and visudo.cat 1995-03-29 05:03:44 +00:00
Todd C. Miller
644f4fcba8 took out visudo stuff 1995-03-29 04:54:12 +00:00
Todd C. Miller
dd534f542c Initial revision 1995-03-29 04:54:03 +00:00
Todd C. Miller
890fb310e0 updated copyright 1995-03-29 04:12:17 +00:00
Todd C. Miller
1e46c26918 updated for pl5 1995-03-29 04:05:10 +00:00
Todd C. Miller
0c651fc7c0 updated Nieusma & Hieb email addresses 1995-03-29 01:02:19 +00:00