commit | 1ad3174af5213fa7029944cc19723cda08f221d3 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Jun 16 14:34:59 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jun 16 14:34:59 2013 -0400 |
tree | f976fa448d0841d5b79da49f6260f974a1a37924 | |
parent | dc9cc7006a61d0ef82ee4e1dee133998c6040765 [diff] |
Try to use secure_getenv() in preference to __secure_getenv() If secure_getenv() use it in preference to __secure_getenv(). Starting with (e)glibc version 2.17, secure_getenv() exists, while __secure_getenv() only works with shared library links (where it is a weak symbol), but not for static links with /lib/libc.a Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>