On Thu, Mar 26, 2015 at 11:04:30AM -0500, Tyler Hicks wrote: > Allow libapparmor to build on older systems where secure_getenv() is > still named __secure_getenv(). This snippet was taken from the glibc > wiki: > > https://sourceware.org/glibc/wiki/Tips_and_Tricks/secure_getenv > > Signed-off-by: Tyler Hicks <[email protected]>
Acked-by: Steve Beattie <[email protected]> as-is, though it perhaps might make sense to hide this in an aa_secure_getenv() function, to keep the ifdef rats nest contained to a single source. > We need to start using a configuration header file (config.h) for things like > this, the recent asprintf() redefine, etc. > > > https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Configuration-Headers.html Agreed. I'll take a look at some point. -- Steve Beattie <[email protected]> http://NxNW.org/~steve/
signature.asc
Description: Digital signature
-- AppArmor mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
