X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Frunas.c;h=471bb22046c3d3bf9f44dbf24c176f089a3e3c2e;hb=c133fac808b63d525d34fcbc7c6ff98aac650e1d;hp=c146f652dfa324ef86c19ca2362c8f7c04ffe25c;hpb=6c1c0768320135c6936c371b09731851b508c023;p=lttng-tools.git diff --git a/src/common/runas.c b/src/common/runas.c index c146f652d..471bb2204 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -35,6 +35,7 @@ #include #include #include +#include #include "runas.h" @@ -88,7 +89,7 @@ int use_clone(void) static int use_clone(void) { - return !getenv("LTTNG_DEBUG_NOCLONE"); + return !lttng_secure_getenv("LTTNG_DEBUG_NOCLONE"); } #endif