[krbdev.mit.edu #8800] git commit

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[krbdev.mit.edu #8800] git commit

Greg Hudson via RT-2

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 <[hidden email]>
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(-)

_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs