Add support for LTTNG_UST_HOME
[lttng-ust.git] / src / common / getenv.c
index bc7a4d4ac98ce2f7ccc434e94727d0778ce7338a..1b5717c778014c8cff3b3226f64ed73366d9040a 100644 (file)
@@ -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, },
@@ -48,6 +49,7 @@ static struct lttng_env lttng_env[] = {
        { "LTTNG_UST_ALLOW_BLOCKING", LTTNG_ENV_SECURE, NULL, },
        { "HOME", LTTNG_ENV_SECURE, NULL, },
        { "LTTNG_HOME", LTTNG_ENV_SECURE, NULL, },
+       { "LTTNG_UST_HOME", LTTNG_ENV_SECURE, NULL, },
 };
 
 static
This page took 0.024047 seconds and 4 git commands to generate.