]> granicus.if.org Git - sudo/log
sudo
20 years agoregen
Todd C. Miller [Sun, 6 Jun 2004 20:22:56 +0000 (20:22 +0000)]
regen

20 years agoFix a >=0 that should be <0 that was improperly converted when UNSPEC was added.
Todd C. Miller [Sun, 6 Jun 2004 20:22:20 +0000 (20:22 +0000)]
Fix a >=0 that should be <0 that was improperly converted when UNSPEC was added.

20 years agoAdd do {} while(0) around pop macro
Todd C. Miller [Sun, 6 Jun 2004 19:54:23 +0000 (19:54 +0000)]
Add do {} while(0) around pop macro
Set cmnd_matches to UNSPEC, not NOMATCH when resetting it.

20 years agoFix pastos introduced in SETNMATCH addition.
Todd C. Miller [Sun, 6 Jun 2004 19:39:56 +0000 (19:39 +0000)]
Fix pastos introduced in SETNMATCH addition.

20 years agoUpdate for configure changes
Todd C. Miller [Sat, 5 Jun 2004 17:55:58 +0000 (17:55 +0000)]
Update for configure changes

20 years agoregen
Todd C. Miller [Sat, 5 Jun 2004 17:42:16 +0000 (17:42 +0000)]
regen

20 years agoAdd NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
Todd C. Miller [Sat, 5 Jun 2004 17:42:04 +0000 (17:42 +0000)]
Add NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
these in parse.yacc.  Also in parse.yacc initialize the *_matches
vars to UNSPEC and add two macros, SETMATCH and SETNMATCH for use
when setting *_matches to a value that may be NOMATCH/UNSPEC/TRUE/FALSE.

20 years agoAdd NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
Todd C. Miller [Sat, 5 Jun 2004 17:42:04 +0000 (17:42 +0000)]
Add NOMATCH and UNSPEC defines (-1 and -2 respectively) and use
these in parse.yacc.  Also in parse.yacc initialize the *_matches
vars to UNSPEC and add two macros, SETMATCH and SETNMATCH for use
when setting *_matches to a value that may be NOMATCH/UNSPEC/TRUE/FALSE.

20 years agoInitialize runas to -2, not -1 since we need to be able to distinguish
Todd C. Miller [Sat, 5 Jun 2004 15:17:10 +0000 (15:17 +0000)]
Initialize runas to -2, not -1 since we need to be able to distinguish
between the initialized value and the value of a non-match when
passing along the runas value to multiple commands.

The result of this is that an unmatched runas is now set to -1, not 0.
This is required now that parse.c treats a FALSE value for runas as
being explicitly denied.

20 years agoError out if argc < 1.
Todd C. Miller [Thu, 3 Jun 2004 20:21:07 +0000 (20:21 +0000)]
Error out if argc < 1.

20 years agoError out if argc < 1.
Todd C. Miller [Thu, 3 Jun 2004 20:21:07 +0000 (20:21 +0000)]
Error out if argc < 1.

20 years agoAdd tests for what libs we need to link with for ldap and for whether
Todd C. Miller [Thu, 3 Jun 2004 16:37:32 +0000 (16:37 +0000)]
Add tests for what libs we need to link with for ldap and for whether
or not lber.h needs to be explicitly included.

20 years agoSolaris native LDAP build fix
Aaron Spangler [Thu, 3 Jun 2004 00:30:44 +0000 (00:30 +0000)]
Solaris native LDAP build fix

20 years agoSet edn to NULL is ldap_get_dn() fails to avoid potential use of an unset
Todd C. Miller [Tue, 1 Jun 2004 20:56:52 +0000 (20:56 +0000)]
Set edn to NULL is ldap_get_dn() fails to avoid potential use of an unset
variable.

20 years agoAdd prototype for sudo_ldap_list_matches
Todd C. Miller [Tue, 1 Jun 2004 20:56:03 +0000 (20:56 +0000)]
Add prototype for sudo_ldap_list_matches

20 years agoBetter check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Todd C. Miller [Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)]
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.

20 years agoBetter check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Todd C. Miller [Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)]
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.

20 years agoBetter check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Todd C. Miller [Tue, 1 Jun 2004 20:53:31 +0000 (20:53 +0000)]
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.

20 years agoOnly check /proc/$$/fd if we have the dirfd function/macro.
Todd C. Miller [Tue, 1 Jun 2004 20:51:56 +0000 (20:51 +0000)]
Only check /proc/$$/fd if we have the dirfd function/macro.

20 years agoAdd a check for a dirfd() function (like Linux) and add a dirfd
Todd C. Miller [Tue, 1 Jun 2004 19:13:37 +0000 (19:13 +0000)]
Add a check for a dirfd() function (like Linux) and add a dirfd
macro in compat.h if there is no dirfd() function or macro.

20 years agodirfd() is now defined in compat.h as needed.
Todd C. Miller [Tue, 1 Jun 2004 18:59:28 +0000 (18:59 +0000)]
dirfd() is now defined in compat.h as needed.

20 years agoClarify closefrom() note.
Todd C. Miller [Tue, 1 Jun 2004 18:30:50 +0000 (18:30 +0000)]
Clarify closefrom() note.

20 years agoWhen checking for a command in the directory, only copy the base dir once.
Todd C. Miller [Tue, 1 Jun 2004 16:51:06 +0000 (16:51 +0000)]
When checking for a command in the directory, only copy the base dir once.

20 years agoIf there is a /proc/$$/fd directory, behave like the Solaris closefrom()
Todd C. Miller [Tue, 1 Jun 2004 16:44:14 +0000 (16:44 +0000)]
If there is a /proc/$$/fd directory, behave like the Solaris closefrom()
and only close the descriptors listed therein.

20 years agocompat.h guarantees INT_MAX is defined.
Todd C. Miller [Tue, 1 Jun 2004 16:23:32 +0000 (16:23 +0000)]
compat.h guarantees INT_MAX is defined.

20 years agoAdd definitions of OPEN_MAX and INT_MAX for those without it and remove
Todd C. Miller [Tue, 1 Jun 2004 16:23:10 +0000 (16:23 +0000)]
Add definitions of OPEN_MAX and INT_MAX for those without it and remove
definition of RLIM_INFINITY (now unused).

20 years agoUse PATH_MAX, not MAXPATHLEN since the former is standardized.
Todd C. Miller [Tue, 1 Jun 2004 01:22:27 +0000 (01:22 +0000)]
Use PATH_MAX, not MAXPATHLEN since the former is standardized.

20 years agosync
Todd C. Miller [Mon, 31 May 2004 23:18:39 +0000 (23:18 +0000)]
sync

20 years agoAdd some entries that were mailed in a while ago
Todd C. Miller [Mon, 31 May 2004 23:10:12 +0000 (23:10 +0000)]
Add some entries that were mailed in a while ago

20 years agoo sysconf returns a long, not an int.
Todd C. Miller [Mon, 31 May 2004 18:16:34 +0000 (18:16 +0000)]
o sysconf returns a long, not an int.
o check for negative return value from sysconf/getdtablesize and use
  OPEN_MAX in this case.
o define OPEN_MAX to 256 for those without it (a fair guess...)

20 years agoMention change in parse order for RunAs entries.
Todd C. Miller [Sun, 30 May 2004 16:25:19 +0000 (16:25 +0000)]
Mention change in parse order for RunAs entries.

20 years agoregen
Todd C. Miller [Sun, 30 May 2004 16:15:26 +0000 (16:15 +0000)]
regen

20 years ago o --with-ldap now takes an optional dir as a parameter
Todd C. Miller [Sat, 29 May 2004 22:29:42 +0000 (22:29 +0000)]
 o --with-ldap now takes an optional dir as a parameter
 o added check for ldap_initialize() and start_tls_s()

20 years agoFix some typos, word choice and formatting issues.
Todd C. Miller [Sat, 29 May 2004 18:54:53 +0000 (18:54 +0000)]
Fix some typos, word choice and formatting issues.

20 years agoUse SA_INTERRUPT so SunOS works correctly, avoid stdio and just use read/write
Todd C. Miller [Fri, 28 May 2004 22:06:50 +0000 (22:06 +0000)]
Use SA_INTERRUPT so SunOS works correctly, avoid stdio and just use read/write
as it is simpler.

20 years agoRemove hack overriding cross-compiler check. It should no longer be needed.
Todd C. Miller [Fri, 28 May 2004 20:27:41 +0000 (20:27 +0000)]
Remove hack overriding cross-compiler check.  It should no longer be needed.

20 years agoRemove select() compat bits since we no longer use select().
Todd C. Miller [Fri, 28 May 2004 20:26:08 +0000 (20:26 +0000)]
Remove select() compat bits since we no longer use select().

20 years agoUse alarm() instead of select() for the timeout for systems that don't
Todd C. Miller [Fri, 28 May 2004 20:24:13 +0000 (20:24 +0000)]
Use alarm() instead of select() for the timeout for systems that don't
fully/properly implement select().

20 years agosynbc
Todd C. Miller [Thu, 27 May 2004 23:14:43 +0000 (23:14 +0000)]
synbc

20 years agoupdate
Todd C. Miller [Thu, 27 May 2004 23:12:37 +0000 (23:12 +0000)]
update

20 years agoDeal with systems that have no way of setting the effective uid such as
Todd C. Miller [Thu, 27 May 2004 23:12:02 +0000 (23:12 +0000)]
Deal with systems that have no way of setting the effective uid such as
nsr-tandem-nsk.

20 years agoDefine NO_SAVED_IDS if we don't find seteuid()
Todd C. Miller [Thu, 27 May 2004 23:01:39 +0000 (23:01 +0000)]
Define NO_SAVED_IDS if we don't find seteuid()

20 years agoAdd back check for setreuid() since NSK doesn't have it.
Todd C. Miller [Thu, 27 May 2004 22:21:47 +0000 (22:21 +0000)]
Add back check for setreuid() since NSK doesn't have it.

20 years agoregen
Todd C. Miller [Thu, 27 May 2004 19:57:53 +0000 (19:57 +0000)]
regen

20 years agosync
Todd C. Miller [Thu, 27 May 2004 19:56:03 +0000 (19:56 +0000)]
sync

20 years agosync
Todd C. Miller [Thu, 27 May 2004 19:56:03 +0000 (19:56 +0000)]
sync

20 years agoIn sudoers_lookup() return VALIDATE_NOT_OK if the runas user was
Todd C. Miller [Thu, 27 May 2004 19:55:06 +0000 (19:55 +0000)]
In sudoers_lookup() return VALIDATE_NOT_OK if the runas user was
explicitly denied and the command matched.  This fixes a long-standing
bug and makes:
    foo machine = (ALL) /usr/bin/blah
    foo machine = (!bar) /usr/bin/blah

equivalent to:
    foo machine = (ALL, !bar) /usr/bin/blah

20 years agoClarify mail_noperm
Todd C. Miller [Thu, 27 May 2004 19:52:50 +0000 (19:52 +0000)]
Clarify mail_noperm

20 years agoMissing DESTDIR in make install for sudo_noexec.la
Aaron Spangler [Thu, 20 May 2004 01:25:50 +0000 (01:25 +0000)]
Missing DESTDIR in make install for sudo_noexec.la

20 years agoregen
Todd C. Miller [Mon, 17 May 2004 22:33:01 +0000 (22:33 +0000)]
regen

20 years agosync
Todd C. Miller [Mon, 17 May 2004 22:31:54 +0000 (22:31 +0000)]
sync

20 years agoRemove fastboot/fasthalt (who still remembers these?) and add a minimal
Todd C. Miller [Mon, 17 May 2004 22:31:35 +0000 (22:31 +0000)]
Remove fastboot/fasthalt (who still remembers these?) and add a minimal
sudoedit example.

20 years agoRemove fastboot/fasthalt (who still remembers these?) and add a minimal
Todd C. Miller [Mon, 17 May 2004 22:31:35 +0000 (22:31 +0000)]
Remove fastboot/fasthalt (who still remembers these?) and add a minimal
sudoedit example.

20 years agofilesystem -> file system
Todd C. Miller [Mon, 17 May 2004 22:21:15 +0000 (22:21 +0000)]
filesystem -> file system

20 years agofilesystem -> file system
Todd C. Miller [Mon, 17 May 2004 22:21:15 +0000 (22:21 +0000)]
filesystem -> file system

20 years agofilesystem -> file system
Todd C. Miller [Mon, 17 May 2004 22:21:15 +0000 (22:21 +0000)]
filesystem -> file system

20 years agoFix some minor typos and formatting goofs
Todd C. Miller [Mon, 17 May 2004 22:19:56 +0000 (22:19 +0000)]
Fix some minor typos and formatting goofs

20 years agoregen
Todd C. Miller [Mon, 17 May 2004 22:10:20 +0000 (22:10 +0000)]
regen

20 years agoremove my email addr
Todd C. Miller [Mon, 17 May 2004 21:57:44 +0000 (21:57 +0000)]
remove my email addr

20 years agoUse @mansectform@ and @mansectsu@ everywhere
Todd C. Miller [Mon, 17 May 2004 21:55:52 +0000 (21:55 +0000)]
Use @mansectform@ and @mansectsu@ everywhere
Make man page references links with L<>

20 years agoAccept quoted globbing characters and pass them verbatim for fnmatch()
Todd C. Miller [Mon, 17 May 2004 20:51:13 +0000 (20:51 +0000)]
Accept quoted globbing characters and pass them verbatim for fnmatch()

20 years agoDocument that /tmp/.odus is gone.
Todd C. Miller [Mon, 17 May 2004 20:50:36 +0000 (20:50 +0000)]
Document that /tmp/.odus is gone.

20 years agoNo longer use /tmp/.odus as a possible timestamp dir unless specifically
Todd C. Miller [Mon, 17 May 2004 20:28:54 +0000 (20:28 +0000)]
No longer use /tmp/.odus as a possible timestamp dir unless specifically
configured to do so.  Instead, if no /var/run exists, use /var/adm/sudo
or /usr/adm/sudo.

20 years agoNo longer use /tmp/.odus as a possible timestamp dir unless specifically
Todd C. Miller [Mon, 17 May 2004 20:28:53 +0000 (20:28 +0000)]
No longer use /tmp/.odus as a possible timestamp dir unless specifically
configured to do so.  Instead, if no /var/run exists, use /var/adm/sudo
or /usr/adm/sudo.

20 years agoNo longer use /tmp/.odus as a possible timestamp dir unless specifically
Todd C. Miller [Mon, 17 May 2004 20:28:53 +0000 (20:28 +0000)]
No longer use /tmp/.odus as a possible timestamp dir unless specifically
configured to do so.  Instead, if no /var/run exists, use /var/adm/sudo
or /usr/adm/sudo.

20 years agoNo longer use /tmp/.odus as a possible timestamp dir unless specifically
Todd C. Miller [Mon, 17 May 2004 20:28:53 +0000 (20:28 +0000)]
No longer use /tmp/.odus as a possible timestamp dir unless specifically
configured to do so.  Instead, if no /var/run exists, use /var/adm/sudo
or /usr/adm/sudo.

20 years agoPreliminary changes to support nsr-tandem-nsk. Based on patches from
Todd C. Miller [Mon, 17 May 2004 20:08:46 +0000 (20:08 +0000)]
Preliminary changes to support nsr-tandem-nsk.  Based on patches from
Tom Bates.

20 years agoPreliminary changes to support nsr-tandem-nsk. Based on patches from
Todd C. Miller [Mon, 17 May 2004 20:08:46 +0000 (20:08 +0000)]
Preliminary changes to support nsr-tandem-nsk.  Based on patches from
Tom Bates.

20 years agoPreliminary changes to support nsr-tandem-nsk. Based on patches from
Todd C. Miller [Mon, 17 May 2004 20:08:46 +0000 (20:08 +0000)]
Preliminary changes to support nsr-tandem-nsk.  Based on patches from
Tom Bates.

20 years agoThere was no 1.6.7p6.
Todd C. Miller [Sun, 16 May 2004 22:47:20 +0000 (22:47 +0000)]
There was no 1.6.7p6.

20 years agosync
Todd C. Miller [Sun, 16 May 2004 20:38:06 +0000 (20:38 +0000)]
sync

20 years agoadd missing files to DISTFILES
Todd C. Miller [Sun, 16 May 2004 20:36:07 +0000 (20:36 +0000)]
add missing files to DISTFILES

20 years agoregen
Todd C. Miller [Sun, 16 May 2004 20:24:28 +0000 (20:24 +0000)]
regen

20 years agoregen
Todd C. Miller [Sun, 16 May 2004 20:23:17 +0000 (20:23 +0000)]
regen

20 years agoFix some line wrap and update (c) year
Todd C. Miller [Sun, 16 May 2004 20:20:41 +0000 (20:20 +0000)]
Fix some line wrap and update (c) year

20 years agoBuild Note
Aaron Spangler [Wed, 28 Apr 2004 19:05:33 +0000 (19:05 +0000)]
Build Note

20 years agoFix install-dirs
Aaron Spangler [Wed, 7 Apr 2004 02:03:16 +0000 (02:03 +0000)]
Fix install-dirs

20 years agoregen
Todd C. Miller [Mon, 5 Apr 2004 16:50:00 +0000 (16:50 +0000)]
regen

20 years agoIn Exit() when used as a signal handler, emsg is a pointer so
Todd C. Miller [Mon, 5 Apr 2004 00:27:05 +0000 (00:27 +0000)]
In Exit() when used as a signal handler, emsg is a pointer so
sizeof() is wrong so make it a #define instead.  Also avoid using
a negative exit value.  Found by Aaron Campbell

20 years agoRemove bogus sentence about uids in a User_List. Document usernames
Todd C. Miller [Wed, 24 Mar 2004 23:23:29 +0000 (23:23 +0000)]
Remove bogus sentence about uids in a User_List.  Document usernames
vs. uid parsing in a Runas_List.

20 years agoIf the user specified a uid with the -u flag and the uid exists in
Todd C. Miller [Wed, 24 Mar 2004 23:06:34 +0000 (23:06 +0000)]
If the user specified a uid with the -u flag and the uid exists in
the passwd file, set runas_user to the name, not the uid.

When comparing usernames in sudoers, if a name is really a uid (starts
with '#') compare it numerically to pw_uid.

20 years agokrb5_mcc_ops should be const; Johnny C. Lam
Todd C. Miller [Mon, 22 Mar 2004 18:35:09 +0000 (18:35 +0000)]
krb5_mcc_ops should be const; Johnny C. Lam

20 years agoAdded start_tls support
Aaron Spangler [Sat, 28 Feb 2004 23:54:20 +0000 (23:54 +0000)]
Added start_tls support

21 years agoClean up libtool stuff for 'make distclean' and add def_data.c, def_data.h
Todd C. Miller [Sat, 14 Feb 2004 23:04:35 +0000 (23:04 +0000)]
Clean up libtool stuff for 'make distclean' and add def_data.c, def_data.h
to PARSESRCS.

21 years agoUn-Fix last license munge
Aaron Spangler [Sat, 14 Feb 2004 15:13:57 +0000 (15:13 +0000)]
Un-Fix last license munge

21 years agoregen
Todd C. Miller [Fri, 13 Feb 2004 21:39:02 +0000 (21:39 +0000)]
regen

21 years agocheckpoint
Todd C. Miller [Fri, 13 Feb 2004 21:37:13 +0000 (21:37 +0000)]
checkpoint

21 years agoregen
Todd C. Miller [Fri, 13 Feb 2004 21:37:02 +0000 (21:37 +0000)]
regen

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:49 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:47 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:47 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:47 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:47 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:44 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:43 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:43 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:43 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:43 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:43 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.

21 years agoMore to a less restrictive, ISC-style license.
Todd C. Miller [Fri, 13 Feb 2004 21:36:43 +0000 (21:36 +0000)]
More to a less restrictive, ISC-style license.