]> granicus.if.org Git - sudo/log
sudo
8 years agoIn strict mode, go to the file/line with an undefined aliases
Todd C. Miller [Sun, 13 Nov 2016 13:41:09 +0000 (06:41 -0700)]
In strict mode, go to the file/line with an undefined aliases
or aliases cycle directly.

8 years agoStore the file/lineno for alias and userspec entries so we can
Todd C. Miller [Sun, 13 Nov 2016 02:22:32 +0000 (19:22 -0700)]
Store the file/lineno for alias and userspec entries so we can
provide that info if there is an error.

8 years agoAdd simple reference-counted string allocator and use it for passing
Todd C. Miller [Fri, 11 Nov 2016 23:18:27 +0000 (16:18 -0700)]
Add simple reference-counted string allocator and use it for passing
around references to the sudoers path.  This lets us avoid making
copies of the sudoers path for the errorfile as well as each Defaults
entry.

8 years agoCast len from size_t to uint64_t before bit shifting since we are
Todd C. Miller [Fri, 11 Nov 2016 17:59:42 +0000 (10:59 -0700)]
Cast len from size_t to uint64_t before bit shifting since we are
adding to count which is also uint64_t.  Quiets a PVS-Studio warning.

8 years agoAdd checks for sudoers_locale early Defaults
Todd C. Miller [Thu, 10 Nov 2016 21:36:11 +0000 (14:36 -0700)]
Add checks for sudoers_locale early Defaults

8 years agoGo back to parsing Defaults entries in update_defaults instead of
Todd C. Miller [Wed, 9 Nov 2016 23:00:12 +0000 (16:00 -0700)]
Go back to parsing Defaults entries in update_defaults instead of
as sudoers is read.  Otherwise, we cannot properly support early
defaults like sudoers_locale.

8 years agoAdd the argument vector allocated for -s and -i mode to the garbage
Todd C. Miller [Thu, 10 Nov 2016 17:11:18 +0000 (10:11 -0700)]
Add the argument vector allocated for -s and -i mode to the garbage
collector list.  Avoids an ASAN warning on exit when the -s or -i
flags are used.

8 years agoadd missing sudo_pw_delref/sudo_gr_delref to plug memory leak
Todd C. Miller [Wed, 9 Nov 2016 23:07:12 +0000 (16:07 -0700)]
add missing sudo_pw_delref/sudo_gr_delref to plug memory leak

8 years agoUse expr instead of POSIX sh numerical expression to avoid
Todd C. Miller [Wed, 9 Nov 2016 13:03:31 +0000 (06:03 -0700)]
Use expr instead of POSIX sh numerical expression to avoid
a syntax error on older shells.

8 years agoBump plugin minor version to 10 for sudo_mode, sudo_group and sudo_user.
Todd C. Miller [Wed, 9 Nov 2016 03:34:46 +0000 (20:34 -0700)]
Bump plugin minor version to 10 for sudo_mode, sudo_group and sudo_user.

8 years agoFix a bug in host matching where a negated sudoHost entry would
Todd C. Miller [Tue, 8 Nov 2016 21:35:23 +0000 (14:35 -0700)]
Fix a bug in host matching where a negated sudoHost entry would
prevent other sudoHosts following it from matching.

8 years agoZero out sd_un before calling parse_default() so we don't try
Todd C. Miller [Tue, 8 Nov 2016 19:58:28 +0000 (12:58 -0700)]
Zero out sd_un before calling parse_default() so we don't try
to free stack garbage in the ldap/sssd backends.

8 years agoUse "ret", not "rc" for the function return value.
Todd C. Miller [Mon, 7 Nov 2016 20:39:42 +0000 (13:39 -0700)]
Use "ret", not "rc" for the function return value.

8 years agoUse sys/stat.h defines instead of bare octal values.
Todd C. Miller [Mon, 7 Nov 2016 20:36:05 +0000 (13:36 -0700)]
Use sys/stat.h defines instead of bare octal values.

8 years agoPass iolog mode, group and user from policy plugin to I/O log plugin.
Todd C. Miller [Mon, 7 Nov 2016 17:19:04 +0000 (10:19 -0700)]
Pass iolog mode, group and user from policy plugin to I/O log plugin.

8 years agoInstead of parsing sudoers Defaults twice, parse once while reading
Todd C. Miller [Mon, 7 Nov 2016 01:59:49 +0000 (18:59 -0700)]
Instead of parsing sudoers Defaults twice, parse once while reading
sudoers and then just set the parsed value in update_defaults().

8 years agoUse "struct defaults *d" instead of "struct defaults *def" throughout
Todd C. Miller [Mon, 7 Nov 2016 01:55:18 +0000 (18:55 -0700)]
Use "struct defaults *d" instead of "struct defaults *def" throughout
for consistency and to avoid confusino with "struct def_values *def".
Use "str" not "var" for the string argument to convert and store in
sd_un for the store_* functions.

8 years agoIn display_bound_defaults() rename dtype arg -> deftype.
Todd C. Miller [Mon, 7 Nov 2016 01:41:31 +0000 (18:41 -0700)]
In display_bound_defaults() rename dtype arg -> deftype.

8 years agoUpdate error output to match quoting changes.
Todd C. Miller [Thu, 3 Nov 2016 17:16:09 +0000 (11:16 -0600)]
Update error output to match quoting changes.

8 years agoAvoid passing in a struct sudo_defs_types pointer to the store
Todd C. Miller [Thu, 3 Nov 2016 17:02:48 +0000 (11:02 -0600)]
Avoid passing in a struct sudo_defs_types pointer to the store
functions.  Pass in a pointer to the union to fill instead.

8 years agono longer need struct defaults forward referebce
Todd C. Miller [Thu, 3 Nov 2016 16:15:18 +0000 (10:15 -0600)]
no longer need struct defaults forward referebce

8 years agoUse "double quotes" in messages instead of a combination of the
Todd C. Miller [Wed, 2 Nov 2016 23:10:17 +0000 (17:10 -0600)]
Use "double quotes" in messages instead of a combination of the
accent (grave) mark and apostrophe.

8 years agoAdd file:linenumber prefix to all Defaults warnings so we can see
Todd C. Miller [Wed, 2 Nov 2016 23:07:32 +0000 (17:07 -0600)]
Add file:linenumber prefix to all Defaults warnings so we can see
them when running sudo too.  For LDAP/SSSD we print the sudoRole
instead of the file name and omit the line number.

8 years agoUse sudoedit in examples instead of "sudo vi"
Todd C. Miller [Wed, 2 Nov 2016 23:07:25 +0000 (17:07 -0600)]
Use sudoedit in examples instead of "sudo vi"

8 years agoOnly treat an unknown Defaults entry as a parse error in visudo,
Todd C. Miller [Tue, 1 Nov 2016 21:08:11 +0000 (15:08 -0600)]
Only treat an unknown Defaults entry as a parse error in visudo,
not in sudo itself.

8 years agoInstead of checking Defaults values after the fact, check them at
Todd C. Miller [Tue, 1 Nov 2016 20:22:32 +0000 (14:22 -0600)]
Instead of checking Defaults values after the fact, check them at
sudoers parse time.  This makes it possible to display the file and
line number with the problem and for visudo to go right to the
error.

8 years agoRefactor freeing of a member_list into free_members().
Todd C. Miller [Tue, 1 Nov 2016 20:15:07 +0000 (14:15 -0600)]
Refactor freeing of a member_list into free_members().

8 years agoadd_defaults() now calls sudoerserror() itself instead of the caller
Todd C. Miller [Tue, 1 Nov 2016 20:13:47 +0000 (14:13 -0600)]
add_defaults() now calls sudoerserror() itself instead of the caller
assuming any error means out of member.

8 years agos/rval/ret/g -- old habits die hard
Todd C. Miller [Tue, 1 Nov 2016 18:34:24 +0000 (12:34 -0600)]
s/rval/ret/g -- old habits die hard

8 years agoRemove inaccurate XXX comment, sudo_file_parse() sends mail on parse error.
Todd C. Miller [Mon, 31 Oct 2016 22:21:50 +0000 (16:21 -0600)]
Remove inaccurate XXX comment, sudo_file_parse() sends mail on parse error.

8 years agoThe fix for Bug #408 broke editing of files in an include dir that
Todd C. Miller [Mon, 31 Oct 2016 21:57:05 +0000 (15:57 -0600)]
The fix for Bug #408 broke editing of files in an include dir that
have a syntax error.  Normally, visudo does not edit those files,
but if a syntax error is detected in one, the user gets a chance
to fix it.

8 years agoMake a copy of the current sudoers path when assigning errorfile.
Todd C. Miller [Mon, 31 Oct 2016 21:21:18 +0000 (15:21 -0600)]
Make a copy of the current sudoers path when assigning errorfile.
Fixes a potential use after free in visudo when there is an error
in one of the include files.

8 years agosudoers_debug_register() was not setting the active debug instance
Todd C. Miller [Mon, 31 Oct 2016 19:36:35 +0000 (13:36 -0600)]
sudoers_debug_register() was not setting the active debug instance
to sudoers_debug_instance when called from the I/O log plugin.  This
is because it relied on sudo_debug_register to do that but
sudoers_debug_parse_flags() doesn't set debug_files[]
sudoers_debug_instance is already set (we can only init sudoers
debug once).

To work around this, just make sudoers_debug_instance the active
debug instance in sudoers_debug_register() when it is already set.

8 years agoFix pasto when setting I/O plugin debug files
Todd C. Miller [Mon, 31 Oct 2016 19:12:35 +0000 (13:12 -0600)]
Fix pasto when setting I/O plugin debug files

8 years agouse cp instead of *cur when comparing against plugin_path
Todd C. Miller [Mon, 31 Oct 2016 18:54:53 +0000 (12:54 -0600)]
use cp instead of *cur when comparing against plugin_path

8 years agoIn sudo_mkdir_parents() inherit the gid of / instead of using gid
Todd C. Miller [Sun, 30 Oct 2016 15:09:12 +0000 (09:09 -0600)]
In sudo_mkdir_parents() inherit the gid of / instead of using gid
0 for the first component.

8 years agoWe want to inherit the gid from the parent directory when not setting
Todd C. Miller [Sun, 30 Oct 2016 12:36:55 +0000 (06:36 -0600)]
We want to inherit the gid from the parent directory when not setting
permissions on intermerdiate directories.

8 years agoMove io_mkdir_parents() to its own file and use it in ts_mkdirs().
Todd C. Miller [Sat, 29 Oct 2016 18:45:57 +0000 (12:45 -0600)]
Move io_mkdir_parents() to its own file and use it in ts_mkdirs().

8 years agoMake the I/O log file/dir permissions and owner configurable.
Todd C. Miller [Sat, 29 Oct 2016 18:45:55 +0000 (12:45 -0600)]
Make the I/O log file/dir permissions and owner configurable.

8 years agoAdd vsyslog.lo
Todd C. Miller [Sat, 29 Oct 2016 18:22:40 +0000 (12:22 -0600)]
Add vsyslog.lo

8 years agosudo 1.8.19
Todd C. Miller [Sat, 29 Oct 2016 16:23:33 +0000 (10:23 -0600)]
sudo 1.8.19

8 years agoDon't try to syntax check an unrecognized Defaults value in visudo.
Todd C. Miller [Fri, 28 Oct 2016 14:24:51 +0000 (08:24 -0600)]
Don't try to syntax check an unrecognized Defaults value in visudo.

8 years agoCreate I/O log files with the same gid as the parent directory.
Todd C. Miller [Wed, 26 Oct 2016 20:18:58 +0000 (14:18 -0600)]
Create I/O log files with the same gid as the parent directory.

8 years agoCheck for sudo_ldap_result_last_search() returning NULL. This can't
Todd C. Miller [Wed, 26 Oct 2016 19:49:05 +0000 (13:49 -0600)]
Check for sudo_ldap_result_last_search() returning NULL.  This can't
happen in practice because we always call sudo_ldap_result_add_search()
first which guarantees there is a result to be found.
Quiets a PVS-Studio warning.

8 years agoQuiet a PVS-Studio warning about the spin loop when waiting for the
Todd C. Miller [Wed, 26 Oct 2016 19:49:04 +0000 (13:49 -0600)]
Quiet a PVS-Studio warning about the spin loop when waiting for the
parent to assign us the terminal pgrp.

8 years agoFix incorrect strncmp() lengths. The check for USERNAME was only
Todd C. Miller [Wed, 26 Oct 2016 17:25:59 +0000 (11:25 -0600)]
Fix incorrect strncmp() lengths.  The check for USERNAME was only
looking at the first 5 characters (copy and paste error).  The check
for SUDO_PS1 was not checking the trailing '=' character (off by
one error).  Found by PVS-Studio.

8 years agoWhen checking for old-style bash functions in the environment, check
Todd C. Miller [Wed, 26 Oct 2016 17:22:30 +0000 (11:22 -0600)]
When checking for old-style bash functions in the environment, check
for values starting with "() " (note the trailing space) rather
than "()".  Bash will only treat the value as a function if the
space after "()" is present.  The trailing space was already present
in the compare string but when it was added, the length passed to
strncmp() was not updated from 3 to 4.
Found by PVS-Studio.  No security impact.

8 years agoAdd some missing casts from uid_t/gid_t to int when printing uid/gid
Todd C. Miller [Wed, 26 Oct 2016 17:08:33 +0000 (11:08 -0600)]
Add some missing casts from uid_t/gid_t to int when printing uid/gid
values.  We print these as signed so a value of -1 (no change) is
obvious.  Quiets PVS-Studio warnings.

8 years agodef_timestamp_timeout is a double so compare against 0.0 not 0 to
Todd C. Miller [Wed, 26 Oct 2016 16:56:32 +0000 (10:56 -0600)]
def_timestamp_timeout is a double so compare against 0.0 not 0 to
avoid making it appear to be an integer type.

8 years agoWhen checking syslog facility or priority, move the string
Todd C. Miller [Wed, 26 Oct 2016 16:46:03 +0000 (10:46 -0600)]
When checking syslog facility or priority, move the string
compare into the body of the loop and return if it matches.
If we finish the loop it means we didn't find a match.
This makes the code a little bit more readable.

8 years agoReplace bare ";" in the body of for() loops with "continue;" for
Todd C. Miller [Wed, 26 Oct 2016 16:42:28 +0000 (10:42 -0600)]
Replace bare ";" in the body of for() loops with "continue;" for
improved readability.

8 years agoUpdate from http://git.savannah.gnu.org/gitweb/?p=config.git
Todd C. Miller [Fri, 21 Oct 2016 16:06:14 +0000 (10:06 -0600)]
Update from http://git.savannah.gnu.org/gitweb/?p=config.git

8 years agoUpdate to libtool 2.4.6
Todd C. Miller [Fri, 21 Oct 2016 16:03:02 +0000 (10:03 -0600)]
Update to libtool 2.4.6

8 years agoUse a static buffer if possible.
Todd C. Miller [Wed, 19 Oct 2016 18:56:34 +0000 (12:56 -0600)]
Use a static buffer if possible.

8 years agoadd vsyslog() for systems without it.
Todd C. Miller [Wed, 19 Oct 2016 17:32:36 +0000 (11:32 -0600)]
add vsyslog() for systems without it.

8 years agoThere are now 14 tag values, not 10. Don't bother mentioning the
Todd C. Miller [Wed, 19 Oct 2016 13:33:07 +0000 (07:33 -0600)]
There are now 14 tag values, not 10.  Don't bother mentioning the
number since it keeps increasing.  Bug #759

8 years agoUse vsyslog() if available.
Todd C. Miller [Tue, 18 Oct 2016 23:00:53 +0000 (17:00 -0600)]
Use vsyslog() if available.

8 years agoAdd syslog_maxlen to control the max size of syslog messages.
Todd C. Miller [Tue, 18 Oct 2016 21:51:47 +0000 (15:51 -0600)]
Add syslog_maxlen to control the max size of syslog messages.

8 years agoDon't generate SIGTOU when restoring the terminal modes. It doen't
Todd C. Miller [Mon, 17 Oct 2016 15:02:34 +0000 (09:02 -0600)]
Don't generate SIGTOU when restoring the terminal modes.  It doen't
make sense to suspend the process only to restore the terminal
settings since in this case the shell has already taken ownership
of the tty.

8 years agoThe flush parameter of sudo_term_restore() is bool, not int.
Todd C. Miller [Mon, 17 Oct 2016 14:57:17 +0000 (08:57 -0600)]
The flush parameter of sudo_term_restore() is bool, not int.

8 years agoAdd wordexp() to the list of functions wrapped by sudo_noexec.so.
Todd C. Miller [Fri, 14 Oct 2016 16:33:55 +0000 (10:33 -0600)]
Add wordexp() to the list of functions wrapped by sudo_noexec.so.

8 years agoNeed RTLD_NEXT for wordexp() on dlopen() systems. It is missing on AIX 5.1 at least.
Todd C. Miller [Mon, 10 Oct 2016 14:38:50 +0000 (08:38 -0600)]
Need RTLD_NEXT for wordexp() on dlopen() systems.  It is missing on AIX 5.1 at least.

8 years agoadd missing guard around wordexp()
Todd C. Miller [Mon, 10 Oct 2016 14:33:57 +0000 (08:33 -0600)]
add missing guard around wordexp()

8 years agoexpand on 1.8.18p1 changes
Todd C. Miller [Mon, 10 Oct 2016 14:24:47 +0000 (08:24 -0600)]
expand on 1.8.18p1 changes

8 years agosudo 1.8.18p1
Todd C. Miller [Mon, 10 Oct 2016 01:58:54 +0000 (19:58 -0600)]
sudo 1.8.18p1

8 years agoFix configure check for seccomp filter on Linux
Todd C. Miller [Sun, 9 Oct 2016 17:24:29 +0000 (11:24 -0600)]
Fix configure check for seccomp filter on Linux

8 years agoUse a seccomp filter on Linux to disable execve(2) and execveat(2).
Todd C. Miller [Sun, 9 Oct 2016 01:09:17 +0000 (19:09 -0600)]
Use a seccomp filter on Linux to disable execve(2) and execveat(2).
This still relies on LD_PRELOAD to work so it has the same issues
as the existing mether with respect to running 32-bit binaries on
a 64-bit kernel.

8 years agoregen
Todd C. Miller [Sun, 9 Oct 2016 01:02:15 +0000 (19:02 -0600)]
regen

8 years agoregen
Todd C. Miller [Sat, 8 Oct 2016 16:36:02 +0000 (10:36 -0600)]
regen

8 years agoWrap wordexp(3) in sudo_noexec.
Todd C. Miller [Thu, 6 Oct 2016 02:21:18 +0000 (20:21 -0600)]
Wrap wordexp(3) in sudo_noexec.

8 years agoClean .json files created by "make check"
Todd C. Miller [Mon, 26 Sep 2016 19:38:51 +0000 (13:38 -0600)]
Clean .json files created by "make check"

8 years agorecompile .po files
Todd C. Miller [Mon, 19 Sep 2016 22:40:26 +0000 (16:40 -0600)]
recompile .po files

8 years agoFix matching when no sudoRunAsUser is present in a sudoRole.
Todd C. Miller [Mon, 19 Sep 2016 12:19:49 +0000 (06:19 -0600)]
Fix matching when no sudoRunAsUser is present in a sudoRole.
If only a sudoRunAsGroup is present, match on the invoking user
if the -g option was specified and the group matched.
If no sudoRunAsGroup is present and the -g option was specified,
allow it if it matches the passwd gid of the runas user.
This matches the behavior of the sudoers backend.

8 years agorunas_pw can no longer be NULL
Todd C. Miller [Mon, 19 Sep 2016 12:08:00 +0000 (06:08 -0600)]
runas_pw can no longer be NULL

8 years agoRunAsGroup without RunAsUser issues
Todd C. Miller [Thu, 15 Sep 2016 21:24:00 +0000 (15:24 -0600)]
RunAsGroup without RunAsUser issues

8 years agouser_matched and group_matched must be type int, not bool
Todd C. Miller [Thu, 15 Sep 2016 21:22:06 +0000 (15:22 -0600)]
user_matched and group_matched must be type int, not bool

8 years agoUse RUNAS_USER_SPECIFIED and RUNAS_GROUP_SPECIFIED when deciding
Todd C. Miller [Thu, 15 Sep 2016 19:47:38 +0000 (13:47 -0600)]
Use RUNAS_USER_SPECIFIED and RUNAS_GROUP_SPECIFIED when deciding
whether to check runas user/group instead of checking runas_pw or
runas_gr.

8 years agoWhen matching against runas_default use userpw_matches() instead
Todd C. Miller [Thu, 15 Sep 2016 19:36:43 +0000 (13:36 -0600)]
When matching against runas_default use userpw_matches() instead
of just strcasecmp().

8 years agoSet RUNAS_USER_SPECIFIED when -u is specified and/or RUNAS_GROUP_SPECIFIED
Todd C. Miller [Thu, 15 Sep 2016 19:16:38 +0000 (13:16 -0600)]
Set RUNAS_USER_SPECIFIED when -u is specified and/or RUNAS_GROUP_SPECIFIED
when -g is specified.

8 years agoFix printing of the default runas user when a RunAsGroup is specified
Todd C. Miller [Thu, 15 Sep 2016 17:29:27 +0000 (11:29 -0600)]
Fix printing of the default runas user when a RunAsGroup is specified
but no RunAsUser is present.

8 years agoOnly match against runas_default if both sudoRunAsUser and
Todd C. Miller [Thu, 15 Sep 2016 16:46:57 +0000 (10:46 -0600)]
Only match against runas_default if both sudoRunAsUser and
sudoRunAsGroup are missing.

8 years agorunas_pw can no longer be NULL here
Todd C. Miller [Thu, 15 Sep 2016 15:40:41 +0000 (09:40 -0600)]
runas_pw can no longer be NULL here

8 years agoUpdate check for whether or not the runas user was set in the ldap
Todd C. Miller [Thu, 15 Sep 2016 15:37:53 +0000 (09:37 -0600)]
Update check for whether or not the runas user was set in the ldap
and sssd backends to match the sudoers file backend.  Introduces
the runas_user_set() macro to improve readability.  Previously,
runas_pw was set late, now it is set before checking sudoers.

8 years agoDocument that negated sudoHosts are only supported by 1.8.18 and higher.
Todd C. Miller [Thu, 15 Sep 2016 14:36:08 +0000 (08:36 -0600)]
Document that negated sudoHosts are only supported by 1.8.18 and higher.

8 years agoDisable Address Sanitizer leak detection for tests which generate
Todd C. Miller [Thu, 15 Sep 2016 14:33:01 +0000 (08:33 -0600)]
Disable Address Sanitizer leak detection for tests which generate
parse errors.  The parser leaks a bit on error.

8 years agoFix underflow in get_ipa_hostname() when trimming trailing
Todd C. Miller [Thu, 15 Sep 2016 11:54:53 +0000 (05:54 -0600)]
Fix underflow in get_ipa_hostname() when trimming trailing
whitespace.

8 years agoDocument negated sudoHost entries.
Todd C. Miller [Wed, 14 Sep 2016 16:33:38 +0000 (10:33 -0600)]
Document negated sudoHost entries.

8 years agoSupport negated sudoHost entries.
Todd C. Miller [Wed, 14 Sep 2016 16:33:27 +0000 (10:33 -0600)]
Support negated sudoHost entries.

8 years agoDocument negated sudoHost entries.
Todd C. Miller [Wed, 14 Sep 2016 16:29:18 +0000 (10:29 -0600)]
Document negated sudoHost entries.

8 years agoSupport negated sudoHost entries.
Todd C. Miller [Wed, 14 Sep 2016 16:22:52 +0000 (10:22 -0600)]
Support negated sudoHost entries.

8 years agoDon't check the username when matching a host netgroup unless
Todd C. Miller [Tue, 13 Sep 2016 15:12:42 +0000 (09:12 -0600)]
Don't check the username when matching a host netgroup unless
def_netgroup_tuple is enabled.

8 years agoMove valid domain name check into a new valid_domain() function.
Todd C. Miller [Tue, 13 Sep 2016 15:06:25 +0000 (09:06 -0600)]
Move valid domain name check into a new valid_domain() function.
Fix memory leak if getdomainname(2) fails and avoid using heap
garbage for the domain name matching in this case.

8 years agosync with translationproject.org
Todd C. Miller [Mon, 12 Sep 2016 20:59:22 +0000 (14:59 -0600)]
sync with translationproject.org

8 years agoAdd back line mistakenly removed in 0cf2a9351740
Todd C. Miller [Sun, 11 Sep 2016 20:37:42 +0000 (14:37 -0600)]
Add back line mistakenly removed in 0cf2a9351740

8 years agosync with translationproject.org
Todd C. Miller [Sun, 11 Sep 2016 13:50:12 +0000 (07:50 -0600)]
sync with translationproject.org

8 years agoBug #757
Todd C. Miller [Fri, 9 Sep 2016 22:29:37 +0000 (16:29 -0600)]
Bug #757

8 years agoFix typo that broke short host name matching when the fqdn
Todd C. Miller [Fri, 9 Sep 2016 22:26:22 +0000 (16:26 -0600)]
Fix typo that broke short host name matching when the fqdn
flag is enabled.  Bug #757

8 years agoBe consistent with the naming of the variable used to store the
Todd C. Miller [Thu, 8 Sep 2016 22:38:08 +0000 (16:38 -0600)]
Be consistent with the naming of the variable used to store the
function return value.  Previously, some code used "rval", some
used "ret".  This standardizes on "ret" and uses "rc" for temporary
return codes.

8 years agosync with translationproject.org
Todd C. Miller [Wed, 7 Sep 2016 17:08:12 +0000 (11:08 -0600)]
sync with translationproject.org

8 years agoNorwegian Nynorsk translation of sudo from translationproject.org
Todd C. Miller [Wed, 7 Sep 2016 17:07:59 +0000 (11:07 -0600)]
Norwegian Nynorsk translation of sudo from translationproject.org