]> granicus.if.org Git - sudo/log
sudo
29 years agobetter hack from Chris (but still a hack)
Todd C. Miller [Fri, 31 Mar 1995 23:08:15 +0000 (23:08 +0000)]
better hack from Chris (but still a hack)

29 years agostupid hack for broken aix lex
Todd C. Miller [Fri, 31 Mar 1995 23:05:51 +0000 (23:05 +0000)]
stupid hack for broken aix lex

29 years agonow includes compat.h
Todd C. Miller [Fri, 31 Mar 1995 22:47:32 +0000 (22:47 +0000)]
now includes compat.h
\ 6

29 years agonow includes fcntl.h
Todd C. Miller [Fri, 31 Mar 1995 22:27:59 +0000 (22:27 +0000)]
now includes fcntl.h

29 years agoadded FD_SET and FD_ZERO for 4.2BSD
Todd C. Miller [Fri, 31 Mar 1995 22:27:35 +0000 (22:27 +0000)]
added FD_SET and FD_ZERO for 4.2BSD

29 years agodirty hack to fix parser bug. i don't really like this but it works
Todd C. Miller [Fri, 31 Mar 1995 21:12:41 +0000 (21:12 +0000)]
dirty hack to fix parser bug.  i don't really like this but it works
for now...

29 years agouid2str is now static like the prototype says
Todd C. Miller [Fri, 31 Mar 1995 21:12:17 +0000 (21:12 +0000)]
uid2str is now static like the prototype says

29 years agoupdated
Todd C. Miller [Thu, 30 Mar 1995 04:49:03 +0000 (04:49 +0000)]
updated

29 years agoInitial revision
Todd C. Miller [Thu, 30 Mar 1995 04:48:50 +0000 (04:48 +0000)]
Initial revision

29 years agocheck_sudoers now returns an error code and sudo calls inform_user
Todd C. Miller [Thu, 30 Mar 1995 04:46:16 +0000 (04:46 +0000)]
check_sudoers now returns an error code and sudo calls inform_user
and log_error based on the return value.

29 years agoadded entries for new errors
Todd C. Miller [Thu, 30 Mar 1995 04:45:57 +0000 (04:45 +0000)]
added entries for new errors

29 years agonow set uid to that of SUDOERS_OWNER while parsing sudoers file
Todd C. Miller [Thu, 30 Mar 1995 04:03:49 +0000 (04:03 +0000)]
now set uid to that of SUDOERS_OWNER while parsing sudoers file

29 years agotook out testsudoers
Todd C. Miller [Thu, 30 Mar 1995 03:52:18 +0000 (03:52 +0000)]
took out testsudoers
\ 6

29 years agonow explicately checks that it is setuid root
Todd C. Miller [Thu, 30 Mar 1995 03:36:55 +0000 (03:36 +0000)]
now explicately checks that it is setuid root

29 years agoIf a user has no passwd entry sudo would segv (writing to a garbage pointer).
Todd C. Miller [Thu, 30 Mar 1995 03:28:48 +0000 (03:28 +0000)]
If a user has no passwd entry sudo would segv (writing to a garbage pointer).
Now allocate space before writing :-)

29 years agoreordered AC_CHECK_FUNCS
Todd C. Miller [Thu, 30 Mar 1995 03:06:28 +0000 (03:06 +0000)]
reordered AC_CHECK_FUNCS

29 years agofixed memset macro
Todd C. Miller [Thu, 30 Mar 1995 03:06:12 +0000 (03:06 +0000)]
fixed memset macro

29 years agobzero -> memset
Todd C. Miller [Thu, 30 Mar 1995 02:47:38 +0000 (02:47 +0000)]
bzero -> memset

29 years agobzero -> memset
Todd C. Miller [Thu, 30 Mar 1995 02:47:00 +0000 (02:47 +0000)]
bzero -> memset
when a parse error is logged the line number of the error is now logged
too

29 years agoadded Sunos to blurb about c2 security
Todd C. Miller [Thu, 30 Mar 1995 02:46:22 +0000 (02:46 +0000)]
added Sunos to blurb about c2 security

29 years agoadded a SUN4 define for C2 security
Todd C. Miller [Thu, 30 Mar 1995 02:45:17 +0000 (02:45 +0000)]
added a SUN4 define for C2 security

29 years agobcopy -> memmove
Todd C. Miller [Thu, 30 Mar 1995 02:44:55 +0000 (02:44 +0000)]
bcopy -> memmove
bzero -> memset

29 years agobcopy -> memmove
Todd C. Miller [Thu, 30 Mar 1995 02:43:56 +0000 (02:43 +0000)]
bcopy -> memmove
char * -> VOID *

29 years agoadded support for sunos with C2 security
Todd C. Miller [Thu, 30 Mar 1995 02:30:33 +0000 (02:30 +0000)]
added support for sunos with C2 security

29 years agoreordered
Todd C. Miller [Thu, 30 Mar 1995 02:12:57 +0000 (02:12 +0000)]
reordered

29 years ago_PATH_SUDO_LOGFILE now set based on configure
Todd C. Miller [Thu, 30 Mar 1995 02:12:36 +0000 (02:12 +0000)]
_PATH_SUDO_LOGFILE now set based on configure

29 years agoadded SUDO_LOGFILE and SUDO_TYPE_SIZE_T
Todd C. Miller [Thu, 30 Mar 1995 02:12:19 +0000 (02:12 +0000)]
added SUDO_LOGFILE and SUDO_TYPE_SIZE_T

29 years agoadded _SUDO_PATH_LOGFILE
Todd C. Miller [Thu, 30 Mar 1995 02:12:07 +0000 (02:12 +0000)]
added _SUDO_PATH_LOGFILE

29 years agoadded SUDO_LOGFILE to find where to put sudo.log
Todd C. Miller [Thu, 30 Mar 1995 02:11:15 +0000 (02:11 +0000)]
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)

29 years agoInitial revision
Todd C. Miller [Wed, 29 Mar 1995 23:17:38 +0000 (23:17 +0000)]
Initial revision

29 years agonow do set_perms(PERM_ROOT) before the getpwuid() in load_global()
Todd C. Miller [Wed, 29 Mar 1995 22:59:47 +0000 (22:59 +0000)]
now do set_perms(PERM_ROOT) before the getpwuid() in load_global()
to work around a problem is trusted hpux shadow passwords. yuck.

29 years agobacked out a change in malloc/realloc
Todd C. Miller [Wed, 29 Mar 1995 22:41:35 +0000 (22:41 +0000)]
backed out a change in malloc/realloc

29 years agonow include stdlib.h
Todd C. Miller [Wed, 29 Mar 1995 22:38:16 +0000 (22:38 +0000)]
now include stdlib.h

29 years agonow do an freopen() of the stmp file so that yyin will always point
Todd C. Miller [Wed, 29 Mar 1995 22:22:20 +0000 (22:22 +0000)]
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

29 years agoreplaced yywrap() with parser_cleanup() since yywrap() needs to be
Todd C. Miller [Wed, 29 Mar 1995 22:20:35 +0000 (22:20 +0000)]
replaced yywrap() with parser_cleanup() since yywrap() needs to be
in parse.lex to be able to use YY_NEW_FILE.  sigh.

29 years agonow have a rule that matches anything that doesn't match an explicite rule.
Todd C. Miller [Wed, 29 Mar 1995 22:18:50 +0000 (22:18 +0000)]
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.

29 years agono longer used
Todd C. Miller [Wed, 29 Mar 1995 22:17:51 +0000 (22:17 +0000)]
no longer used

29 years agomoved compat.h to be the last include file
Todd C. Miller [Wed, 29 Mar 1995 21:13:24 +0000 (21:13 +0000)]
moved compat.h to be the last include file

29 years agofixed type of aliascmp() args
Todd C. Miller [Wed, 29 Mar 1995 21:11:18 +0000 (21:11 +0000)]
fixed type of aliascmp() args

29 years agoNULL -> '\0'
Todd C. Miller [Wed, 29 Mar 1995 20:58:57 +0000 (20:58 +0000)]
NULL -> '\0'

29 years agoadded casts to lfind and lsearch args for irix
Todd C. Miller [Wed, 29 Mar 1995 20:42:07 +0000 (20:42 +0000)]
added casts to lfind and lsearch args for irix

29 years agobsdinstall -> install-sh
Todd C. Miller [Wed, 29 Mar 1995 13:20:50 +0000 (13:20 +0000)]
bsdinstall -> install-sh

29 years agoadded info about make realclean
Todd C. Miller [Wed, 29 Mar 1995 13:20:13 +0000 (13:20 +0000)]
added info about make realclean

29 years agoupdated VERSION
Todd C. Miller [Wed, 29 Mar 1995 13:17:14 +0000 (13:17 +0000)]
updated VERSION
added dependencies for visudo.cat

29 years ago-> pl5b1
Todd C. Miller [Wed, 29 Mar 1995 13:17:02 +0000 (13:17 +0000)]
-> pl5b1

29 years agotook out -l
Todd C. Miller [Wed, 29 Mar 1995 13:16:48 +0000 (13:16 +0000)]
took out -l

29 years agonow there is a real visudo.man and visudo.cat
Todd C. Miller [Wed, 29 Mar 1995 05:03:44 +0000 (05:03 +0000)]
now there is a real visudo.man and visudo.cat

29 years agotook out visudo stuff
Todd C. Miller [Wed, 29 Mar 1995 04:54:12 +0000 (04:54 +0000)]
took out visudo stuff

29 years agoInitial revision
Todd C. Miller [Wed, 29 Mar 1995 04:54:03 +0000 (04:54 +0000)]
Initial revision

29 years agoupdated copyright
Todd C. Miller [Wed, 29 Mar 1995 04:12:17 +0000 (04:12 +0000)]
updated copyright

29 years agoupdated for pl5
Todd C. Miller [Wed, 29 Mar 1995 04:05:10 +0000 (04:05 +0000)]
updated for pl5

29 years agoupdated Nieusma & Hieb email addresses
Todd C. Miller [Wed, 29 Mar 1995 01:02:19 +0000 (01:02 +0000)]
updated Nieusma & Hieb email addresses

29 years agoupdated to include options.h and OPTIONS
Todd C. Miller [Wed, 29 Mar 1995 00:57:11 +0000 (00:57 +0000)]
updated to include options.h and OPTIONS

29 years agoupdated
Todd C. Miller [Wed, 29 Mar 1995 00:36:09 +0000 (00:36 +0000)]
updated

29 years agoeliminated bug #1 (yay)
Todd C. Miller [Wed, 29 Mar 1995 00:35:10 +0000 (00:35 +0000)]
eliminated bug #1 (yay)

29 years agosunos no longer gets linked statically
Todd C. Miller [Wed, 29 Mar 1995 00:31:20 +0000 (00:31 +0000)]
sunos no longer gets linked statically

29 years agoprototype now uses __P()
Todd C. Miller [Tue, 28 Mar 1995 23:58:34 +0000 (23:58 +0000)]
prototype now uses __P()

29 years agomake fill() non-ansi
Todd C. Miller [Tue, 28 Mar 1995 23:49:12 +0000 (23:49 +0000)]
make fill() non-ansi

29 years agomade -v (validate) work
Todd C. Miller [Tue, 28 Mar 1995 20:26:55 +0000 (20:26 +0000)]
made -v (validate) work

29 years agonow gives host
Todd C. Miller [Tue, 28 Mar 1995 20:26:30 +0000 (20:26 +0000)]
now gives host

29 years agodon't check for execute/statable if fq or relative path given
Todd C. Miller [Tue, 28 Mar 1995 15:34:56 +0000 (15:34 +0000)]
don't check for execute/statable if fq or relative path given

29 years agoadded a cast
Todd C. Miller [Tue, 28 Mar 1995 06:07:20 +0000 (06:07 +0000)]
added a cast

29 years agonow include ctype.h for islower and tolower macros
Todd C. Miller [Tue, 28 Mar 1995 05:49:00 +0000 (05:49 +0000)]
now include ctype.h for islower and tolower macros

29 years agomoved _S_IFMT & _S_ISREG to compat.h
Todd C. Miller [Tue, 28 Mar 1995 05:48:44 +0000 (05:48 +0000)]
moved _S_IFMT & _S_ISREG to compat.h

29 years agomoved a set of parens
Todd C. Miller [Tue, 28 Mar 1995 05:48:30 +0000 (05:48 +0000)]
moved a set of parens

29 years agonow include compat.h
Todd C. Miller [Tue, 28 Mar 1995 05:48:13 +0000 (05:48 +0000)]
now include compat.h

29 years agovoid * -> VOID *
Todd C. Miller [Tue, 28 Mar 1995 05:47:59 +0000 (05:47 +0000)]
void * -> VOID *

29 years agonow cast malloc & realloc return vals
Todd C. Miller [Tue, 28 Mar 1995 05:47:05 +0000 (05:47 +0000)]
now cast malloc & realloc return vals
added search for HAVE_LSEARCH
now use strcmp if no strcasecmp available

29 years agovoid * -> VOID *
Todd C. Miller [Tue, 28 Mar 1995 05:46:22 +0000 (05:46 +0000)]
void * -> VOID *

29 years agoremoved HAVE_FLEX
Todd C. Miller [Tue, 28 Mar 1995 05:45:21 +0000 (05:45 +0000)]
removed HAVE_FLEX
added VOID
added HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H
added HAVE_LSEARCH

29 years agoadded _S_IFMT, _S_IFREG, and S_ISREG
Todd C. Miller [Tue, 28 Mar 1995 05:44:58 +0000 (05:44 +0000)]
added _S_IFMT, _S_IFREG, and S_ISREG

29 years agotook out SUDO_PROG_INSTALL
Todd C. Miller [Tue, 28 Mar 1995 05:44:10 +0000 (05:44 +0000)]
took out SUDO_PROG_INSTALL
1.x to 2.x changes
added echo and results to most SUDO_* macros

29 years agono more -I.
Todd C. Miller [Tue, 28 Mar 1995 05:43:45 +0000 (05:43 +0000)]
no more -I.

29 years agovarious 1.x ro 2.x autoconf changes
Todd C. Miller [Tue, 28 Mar 1995 05:22:27 +0000 (05:22 +0000)]
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

29 years agoadded lsearch & search.h
Todd C. Miller [Tue, 28 Mar 1995 05:02:01 +0000 (05:02 +0000)]
added lsearch & search.h
visudo links into $(LIBOBJS)

29 years agopartial 1.x to 2.x changes
Todd C. Miller [Tue, 28 Mar 1995 04:43:36 +0000 (04:43 +0000)]
partial 1.x to 2.x changes
added SUDO_FULL_VOID

29 years agowhatnow_help was prototyped to be static be was not declared as such
Todd C. Miller [Tue, 28 Mar 1995 04:40:44 +0000 (04:40 +0000)]
whatnow_help  was prototyped to be static be was not declared as such

29 years agoautoconf 2.x changes
Todd C. Miller [Tue, 28 Mar 1995 02:15:39 +0000 (02:15 +0000)]
autoconf 2.x changes
took out HAVE_FLEX (no longer used)
added check for dirent/dir/ndir.h

29 years agonow use groovy gnu autoconf macro AC_HEADER_DIRENT
Todd C. Miller [Tue, 28 Mar 1995 02:09:15 +0000 (02:09 +0000)]
now use groovy gnu autoconf macro AC_HEADER_DIRENT

29 years agoMAXPATHLEN -> MAXPATHLEN+1
Todd C. Miller [Tue, 28 Mar 1995 01:38:43 +0000 (01:38 +0000)]
MAXPATHLEN -> MAXPATHLEN+1

29 years agoInitial revision
Todd C. Miller [Tue, 28 Mar 1995 01:23:36 +0000 (01:23 +0000)]
Initial revision

29 years agoeliminated bison warnings
Todd C. Miller [Mon, 27 Mar 1995 23:26:46 +0000 (23:26 +0000)]
eliminated bison warnings

29 years agoadded missing case
Todd C. Miller [Mon, 27 Mar 1995 22:10:22 +0000 (22:10 +0000)]
added missing case

29 years agonow iincludes signal.h
Todd C. Miller [Mon, 27 Mar 1995 22:04:19 +0000 (22:04 +0000)]
now iincludes signal.h

29 years agoonly clear data structures on a parse error
Todd C. Miller [Mon, 27 Mar 1995 20:16:32 +0000 (20:16 +0000)]
only clear data structures on a parse error

29 years agowhatnow() now gives help on invalid input
Todd C. Miller [Mon, 27 Mar 1995 20:01:19 +0000 (20:01 +0000)]
whatnow() now gives help on invalid input

29 years agoadded a whatnow() function (sort of like mh)
Todd C. Miller [Mon, 27 Mar 1995 19:54:53 +0000 (19:54 +0000)]
added a whatnow() function (sort of like mh)

29 years agokill_aliases -> reset_aliases
Todd C. Miller [Mon, 27 Mar 1995 19:53:37 +0000 (19:53 +0000)]
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)

29 years agoadded a void cast
Todd C. Miller [Mon, 27 Mar 1995 19:53:25 +0000 (19:53 +0000)]
added a void cast

29 years agorewrote from scratch based on 4.3BSD vipw.c
Todd C. Miller [Mon, 27 Mar 1995 18:26:36 +0000 (18:26 +0000)]
rewrote from scratch based on 4.3BSD vipw.c

29 years agoremoved ocmnd
Todd C. Miller [Sun, 26 Mar 1995 06:33:05 +0000 (06:33 +0000)]
removed ocmnd

29 years agono more sudo_realpath() and find_path() changed params
Todd C. Miller [Sun, 26 Mar 1995 06:19:48 +0000 (06:19 +0000)]
no more sudo_realpath() and find_path() changed params

29 years agofind_path() changed since no more realpath()
Todd C. Miller [Sun, 26 Mar 1995 06:19:20 +0000 (06:19 +0000)]
find_path() changed since no more realpath()

29 years agoon error, errorlineno is set to the line where the error occurred
Todd C. Miller [Sun, 26 Mar 1995 06:18:24 +0000 (06:18 +0000)]
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

29 years agono more USE_REALPATH
Todd C. Miller [Sun, 26 Mar 1995 06:17:37 +0000 (06:17 +0000)]
no more USE_REALPATH

29 years agochanged to use new find_path()
Todd C. Miller [Sun, 26 Mar 1995 06:17:19 +0000 (06:17 +0000)]
changed to use new find_path()

29 years agoremoved all the realpath() stuff
Todd C. Miller [Sun, 26 Mar 1995 06:16:43 +0000 (06:16 +0000)]
removed all the realpath() stuff

29 years agosudo_realpath.c -> sudo_goodpath.c
Todd C. Miller [Sun, 26 Mar 1995 06:16:18 +0000 (06:16 +0000)]
sudo_realpath.c -> sudo_goodpath.c

29 years agonow works correctly with utk parser
Todd C. Miller [Sun, 26 Mar 1995 06:12:30 +0000 (06:12 +0000)]
now works correctly with utk parser

29 years agoInitial revision
Todd C. Miller [Sun, 26 Mar 1995 05:04:11 +0000 (05:04 +0000)]
Initial revision