]> granicus.if.org Git - sudo/log
sudo
7 years agozero out nss->handle after it has been freed to make sure we cannot free it twice
Todd C. Miller [Tue, 21 Mar 2017 15:52:51 +0000 (09:52 -0600)]
zero out nss->handle after it has been freed to make sure we cannot free it twice

7 years agoAdd iolog_flush option.
Todd C. Miller [Mon, 20 Mar 2017 16:25:58 +0000 (10:25 -0600)]
Add iolog_flush option.

7 years agoDon't allow the user to specify an I/O log file mode that sudo can't
Todd C. Miller [Fri, 17 Mar 2017 16:56:17 +0000 (10:56 -0600)]
Don't allow the user to specify an I/O log file mode that sudo can't
read or write to.  I/O logs must always be readable and writable
by the owner.

7 years agoRegenerate the cat pages with newer mandoc which formats double
Todd C. Miller [Tue, 14 Mar 2017 15:13:25 +0000 (09:13 -0600)]
Regenerate the cat pages with newer mandoc which formats double
quotes as "foo" instead of ``foo''.

7 years agoMake it clear that I/O logs will be complete even if the command
Todd C. Miller [Tue, 14 Mar 2017 15:11:56 +0000 (09:11 -0600)]
Make it clear that I/O logs will be complete even if the command
run by sudo is terminated by a signal.  The I/O log buffering just
prevents the logs from being displayed in real-time as the command
is running.

7 years agoReplace pipe_nonblock() with pipe2()
Todd C. Miller [Mon, 13 Mar 2017 18:11:52 +0000 (12:11 -0600)]
Replace pipe_nonblock() with pipe2()

7 years agoEmulate pipe2() on systems without it.
Todd C. Miller [Mon, 13 Mar 2017 18:11:51 +0000 (12:11 -0600)]
Emulate pipe2() on systems without it.

7 years agoFix declaration of sudo_krb5_verify() in the case where krb5_verify_user()
Todd C. Miller [Fri, 10 Mar 2017 18:52:49 +0000 (11:52 -0700)]
Fix declaration of sudo_krb5_verify() in the case where krb5_verify_user()
is not present.  Bug #777

7 years agoUse HAVE_STDBOOL_H to detect systems w/o stdbool.h.
Todd C. Miller [Fri, 10 Mar 2017 18:49:07 +0000 (11:49 -0700)]
Use HAVE_STDBOOL_H to detect systems w/o stdbool.h.
Bug #778

7 years agoregen
Todd C. Miller [Thu, 9 Mar 2017 19:00:18 +0000 (12:00 -0700)]
regen

7 years agoMove SIGCHLD handling into handle_sigchld() functions and move the
Todd C. Miller [Thu, 9 Mar 2017 15:36:40 +0000 (08:36 -0700)]
Move SIGCHLD handling into handle_sigchld() functions and move the
remaining bits of dispatch_signal() into signal_pipe_cb()

7 years agoe_termination should be set to the value of WTERMSIG not WEXITSTATUS
Todd C. Miller [Wed, 8 Mar 2017 16:17:53 +0000 (09:17 -0700)]
e_termination should be set to the value of WTERMSIG not WEXITSTATUS

7 years agoAdd tcsetpgrp_nobg() which acts like tcsetpgrp() but returns -1
Todd C. Miller [Tue, 7 Mar 2017 19:29:21 +0000 (12:29 -0700)]
Add tcsetpgrp_nobg() which acts like tcsetpgrp() but returns -1
for a background process.  This is safer than blocking SIGTTOU
which would cause tcsetpgrp() to succeed in the background.

7 years agoPrevent sudo from receiving SIGTTOU when it tries to restore the
Todd C. Miller [Mon, 6 Mar 2017 20:05:17 +0000 (13:05 -0700)]
Prevent sudo from receiving SIGTTOU when it tries to restore the
controlling terminal.  There appears to be a race with the shell
(bash) which we may lose.

7 years agoAdd some casts to quiet gcc warnings on Solaris and remove a
Todd C. Miller [Fri, 3 Mar 2017 18:20:56 +0000 (11:20 -0700)]
Add some casts to quiet gcc warnings on Solaris and remove a
now-useless debug printf.

7 years agochange debug info when suspending sudo
Todd C. Miller [Fri, 3 Mar 2017 18:20:25 +0000 (11:20 -0700)]
change debug info when suspending sudo

7 years agoReorganize the command execution code to separate out the pty and
Todd C. Miller [Fri, 3 Mar 2017 17:35:11 +0000 (10:35 -0700)]
Reorganize the command execution code to separate out the pty and
non-pty code paths into their own event loops.  The non-pty exec
code is now contained in exec_nopty.c and the pty exec code is split
between exec_pty.c (parent process) and exec_monitor.c (session leader).
This results in a small bit of duplicated code but improves readability.
Some of the duplicated code will fall out in future changes to the
event subsystem (the signal pipe).

7 years agoRemove support for the TIOCGSIZE ioctl. Systems that use this
Todd C. Miller [Sun, 26 Feb 2017 23:41:25 +0000 (16:41 -0700)]
Remove support for the TIOCGSIZE ioctl.  Systems that use this
rather than TIOCGWINSZ are too old for sudo to build on anyway.

7 years agoSet the child pid to -1 after we've waited for it and take care to
Todd C. Miller [Fri, 24 Feb 2017 22:14:56 +0000 (15:14 -0700)]
Set the child pid to -1 after we've waited for it and take care to
avoid killing pid -1.  This makes it a bit more explicit and removes
the need for a separate variable to track the child's status.
Sudo already stops processing signals after it receives SIGCHLD so
it is not vulnerable to CVE-2017-2616.

7 years agoUpdate the description of strict mode to current reality. Aliases
Todd C. Miller [Wed, 22 Feb 2017 21:13:07 +0000 (14:13 -0700)]
Update the description of strict mode to current reality.  Aliases
haven't needed to be defined before they are used since sudo 1.7.

7 years agoGo back to using a Warning/Error prefix in the message printed to
Todd C. Miller [Wed, 22 Feb 2017 13:38:33 +0000 (06:38 -0700)]
Go back to using a Warning/Error prefix in the message printed to
stderr for alias problems.  Requested by Tomas Sykora.

7 years agofix copyright years
Todd C. Miller [Tue, 21 Feb 2017 16:03:57 +0000 (09:03 -0700)]
fix copyright years

7 years agoAdd support for using the message digest functions in libgcrypt
Todd C. Miller [Mon, 20 Feb 2017 23:44:12 +0000 (16:44 -0700)]
Add support for using the message digest functions in libgcrypt
instead of sudo's own SHA2 implementation.

7 years agoAdd support for using the message digest functions in OpenSSL instead
Todd C. Miller [Mon, 20 Feb 2017 23:44:12 +0000 (16:44 -0700)]
Add support for using the message digest functions in OpenSSL instead
of sudo's own SHA2 implementation.

7 years agoMove the file digest code out of match.c and into filedigest.c.
Todd C. Miller [Mon, 20 Feb 2017 23:44:12 +0000 (16:44 -0700)]
Move the file digest code out of match.c and into filedigest.c.
Inspired by RedHat changes that used libgcrypt.
Also add digest_type_to_name() to map a sudo digest type (int)
to a name (string) and use it.

7 years agoCheck for gmtime() or localtime() returning NULL and just use a
Todd C. Miller [Mon, 20 Feb 2017 23:44:02 +0000 (16:44 -0700)]
Check for gmtime() or localtime() returning NULL and just use a
zero offset in that case.  Should not be possible.

7 years agoAdd support for ROLE, TYPE, PRIVS, LIMITPRIVS, TIMEOUT, NOTBEFORE
Todd C. Miller [Sat, 18 Feb 2017 23:44:56 +0000 (16:44 -0700)]
Add support for ROLE, TYPE, PRIVS, LIMITPRIVS, TIMEOUT, NOTBEFORE
and NOTAFTER.

7 years agostrftime() was in C89 so use it unconditionally.
Todd C. Miller [Sat, 18 Feb 2017 23:23:40 +0000 (16:23 -0700)]
strftime() was in C89 so use it unconditionally.

7 years agoAdd NOTBEFORE and NOTAFTER command options similar to what is
Todd C. Miller [Sat, 18 Feb 2017 22:35:48 +0000 (15:35 -0700)]
Add NOTBEFORE and NOTAFTER command options similar to what is
already available in LDAP.

7 years agoregen
Todd C. Miller [Thu, 16 Feb 2017 17:28:13 +0000 (10:28 -0700)]
regen

7 years agoBump version to 1.11 for timeout entry in settings[]
Todd C. Miller [Thu, 16 Feb 2017 17:28:08 +0000 (10:28 -0700)]
Bump version to 1.11 for timeout entry in settings[]

7 years agoregen
Todd C. Miller [Thu, 16 Feb 2017 17:13:48 +0000 (10:13 -0700)]
regen

7 years agoAdd a command line option to specify the command timeout, as long
Todd C. Miller [Thu, 16 Feb 2017 16:58:18 +0000 (09:58 -0700)]
Add a command line option to specify the command timeout, as long
as sudoers does not specify a shorter time limit.

7 years agoBetter error message when the timeout value does not parse.
Todd C. Miller [Wed, 15 Feb 2017 22:13:37 +0000 (15:13 -0700)]
Better error message when the timeout value does not parse.

7 years agoset errno to ERANGE not EOVERFLOW on range error
Todd C. Miller [Wed, 15 Feb 2017 17:51:39 +0000 (10:51 -0700)]
set errno to ERANGE not EOVERFLOW on range error

7 years agoregen
Todd C. Miller [Tue, 14 Feb 2017 23:24:10 +0000 (16:24 -0700)]
regen

7 years agoOnly inhibit ASAN leak detector for tests that result in a parse
Todd C. Miller [Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)]
Only inhibit ASAN leak detector for tests that result in a parse
error.  The parser cannot currently clean up completely on error.

7 years agoPlug some memory leaks found by ASAN.
Todd C. Miller [Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)]
Plug some memory leaks found by ASAN.

7 years agoList SELinux role/type for "sudo -l" with LDAP and SSSd backends.
Todd C. Miller [Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)]
List SELinux role/type for "sudo -l" with LDAP and SSSd backends.
Also fix printing of the timeout.

7 years agoOnly inherit SELinux role/type and Solaris privilege sets if
Todd C. Miller [Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)]
Only inherit SELinux role/type and Solaris privilege sets if
the command does not include any.  Previously, a command with
only a role would inherit a type from the previous command
which is not what was intended.

7 years agoSplit out tags again so they must precede the command and not allow
Todd C. Miller [Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)]
Split out tags again so they must precede the command and not allow
them to be mixed in with options.

7 years agoAdd support for command timeouts in sudoers. After the timeout,
Todd C. Miller [Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)]
Add support for command timeouts in sudoers.  After the timeout,
the command will be terminated.

7 years agoMerge command tags, SELinux type/role and Solaris privs settings
Todd C. Miller [Tue, 14 Feb 2017 22:56:34 +0000 (15:56 -0700)]
Merge command tags, SELinux type/role and Solaris privs settings
into "command options".  This relaxes the order of things so tags
and other options can be interspersed.

7 years agosupress cppcheck memory leak false positive
Todd C. Miller [Tue, 14 Feb 2017 21:38:31 +0000 (14:38 -0700)]
supress cppcheck memory leak false positive

7 years agofix typo that prevented compilation on FreeBSD
Todd C. Miller [Tue, 14 Feb 2017 20:19:45 +0000 (13:19 -0700)]
fix typo that prevented compilation on FreeBSD

7 years agoLink vsyslog.lo directly into vsyslog_test to make sure the syslog()
Todd C. Miller [Tue, 14 Feb 2017 03:33:42 +0000 (20:33 -0700)]
Link vsyslog.lo directly into vsyslog_test to make sure the syslog()
stub gets called.  Otherwise, the real syslog will get called via
libutil on AIX.

7 years agoFix final test with a format > 2048 bytes.
Todd C. Miller [Tue, 14 Feb 2017 03:30:45 +0000 (20:30 -0700)]
Fix final test with a format > 2048 bytes.
Keep track of tests run in the syslog() stub so we can
detect if the stub is not being called.

7 years agoavoid redefining the MIN macro
Todd C. Miller [Mon, 13 Feb 2017 22:03:57 +0000 (15:03 -0700)]
avoid redefining the MIN macro

7 years agoInclude parse.h in timestr.c which is where function prototype lives.
Todd C. Miller [Mon, 13 Feb 2017 20:44:11 +0000 (13:44 -0700)]
Include parse.h in timestr.c which is where function prototype lives.

7 years agoFix for including a sudoers file that begins with the letter 'i'.
Todd C. Miller [Mon, 13 Feb 2017 20:38:24 +0000 (13:38 -0700)]
Fix for including a sudoers file that begins with the letter 'i'.
The hack to determine whether we are parsing an include or includedir
is no longer safe now that relative include paths are permitted.
Bug #776.

7 years agoDisplay the value of syslog_maxlen in sudo -V output.
Todd C. Miller [Fri, 10 Feb 2017 22:08:44 +0000 (15:08 -0700)]
Display the value of syslog_maxlen in sudo -V output.

7 years agoAdd ignore_unknown_defaults flag to ignore unknown Defaults entries
Todd C. Miller [Mon, 6 Feb 2017 12:41:57 +0000 (05:41 -0700)]
Add ignore_unknown_defaults flag to ignore unknown Defaults entries
in sudoers instead of producing a warning.

7 years agoAlways set the close-on-exec bit on the fd used to generate the
Todd C. Miller [Fri, 27 Jan 2017 16:26:51 +0000 (09:26 -0700)]
Always set the close-on-exec bit on the fd used to generate the
digest (i.e. the command to run) on systems that lack fexecve(2).
That way we don't need to explicitly close it using #ifdefs.

7 years agosync with translationproject.org
Todd C. Miller [Fri, 27 Jan 2017 13:27:03 +0000 (06:27 -0700)]
sync with translationproject.org

7 years agofirst updates for 1.8.20
Todd C. Miller [Fri, 27 Jan 2017 13:25:55 +0000 (06:25 -0700)]
first updates for 1.8.20

7 years agosudo 1.8.20
Todd C. Miller [Fri, 27 Jan 2017 13:18:42 +0000 (06:18 -0700)]
sudo 1.8.20

7 years agoupdate zlib to version 1.2.11
Todd C. Miller [Wed, 25 Jan 2017 22:11:32 +0000 (15:11 -0700)]
update zlib to version 1.2.11

7 years agoFix fdexec=never when a digest is present.
Todd C. Miller [Mon, 23 Jan 2017 15:43:32 +0000 (07:43 -0800)]
Fix fdexec=never when a digest is present.

7 years agoAdd new fdexec sudoers setting to allow choose whether execve() or
Todd C. Miller [Mon, 23 Jan 2017 02:56:16 +0000 (18:56 -0800)]
Add new fdexec sudoers setting to allow choose whether execve() or
fexecve() is used.

7 years agoClose execfd in parent processes where it is not needed.
Todd C. Miller [Mon, 23 Jan 2017 02:56:13 +0000 (18:56 -0800)]
Close execfd in parent processes where it is not needed.

7 years agoAdd support for digest matching when the command is a glob-style
Todd C. Miller [Sat, 21 Jan 2017 23:43:46 +0000 (16:43 -0700)]
Add support for digest matching when the command is a glob-style
pattern or a directory.  For example:

millert ALL = sha224:TmUvLkp3a2txliSC2X6CiK42626qdKsH72m/PQ== /bin/
millert ALL = sha224:TmUvLkp3a2txliSC2X6CiK42626qdKsH72m/PQ== /bin/*

would only match /bin/ls (assuming the digest matches).

Previously, only explicit path matches checked the digest.

7 years agoAdd support for SASL_MECH in ldap.conf; Bug #764
Todd C. Miller [Tue, 17 Jan 2017 18:09:23 +0000 (11:09 -0700)]
Add support for SASL_MECH in ldap.conf; Bug #764

7 years agoFix documentation bug, the contents of env_file have never been
Todd C. Miller [Tue, 17 Jan 2017 17:10:47 +0000 (10:10 -0700)]
Fix documentation bug, the contents of env_file have never been
subject to env_keep or env_check.  However, variables are only added
if they have not already been preserved.

7 years agoSafer example for rule that can change non-root passwords. GNU
Todd C. Miller [Tue, 17 Jan 2017 15:55:40 +0000 (08:55 -0700)]
Safer example for rule that can change non-root passwords.  GNU
getopts allows options to follow arguments so we need to be able
to deny things like "passwd root -q".  From Paul "Joey" Clark.
Bug #772

7 years agoDon't overwrite the return value of ldap_sasl_interactive_bind_s()
Todd C. Miller [Mon, 16 Jan 2017 18:20:26 +0000 (11:20 -0700)]
Don't overwrite the return value of ldap_sasl_interactive_bind_s()
by the subsequent call to sudo_set_krb5_ccache_name().  From Paul
Zirnik of SUSE.

7 years agoIn sudo_unsetenv_nodebug(), decrement envp.env_len after removing
Todd C. Miller [Mon, 16 Jan 2017 18:12:56 +0000 (11:12 -0700)]
In sudo_unsetenv_nodebug(), decrement envp.env_len after removing
the variable.  From Paul Zirnik of SUSE.

7 years agoonly run vsyslog_test if it exists
Todd C. Miller [Mon, 16 Jan 2017 02:13:26 +0000 (19:13 -0700)]
only run vsyslog_test if it exists

7 years agoAdd regress for vsyslog replacement.
Todd C. Miller [Mon, 16 Jan 2017 02:07:59 +0000 (19:07 -0700)]
Add regress for vsyslog replacement.

7 years agoDefine HAVE_NANOSLEEP if we find nanosleep in librt
Todd C. Miller [Sat, 14 Jan 2017 04:29:02 +0000 (21:29 -0700)]
Define HAVE_NANOSLEEP if we find nanosleep in librt

7 years agosudo_nanosleep not nanosleep in util.exp.in
Todd C. Miller [Sat, 14 Jan 2017 04:02:31 +0000 (21:02 -0700)]
sudo_nanosleep not nanosleep in util.exp.in

7 years agoadd nanosleep to util.exp.in if needed
Todd C. Miller [Sat, 14 Jan 2017 03:40:26 +0000 (20:40 -0700)]
add nanosleep to util.exp.in if needed

7 years agosudo 1.8.19p2
Todd C. Miller [Fri, 13 Jan 2017 23:45:14 +0000 (16:45 -0700)]
sudo 1.8.19p2

7 years agoDouble the size of new_fmt[] and remove an extraneous break in the
Todd C. Miller [Fri, 13 Jan 2017 23:39:31 +0000 (16:39 -0700)]
Double the size of new_fmt[] and remove an extraneous break in the
%m handling that was leftover from an earlier edit.

7 years agoFix typo, want vsnprintf not snprintf.
Todd C. Miller [Fri, 13 Jan 2017 23:30:44 +0000 (16:30 -0700)]
Fix typo, want vsnprintf not snprintf.

7 years agomove va_start() in mysyslog()
Todd C. Miller [Fri, 13 Jan 2017 23:30:08 +0000 (16:30 -0700)]
move va_start() in mysyslog()

7 years agoOnly treat failure of expand_iolog_path() as fatal if ignore_iolog_errors
Todd C. Miller [Fri, 13 Jan 2017 22:45:59 +0000 (15:45 -0700)]
Only treat failure of expand_iolog_path() as fatal if ignore_iolog_errors
is not set.

7 years agoWhen waiting for the parent to grant us the tty, use nanosleep
Todd C. Miller [Thu, 12 Jan 2017 17:44:26 +0000 (10:44 -0700)]
When waiting for the parent to grant us the tty, use nanosleep
instead of spinning to avoid hogging the CPU.

7 years agoUse ROOT_UID instead of 0
Todd C. Miller [Thu, 12 Jan 2017 17:42:26 +0000 (10:42 -0700)]
Use ROOT_UID instead of 0

7 years agoregen
Todd C. Miller [Mon, 9 Jan 2017 17:45:44 +0000 (10:45 -0700)]
regen

8 years agoFix crash in visudo introduced in sudo 1.8.9 when an IP address or
Todd C. Miller [Sun, 8 Jan 2017 02:50:05 +0000 (19:50 -0700)]
Fix crash in visudo introduced in sudo 1.8.9 when an IP address or
network is used in a host-based Defaults entry.  Bug #766

8 years agoAvoid using the system strnlen/strndup on AIX < 6. Even if configure
Todd C. Miller [Thu, 5 Jan 2017 13:22:58 +0000 (06:22 -0700)]
Avoid using the system strnlen/strndup on AIX < 6.  Even if configure
correctly detects it is working on the build machine, the sudo
package may be run on a system with an old libc were it is broken.

8 years agosudo 1.8.19p1
Todd C. Miller [Tue, 20 Dec 2016 17:26:50 +0000 (10:26 -0700)]
sudo 1.8.19p1

8 years agoFix logic bug when matching syslog priority and facility.
Todd C. Miller [Tue, 20 Dec 2016 17:24:55 +0000 (10:24 -0700)]
Fix logic bug when matching syslog priority and facility.

8 years agoDell spun off Quest so simplify the history by just talking
Todd C. Miller [Tue, 20 Dec 2016 13:35:49 +0000 (06:35 -0700)]
Dell spun off Quest so simplify the history by just talking
about Quest and not Dell.

8 years agoFix copyright year
Todd C. Miller [Mon, 19 Dec 2016 19:48:15 +0000 (12:48 -0700)]
Fix copyright year

8 years agotypo
Todd C. Miller [Mon, 19 Dec 2016 18:34:03 +0000 (11:34 -0700)]
typo

8 years agoHAVE_DECL_GETGROUPLIST_2 is always defined if HAVE_GETGROUPLIST_2 is,
Todd C. Miller [Sun, 18 Dec 2016 13:50:51 +0000 (06:50 -0700)]
HAVE_DECL_GETGROUPLIST_2 is always defined if HAVE_GETGROUPLIST_2 is,
we need to check its value, not whether it is defined.

8 years agosync with translationproject.org
Todd C. Miller [Thu, 15 Dec 2016 21:26:11 +0000 (14:26 -0700)]
sync with translationproject.org

8 years agosync with translationproject.org
Todd C. Miller [Tue, 13 Dec 2016 17:39:48 +0000 (10:39 -0700)]
sync with translationproject.org

8 years agoUse getgrouplist_2() on macOS if available.
Todd C. Miller [Tue, 13 Dec 2016 17:39:32 +0000 (10:39 -0700)]
Use getgrouplist_2() on macOS if available.

8 years agoregen
Todd C. Miller [Sun, 4 Dec 2016 02:25:17 +0000 (19:25 -0700)]
regen

8 years agoIn set_interfaces() treat a parse error as fatal.
Todd C. Miller [Sat, 3 Dec 2016 23:39:43 +0000 (16:39 -0700)]
In set_interfaces() treat a parse error as fatal.

8 years agoFix a clang warning on macOS
Todd C. Miller [Fri, 2 Dec 2016 16:34:08 +0000 (09:34 -0700)]
Fix a clang warning on macOS

8 years agosync with translationproject.org
Todd C. Miller [Thu, 1 Dec 2016 18:42:50 +0000 (11:42 -0700)]
sync with translationproject.org

8 years agoupdate for 1.8.19b2
Todd C. Miller [Thu, 1 Dec 2016 18:42:32 +0000 (11:42 -0700)]
update for 1.8.19b2

8 years agoIgnore a boot time that is in the future, which can happen when the
Todd C. Miller [Thu, 1 Dec 2016 17:52:05 +0000 (10:52 -0700)]
Ignore a boot time that is in the future, which can happen when the
clock is corrected down after boot.  Otherwise, the timestamp file
will be unlinked each time sudo is run and a password is always
required.

8 years agoAllow syslog priority to be negated or set to "none" to disable
Todd C. Miller [Wed, 30 Nov 2016 23:26:10 +0000 (16:26 -0700)]
Allow syslog priority to be negated or set to "none" to disable
logging successes or failures.

8 years agoAllow stdin and ttyin to be displayed too. The only one that is
Todd C. Miller [Wed, 30 Nov 2016 20:38:01 +0000 (13:38 -0700)]
Allow stdin and ttyin to be displayed too.  The only one that is
really useful in sudoreplay is stdin when input is from a pipe.

8 years agoSolaris 10 wordexp() returns 127 on execve() failure like popen()
Todd C. Miller [Wed, 30 Nov 2016 18:05:42 +0000 (11:05 -0700)]
Solaris 10 wordexp() returns 127 on execve() failure like popen()
does.

8 years agoid_t is 64-bits on FreeBSD so use strtoll() there.
Todd C. Miller [Wed, 30 Nov 2016 14:32:59 +0000 (07:32 -0700)]
id_t is 64-bits on FreeBSD so use strtoll() there.
Fixes the strtoid regress.