X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Fgetenv.c;h=169c3bdf337eaab07d5dbfcefe22b24441e4f844;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=b4dc73a004e872ed928eb528381fe72b1dc6777b;hpb=6f626d284c2bb02ae8980da6e8053e191d604286;p=lttng-ust.git diff --git a/liblttng-ust/getenv.c b/liblttng-ust/getenv.c index b4dc73a0..169c3bdf 100644 --- a/liblttng-ust/getenv.c +++ b/liblttng-ust/getenv.c @@ -1,24 +1,13 @@ /* - * Copyright (C) 2017 - Mathieu Desnoyers + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Copyright (C) 2017 Mathieu Desnoyers */ #include #include #include +#include #include #include #include @@ -50,7 +39,7 @@ static struct lttng_env lttng_env[] = { /* Env. var. which are not fetched in setuid/setgid executables. */ { "LTTNG_UST_CLOCK_PLUGIN", LTTNG_ENV_SECURE, NULL, }, { "LTTNG_UST_GETCPU_PLUGIN", LTTNG_ENV_SECURE, NULL, }, - { "LTTNG_UST_BLOCKING_RETRY_TIMEOUT", LTTNG_ENV_SECURE, NULL, }, + { "LTTNG_UST_ALLOW_BLOCKING", LTTNG_ENV_SECURE, NULL, }, { "HOME", LTTNG_ENV_SECURE, NULL, }, { "LTTNG_HOME", LTTNG_ENV_SECURE, NULL, }, };