Use secure_getenv when available
authorRan Benita <ran234@gmail.com>
Tue, 4 Feb 2014 00:53:05 +0000 (02:53 +0200)
committerRan Benita <ran234@gmail.com>
Tue, 4 Feb 2014 00:53:05 +0000 (02:53 +0200)
commit109fe7059c6d520ac70c744b319a795af7ba112c
treea462bab97bb52d99578ae1f16fbcd12e70d0d6e3
parentbdd8c113a518b23328933f111ba6aa4a2b62afa5
Use secure_getenv when available

We probably don't want to get a privileged process to compile arbitrary
keymaps. So we should be careful about the envvars which control include
paths or default RMLVOs. But then secure_getenv is more sensible for
everything we do.

Signed-off-by: Ran Benita <ran234@gmail.com>
configure.ac
src/context-priv.c
src/context.c
src/utils.h