[krbdev.mit.edu #8800] git commit

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue Apr 30 18:09:15 EDT 2019


Add secure_getenv() support

On systems with secure_getenv() (glibc 2.17+) use it directly.  For
the fallback implementation, check the current process uids and gids
in a library initializer, looking at the saved uid and gid where
possible.  Include a comment about more aggressive approaches to
detecting elevated privilege.

https://github.com/krb5/krb5/commit/ff71934f40afd4ae536638fa626fcd9ab36daf75
Author: Greg Hudson <ghudson at mit.edu>
Commit: ff71934f40afd4ae536638fa626fcd9ab36daf75
Branch: master
 src/configure.ac                 |   16 +++++-
 src/include/k5-platform.h        |    9 +++
 src/util/support/Makefile.in     |   16 ++++--
 src/util/support/secure_getenv.c |  111 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 146 insertions(+), 6 deletions(-)



More information about the krb5-bugs mailing list