[sudo-commits] sudo changeset 11826:7c0a835ac512

Todd C. Miller Todd.Miller at sudo.ws
Fri Oct 18 06:22:22 MDT 2019


changeset:	11826:7c0a835ac512 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/7c0a835ac512
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Oct 18 06:20:27 2019 -0600

Log Message:
	Change how the umask is handled with PAM and login.conf.
	If the umask is explicitly set in sudoers, use that value regardless
	of what is in PAM or login.conf.  If using the default umask from
	sudoers, allow PAM or login.conf to override it.  Bug #900

diffstat:

 doc/sudo_plugin.man.in    |  18 +++++++++++++++++-
 doc/sudo_plugin.mdoc.in   |  16 +++++++++++++++-
 doc/sudoers.man.in        |  28 ++++++++++++++++++++--------
 doc/sudoers.mdoc.in       |  28 ++++++++++++++++++++--------
 include/sudo_plugin.h     |   2 +-
 plugins/sudoers/policy.c  |   4 ++++
 plugins/sudoers/sudoers.c |  21 ++++++++++++++++++++-
 plugins/sudoers/sudoers.h |   1 +
 src/exec.c                |  16 +++++++++-------
 src/sudo.c                |   7 +++++++
 src/sudo.h                |  41 +++++++++++++++++++++--------------------
 11 files changed, 135 insertions(+), 47 deletions(-)


More information about the sudo-commits mailing list