hardening: Use __secure_getenv if available
authorColin Walters <walters@verbum.org>
Fri, 28 Sep 2012 01:29:29 +0000 (21:29 -0400)
committerColin Walters <walters@verbum.org>
Fri, 28 Sep 2012 16:55:38 +0000 (12:55 -0400)
commit1a556443757b19fee67ef4441141246dd9cfed4f
treeaf90dceb70598adb855c2dbf693f9e711b9ccccc
parenta52319bc294d05445fd8aa8f4a7f759c34558b5d
hardening: Use __secure_getenv if available

This helps us in the case where we were executed via filesystem
capabilities or a SELinux domain transition, not necessarily a plain
old setuid binary.

https://bugs.freedesktop.org/show_bug.cgi?id=52202
configure.ac
dbus/dbus-sysdeps.c