]> granicus.if.org Git - sudo/log
sudo
10 years agoMake set_perms() and restore_perms() return an error instead of
Todd C. Miller [Thu, 10 Apr 2014 22:11:47 +0000 (16:11 -0600)]
Make set_perms() and restore_perms() return an error instead of
calling exit() on failure.

10 years agoEliminate calls to fatal() in sudoers.c and just pass back a return
Todd C. Miller [Thu, 10 Apr 2014 22:03:26 +0000 (16:03 -0600)]
Eliminate calls to fatal() in sudoers.c and just pass back a return
value.

10 years agoElimate calls to fatal() in the logging code.
Todd C. Miller [Thu, 10 Apr 2014 22:03:01 +0000 (16:03 -0600)]
Elimate calls to fatal() in the logging code.

10 years agoQuiet a compiler warning on Solaris.
Todd C. Miller [Wed, 9 Apr 2014 22:33:28 +0000 (16:33 -0600)]
Quiet a compiler warning on Solaris.

10 years agoMove the sha2 code into libreplace and add configure checks for
Todd C. Miller [Wed, 9 Apr 2014 22:31:13 +0000 (16:31 -0600)]
Move the sha2 code into libreplace and add configure checks for
SHA224Update in libc and libmd.  Solaris uses "void *" where we use
"unsigned char *" so we need a check for that too.  Solaris sha2.h
defines SHA224, SHA256, SHA384, and SHA512 so rename those tokens.
Adapted from changes from Vladimir Marek in bug #641.

10 years agoFix matching of uids and gids broken in sudo 1.8.9.
Todd C. Miller [Wed, 9 Apr 2014 16:22:09 +0000 (10:22 -0600)]
Fix matching of uids and gids broken in sudo 1.8.9.

10 years agoFix -P option in usage()
Todd C. Miller [Wed, 9 Apr 2014 16:22:07 +0000 (10:22 -0600)]
Fix -P option in usage()

10 years agoRemove a few more unnecessary uses of fatal().
Todd C. Miller [Tue, 8 Apr 2014 01:52:28 +0000 (19:52 -0600)]
Remove a few more unnecessary uses of fatal().

10 years agoUse log_warning() not log_fatal() for the "Invalid authentication
Todd C. Miller [Mon, 7 Apr 2014 14:59:48 +0000 (08:59 -0600)]
Use log_warning() not log_fatal() for the "Invalid authentication
methods compiled into sudo" message.  We return -1 on error anyway.

10 years agoReturn MODE_ERROR from sudoers_policy_deserialize_info() instead
Todd C. Miller [Mon, 7 Apr 2014 11:34:56 +0000 (05:34 -0600)]
Return MODE_ERROR from sudoers_policy_deserialize_info() instead
of calling fatalx().

10 years agoparse_gid_list() now returns -1 on error instead of calling fatalx().
Todd C. Miller [Mon, 7 Apr 2014 11:33:36 +0000 (05:33 -0600)]
parse_gid_list() now returns -1 on error instead of calling fatalx().

10 years agoForward SIGINFO to running command if supported. If the command
Todd C. Miller [Fri, 4 Apr 2014 21:30:15 +0000 (15:30 -0600)]
Forward SIGINFO to running command if supported.  If the command
is being run in the background (or exec_background is set in sudoers),
it is the sudo process, not the actual command, that receives the ^T.

10 years agoRemove calls to log_fatal() in I/O log functions and just pass an
Todd C. Miller [Fri, 4 Apr 2014 21:30:12 +0000 (15:30 -0600)]
Remove calls to log_fatal() in I/O log functions and just pass an
error back to the caller.

10 years agoMake "internal error, %s overflow" arguments consistent, using
Todd C. Miller [Tue, 1 Apr 2014 22:42:13 +0000 (16:42 -0600)]
Make "internal error, %s overflow" arguments consistent, using
__func__ where possible (when debugging is allowed).

10 years agoUse common printf format when warning of buffer overflow prevention.
Todd C. Miller [Mon, 31 Mar 2014 21:58:24 +0000 (15:58 -0600)]
Use common printf format when warning of buffer overflow prevention.

10 years agoRemove init.d/*.sh in distclean
Todd C. Miller [Mon, 31 Mar 2014 21:47:02 +0000 (15:47 -0600)]
Remove init.d/*.sh in distclean

10 years agoCorrectly ignore init.d/*.sh
Todd C. Miller [Mon, 31 Mar 2014 21:46:47 +0000 (15:46 -0600)]
Correctly ignore init.d/*.sh

10 years agoRemove remaining calls to fatalx(); just pass the error to the caller.
Todd C. Miller [Mon, 31 Mar 2014 21:43:52 +0000 (15:43 -0600)]
Remove remaining calls to fatalx(); just pass the error to the caller.

10 years agoMake a password/group cache collision a warning rather than fatal.
Todd C. Miller [Wed, 26 Mar 2014 22:44:29 +0000 (16:44 -0600)]
Make a password/group cache collision a warning rather than fatal.
This should not be possible in practice and we can safely return
the new (potentially duplicate) item as it will be freed by the
caller.  Make sudo_set_grlist() return an error on failure instead
of calling fatalx().

10 years agoUse log_warning() instead of log_fatal() if the ticket or lecture
Todd C. Miller [Wed, 26 Mar 2014 20:22:46 +0000 (14:22 -0600)]
Use log_warning() instead of log_fatal() if the ticket or lecture
path is too long and just return an error.  This can only happen
from a misconfiguration so just ignoring the ticket/lecture file
is safe.

10 years agoIn find_path(), return NOT_FOUND_ERROR instead of calling fatal()
Todd C. Miller [Wed, 26 Mar 2014 20:15:15 +0000 (14:15 -0600)]
In find_path(), return NOT_FOUND_ERROR instead of calling fatal()
if the path is too long.  Remove an extraneous check against PATH_MAX
in set_cmnd() since find_path() already contains such a check.

10 years agoRemove unused MODE_LISTDEFS define and correct a comment.
Todd C. Miller [Wed, 26 Mar 2014 20:03:04 +0000 (14:03 -0600)]
Remove unused MODE_LISTDEFS define and correct a comment.

10 years agoMake hexchar() return -1 on invalid input instead of calling fatalx().
Todd C. Miller [Wed, 26 Mar 2014 19:50:51 +0000 (13:50 -0600)]
Make hexchar() return -1 on invalid input instead of calling fatalx().
Callers used to check that the string was hex before calling hexchar().
Now callers must check for a -1 return value instead.

10 years agoPropagate errors in audit code to caller instead of using fatal().
Todd C. Miller [Wed, 26 Mar 2014 19:00:56 +0000 (13:00 -0600)]
Propagate errors in audit code to caller instead of using fatal().
If we fail to audit an otherwise successful command, return an error
from the policy.  For Linux audit, sudo may be compiled with audit
support but auditing may not be setup, so we don't consider that
an error.

10 years agoRemove unused variable on Linux.
Todd C. Miller [Wed, 26 Mar 2014 17:10:20 +0000 (11:10 -0600)]
Remove unused variable on Linux.

10 years agoFix warning on systems where mode_t is not unsigned int (Solaris).
Todd C. Miller [Wed, 26 Mar 2014 17:09:57 +0000 (11:09 -0600)]
Fix warning on systems where mode_t is not unsigned int (Solaris).

10 years agoAudit path too long errror. Add comments about non-audit events
Todd C. Miller [Tue, 25 Mar 2014 22:46:00 +0000 (16:46 -0600)]
Audit path too long errror.  Add comments about non-audit events
and placeholders for future audit hooks.

10 years agoRemove unused FLAG_USER auth flag. We have no auth methods that
Todd C. Miller [Thu, 27 Feb 2014 22:51:40 +0000 (15:51 -0700)]
Remove unused FLAG_USER auth flag.  We have no auth methods that
require that authentication be run as the invoking user.

10 years agoFix aliasing warning in old-style interface probe code.
Todd C. Miller [Tue, 25 Mar 2014 22:16:19 +0000 (16:16 -0600)]
Fix aliasing warning in old-style interface probe code.

10 years agoFix some sign comparision warnings.
Todd C. Miller [Tue, 25 Mar 2014 22:16:11 +0000 (16:16 -0600)]
Fix some sign comparision warnings.

10 years agoDon't call fatal/fatalx in common/*.c
Todd C. Miller [Tue, 25 Mar 2014 22:16:10 +0000 (16:16 -0600)]
Don't call fatal/fatalx in common/*.c

10 years agoFix expansion of %p in the prompt for "sudo -l" when rootpw, runaspw
Todd C. Miller [Wed, 19 Mar 2014 22:55:37 +0000 (16:55 -0600)]
Fix expansion of %p in the prompt for "sudo -l" when rootpw, runaspw
or targetpw is set.  Bug #639

10 years agoSudo 1.8.10p2
Todd C. Miller [Mon, 17 Mar 2014 14:09:39 +0000 (08:09 -0600)]
Sudo 1.8.10p2

10 years agoDon't write an empty timestamp record when timestamp_timeout is
Todd C. Miller [Mon, 17 Mar 2014 13:14:55 +0000 (07:14 -0600)]
Don't write an empty timestamp record when timestamp_timeout is
zero.  If we find an empty record in the timestamp file, overwrite
it with a good one, truncating the file as needed.

10 years agoFix typos in description of the -x option. Bug #637
Todd C. Miller [Sat, 15 Mar 2014 15:15:36 +0000 (09:15 -0600)]
Fix typos in description of the -x option.  Bug #637

10 years agoSudo 1.8.10p1
Todd C. Miller [Thu, 13 Mar 2014 20:41:36 +0000 (14:41 -0600)]
Sudo 1.8.10p1

10 years agoFix typo/thinko that prevented "Defaults !tty_tickets" from working.
Todd C. Miller [Thu, 13 Mar 2014 19:38:42 +0000 (13:38 -0600)]
Fix typo/thinko that prevented "Defaults !tty_tickets" from working.

10 years agoFix "sudo -l command" output when the matching command is negated.
Todd C. Miller [Thu, 13 Mar 2014 14:21:04 +0000 (08:21 -0600)]
Fix "sudo -l command" output when the matching command is negated.
Bug #636

10 years agoThe atofoo_test and hltq_test tests now display their own test error rate.
Todd C. Miller [Tue, 11 Mar 2014 15:16:45 +0000 (09:16 -0600)]
The atofoo_test and hltq_test tests now display their own test error rate.
Display pass/fail count separately for sudo_conf and sudo_parseln tests.
Check stderr output for the sudo_conf test.

10 years agoDon't run the check_ttyname test if cross compiling.
Todd C. Miller [Tue, 11 Mar 2014 15:16:21 +0000 (09:16 -0600)]
Don't run the check_ttyname test if cross compiling.

10 years agoCWD no longer used.
Todd C. Miller [Tue, 11 Mar 2014 15:00:48 +0000 (09:00 -0600)]
CWD no longer used.

10 years agoFix diff of toke and err output files in "make check"
Todd C. Miller [Tue, 11 Mar 2014 14:52:52 +0000 (08:52 -0600)]
Fix diff of toke and err output files in "make check"

10 years agosync with translationproject.org
Todd C. Miller [Fri, 7 Mar 2014 21:48:13 +0000 (14:48 -0700)]
sync with translationproject.org

10 years agoCheck whether ber.h is needed before ldap.h even if we are not using
Todd C. Miller [Thu, 6 Mar 2014 22:26:09 +0000 (15:26 -0700)]
Check whether ber.h is needed before ldap.h even if we are not using
any ber functions.  Needed for older versions of nss ldap.

10 years agoFix compiler warning in debug code.
Todd C. Miller [Thu, 6 Mar 2014 22:21:49 +0000 (15:21 -0700)]
Fix compiler warning in debug code.

10 years agoCatalan translation for sudo from translationproject.org.
Todd C. Miller [Thu, 6 Mar 2014 18:58:08 +0000 (11:58 -0700)]
Catalan translation for sudo from translationproject.org.

10 years agoDocument negation fix in JSON output.
Todd C. Miller [Wed, 5 Mar 2014 12:57:41 +0000 (05:57 -0700)]
Document negation fix in JSON output.

10 years agoFix handling of '!' operator when converting sudoers. We now add
Todd C. Miller [Tue, 4 Mar 2014 23:18:35 +0000 (16:18 -0700)]
Fix handling of '!' operator when converting sudoers.  We now add
a "negated" boolean flag to objects that have the '!' operator.

10 years agoCzech translation for sudoers from translationproject.org
Todd C. Miller [Sat, 1 Mar 2014 14:53:17 +0000 (07:53 -0700)]
Czech translation for sudoers from translationproject.org

10 years agoTry -libmldap before -lldap in case there is no link from libibmldap.so
Todd C. Miller [Fri, 28 Feb 2014 18:05:13 +0000 (11:05 -0700)]
Try -libmldap before -lldap in case there is no link from libibmldap.so
to libldap.so.  Since IBM ldap is installed under /opt we should only
be able to reach it if --with-ldap was given an explicit path.

Only check for ber_set_option() if LBER_OPT_DEBUG_LEVEL is defined.

10 years agoFix typo in setreuid() PERM_ROOT error message.
Todd C. Miller [Thu, 27 Feb 2014 23:40:28 +0000 (16:40 -0700)]
Fix typo in setreuid() PERM_ROOT error message.

10 years agoNo longer need to disable setresuid() on debian.
Todd C. Miller [Thu, 27 Feb 2014 20:57:11 +0000 (13:57 -0700)]
No longer need to disable setresuid() on debian.

10 years agoFix conversion of timestamp_timeout from double to struct timeval.
Todd C. Miller [Wed, 26 Feb 2014 17:29:52 +0000 (10:29 -0700)]
Fix conversion of timestamp_timeout from double to struct timeval.
Also quiet a printf format warning on 32-bit systems.

10 years agoSerbian translation for sudoers from translationproject.org.
Todd C. Miller [Wed, 26 Feb 2014 00:14:51 +0000 (17:14 -0700)]
Serbian translation for sudoers from translationproject.org.

10 years agoAdd Ingo Schwarze
Todd C. Miller [Mon, 24 Feb 2014 23:39:39 +0000 (16:39 -0700)]
Add Ingo Schwarze

10 years agoWhen exporting sudoers in JSON format, use the same type of Options
Todd C. Miller [Mon, 24 Feb 2014 16:31:14 +0000 (09:31 -0700)]
When exporting sudoers in JSON format, use the same type of Options
object for both Defaults and Cmnd_Specs.

10 years agoSilence cppcheck false positive.
Todd C. Miller [Mon, 17 Feb 2014 20:45:17 +0000 (13:45 -0700)]
Silence cppcheck false positive.

10 years agosync with translationproject.org
Todd C. Miller [Mon, 17 Feb 2014 17:31:40 +0000 (10:31 -0700)]
sync with translationproject.org

10 years agoMention init.d scripts on AIX and HP-UX
Todd C. Miller [Mon, 17 Feb 2014 17:27:47 +0000 (10:27 -0700)]
Mention init.d scripts on AIX and HP-UX
Mention sudoers group mismatch fix

10 years agoTalk about clearing files at boot time, not reboot time since it
Todd C. Miller [Mon, 17 Feb 2014 17:27:20 +0000 (10:27 -0700)]
Talk about clearing files at boot time, not reboot time since it
happens when the system comes up, not down.

10 years agoWe also need to open the sudoers file as root if there is a GID
Todd C. Miller [Mon, 17 Feb 2014 17:20:14 +0000 (10:20 -0700)]
We also need to open the sudoers file as root if there is a GID
mismatch.

10 years agoInstall /etc/rc.d/init.d/sudo and /etc/rc.d/rc2.d/S90sudo for
Todd C. Miller [Mon, 17 Feb 2014 16:02:06 +0000 (09:02 -0700)]
Install /etc/rc.d/init.d/sudo and /etc/rc.d/rc2.d/S90sudo for
AIX rpm packages.

10 years agoRemove init.d file and link in uninstall target.
Todd C. Miller [Sun, 16 Feb 2014 22:07:22 +0000 (15:07 -0700)]
Remove init.d file and link in uninstall target.

10 years agoFix INIT_DIR for real this time.
Todd C. Miller [Sun, 16 Feb 2014 21:49:15 +0000 (14:49 -0700)]
Fix INIT_DIR for real this time.

10 years agoUse correct init.d dir on HP-UX.
Todd C. Miller [Sun, 16 Feb 2014 18:00:41 +0000 (11:00 -0700)]
Use correct init.d dir on HP-UX.
Fix pp warnings from rc.d and init.d dirs.

10 years agoFirst cut add installing an init.d file for HP-UX and AIX to remove
Todd C. Miller [Sun, 16 Feb 2014 17:22:43 +0000 (10:22 -0700)]
First cut add installing an init.d file for HP-UX and AIX to remove
old sudo timestamp files at boot time.

10 years agoUse .Ar macro instead of "file ..."
Todd C. Miller [Sat, 15 Feb 2014 23:12:31 +0000 (16:12 -0700)]
Use .Ar macro instead of "file ..."
Use ".Cm -" instead of ".Li -" for the default login class.
From Ingo Schwarze.

10 years agoRemove some extraneous markup; from Ingo Schwarze
Todd C. Miller [Sat, 15 Feb 2014 23:04:07 +0000 (16:04 -0700)]
Remove some extraneous markup; from Ingo Schwarze
 * No need to explicitly end a macro with No before |
   because | counts as middle punctuation
   and falls out of the macro, anyway.
 * No need to explicitly re-open in-line macros after |
   because | counts as middle punctuation
   and the macros resume afterwards, anyway.
 * Simplify the mnemonic remarks regarding the option letters,
   no need for manual font and spacing control with No and Ns.
 * Trim Ns No to just Ns, it already implies No.

10 years agoMove zerowidth space in :alpha: after the colon for consistency.
Todd C. Miller [Sat, 15 Feb 2014 22:45:25 +0000 (15:45 -0700)]
Move zerowidth space in :alpha: after the colon for consistency.

10 years agoregen
Todd C. Miller [Sat, 15 Feb 2014 22:18:34 +0000 (15:18 -0700)]
regen

10 years agoRemove extraneous keeps in SYNOPSIS now that mandoc does implied
Todd C. Miller [Sat, 15 Feb 2014 22:18:20 +0000 (15:18 -0700)]
Remove extraneous keeps in SYNOPSIS now that mandoc does implied
keeps when converting from mdoc to man.

10 years agoProperly escape the : in :alpha:
Todd C. Miller [Sat, 15 Feb 2014 22:17:37 +0000 (15:17 -0700)]
Properly escape the : in :alpha:

10 years agoReplace some uses of .Sy with .Ar, .Ev and .Pa as appropriate.
Todd C. Miller [Sat, 15 Feb 2014 17:40:46 +0000 (10:40 -0700)]
Replace some uses of .Sy with .Ar, .Ev and .Pa as appropriate.
From Jan Stary.

10 years agoFix indentation of Defaults entries. The initial indent should be
Todd C. Miller [Wed, 12 Feb 2014 22:00:04 +0000 (15:00 -0700)]
Fix indentation of Defaults entries.  The initial indent should be
outside the loop iterating over the entries.

10 years agosync with translationproject.org
Todd C. Miller [Tue, 11 Feb 2014 16:55:33 +0000 (09:55 -0700)]
sync with translationproject.org

10 years agoWe must include gettext.h before missing.h as it includes system
Todd C. Miller [Tue, 11 Feb 2014 16:40:59 +0000 (09:40 -0700)]
We must include gettext.h before missing.h as it includes system
headers.  Also add missing DEFAULT_TEXT_DOMAIN defines in sudoers
audit code that does not include sudoers.h.

10 years agoWhen emulating DSO_NEXT with shl_get() we need to skip the program's
Todd C. Miller [Tue, 11 Feb 2014 14:43:13 +0000 (07:43 -0700)]
When emulating DSO_NEXT with shl_get() we need to skip the program's
handle.  This used to be documented as being index -2 but now it
seems to be index 0.  As this is not guaranteed we need to look up
the real handle value for PROG_HANDLE and skip it when interating
through all the DSOs.  Fixes infinite recursion on HP-UX in the
getenv() replacement.

10 years agoExport getenv() so it is visible to shared objects we link with.
Todd C. Miller [Tue, 11 Feb 2014 14:34:04 +0000 (07:34 -0700)]
Export getenv() so it is visible to shared objects we link with.

10 years agoAdd some initprogname() calls to the test programs.
Todd C. Miller [Sat, 8 Feb 2014 13:24:01 +0000 (06:24 -0700)]
Add some initprogname() calls to the test programs.

10 years agoregen
Todd C. Miller [Fri, 7 Feb 2014 22:15:09 +0000 (15:15 -0700)]
regen

10 years agoMention that there is now a default LDAP search filter.
Todd C. Miller [Fri, 7 Feb 2014 22:03:18 +0000 (15:03 -0700)]
Mention that there is now a default LDAP search filter.

10 years agoMinor word choice change.
Todd C. Miller [Fri, 7 Feb 2014 22:03:00 +0000 (15:03 -0700)]
Minor word choice change.

10 years agoAdd use_netgroups sudoers option. For LDAP-based sudoers, netgroup
Todd C. Miller [Fri, 7 Feb 2014 21:58:48 +0000 (14:58 -0700)]
Add use_netgroups sudoers option.  For LDAP-based sudoers, netgroup
support requires an expensive substring match on the server.  If
netgroups are not needed, this option can be disabled to reduce the
load on the LDAP server.

11 years agoUpdate copyright year.
Todd C. Miller [Thu, 6 Feb 2014 23:00:56 +0000 (16:00 -0700)]
Update copyright year.

11 years agoMention LDAP changes.
Todd C. Miller [Thu, 6 Feb 2014 23:00:47 +0000 (16:00 -0700)]
Mention LDAP changes.

11 years agoUse a default LDAP search filter of (objectClass=sudoRole). When
Todd C. Miller [Thu, 6 Feb 2014 22:50:08 +0000 (15:50 -0700)]
Use a default LDAP search filter of (objectClass=sudoRole).  When
constructing the netgroup query, add (sudoUser=*) to the query so
we don't fall below the 3 character OpenLDAP substring threshold.
Otherwise the index for sudoUser will never be used for that query.
Pointed out by Michael Stroeder.

11 years agoDon't warn about an insecure lecture dir twice.
Todd C. Miller [Thu, 6 Feb 2014 22:46:27 +0000 (15:46 -0700)]
Don't warn about an insecure lecture dir twice.
Display warnings in the user's locale.

11 years agoMention the fix for ^Z at the password prompt when sudo was started
Todd C. Miller [Wed, 5 Feb 2014 19:57:47 +0000 (12:57 -0700)]
Mention the fix for ^Z at the password prompt when sudo was started
in the background.

11 years agoIn term_restore(), only restores the terminal if we are in the
Todd C. Miller [Wed, 5 Feb 2014 19:03:58 +0000 (12:03 -0700)]
In term_restore(), only restores the terminal if we are in the
foregroup process group.  Instead of calling tcgetpgrp(), which is
racy, we set a temporary handler for SIGTTOU and check whether it
was received after a failed call to tcsetattr().

11 years agoUse inet_pton() instead of inet_aton() and include a version from
Todd C. Miller [Wed, 5 Feb 2014 17:00:07 +0000 (10:00 -0700)]
Use inet_pton() instead of inet_aton() and include a version from
BIND for those without it.

11 years agoQuiet a gcc warning.
Todd C. Miller [Wed, 5 Feb 2014 16:55:31 +0000 (09:55 -0700)]
Quiet a gcc warning.

11 years agoNeed to include limits.h for USHRT_MAX.
Todd C. Miller [Wed, 5 Feb 2014 16:55:30 +0000 (09:55 -0700)]
Need to include limits.h for USHRT_MAX.

11 years agoUse bool for function return values instead of 1 or 0.
Todd C. Miller [Tue, 4 Feb 2014 22:18:16 +0000 (15:18 -0700)]
Use bool for function return values instead of 1 or 0.

11 years agoWarn the user if the rundir needs to be cleared in the rc files.
Todd C. Miller [Tue, 4 Feb 2014 22:14:48 +0000 (15:14 -0700)]
Warn the user if the rundir needs to be cleared in the rc files.
Neither AIX not HP-UX clear /var/run (if it even exists).

11 years agoUpdate for sudo 1.8.9p5
Todd C. Miller [Tue, 4 Feb 2014 17:24:35 +0000 (10:24 -0700)]
Update for sudo 1.8.9p5

11 years agoWhen the closefrom limit is greater than any of the preserved fds,
Todd C. Miller [Tue, 4 Feb 2014 13:22:19 +0000 (06:22 -0700)]
When the closefrom limit is greater than any of the preserved fds,
the pfds list will be non-empty but lastfd will be -1 triggering
an ecalloc(0) assertion.  Instead, test for lastfd being -1 and
make sure we always update it, even if dup() fails.
Also restore initial value of lowfd after we are done relocating.
Fixes bug #633

11 years agoDocument function return values.
Todd C. Miller [Tue, 4 Feb 2014 13:13:43 +0000 (06:13 -0700)]
Document function return values.

11 years agoterm_restore() now restarts itself so we don't need to do it ourselves.
Todd C. Miller [Tue, 4 Feb 2014 03:36:48 +0000 (20:36 -0700)]
term_restore() now restarts itself so we don't need to do it ourselves.

11 years agosyscall restarting is broken on Mac OS X when interrupted by a tty
Todd C. Miller [Mon, 3 Feb 2014 23:51:51 +0000 (16:51 -0700)]
syscall restarting is broken on Mac OS X when interrupted by a tty
signal so restart tcsetattr() by hand.  For details, see.
http://openradar.appspot.com/radar?id=6402578615107584

11 years agoAdd regress for atobool(), atoid() and atomode()
Todd C. Miller [Mon, 3 Feb 2014 17:47:19 +0000 (10:47 -0700)]
Add regress for atobool(), atoid() and atomode()