X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Frunas.c;h=471bb22046c3d3bf9f44dbf24c176f089a3e3c2e;hp=c146f652dfa324ef86c19ca2362c8f7c04ffe25c;hb=e8fa9fb0539ec3d734f6d0ab91220b4538b2ea30;hpb=d07ceecd2f35ccf383c7529a18dcc9b9c4b8cb17 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