X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fgetenv.c;h=55e6ad7cc5a069130ffb2172890752ef3e0d22c6;hb=9ff107a9504abe331c714a0301f0f4726f01cf41;hp=bc7a4d4ac98ce2f7ccc434e94727d0778ce7338a;hpb=2722f20cbda88b5f6250213a7be8412c19a11e8a;p=lttng-ust.git diff --git a/src/common/getenv.c b/src/common/getenv.c index bc7a4d4a..55e6ad7c 100644 --- a/src/common/getenv.c +++ b/src/common/getenv.c @@ -32,11 +32,12 @@ static int lttng_ust_getenv_is_init = 0; static struct lttng_env lttng_env[] = { /* - * LTTNG_UST_DEBUG is used directly by snprintf, because it - * needs to be already set for ERR() used in - * lttng_ust_getenv_init(). + * LTTNG_UST_DEBUG and LTTNG_UST_ABORT_ON_CRITICAL are used directly by + * the internal logging, because they need to be already set for ERR() + * used in lttng_ust_getenv_init(). */ { "LTTNG_UST_DEBUG", LTTNG_ENV_NOT_SECURE, NULL, }, + { "LTTNG_UST_ABORT_ON_CRITICAL", LTTNG_ENV_NOT_SECURE, NULL, }, /* Env. var. which can be used in setuid/setgid executables. */ { "LTTNG_UST_WITHOUT_BADDR_STATEDUMP", LTTNG_ENV_NOT_SECURE, NULL, },