X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-vsgid.c;h=0778d8751ce841b3ad0fae4fca3cf2da8b3bab65;hb=ddabe860f4cf41a4206a8157d83e6b9354f85cb5;hp=45fd28603aa9060a0f44ecbc0194fdb9a6c57381;hpb=218deb69baab57ee2f6728eef18e84697f21197b;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-vsgid.c b/liblttng-ust/lttng-context-vsgid.c index 45fd2860..0778d875 100644 --- a/liblttng-ust/lttng-context-vsgid.c +++ b/liblttng-ust/lttng-context-vsgid.c @@ -1,27 +1,12 @@ /* - * lttng-context-vsgid.c - * - * LTTng UST namespaced saved set-group ID context. + * SPDX-License-Identifier: LGPL-2.1-only * * Copyright (C) 2009-2012 Mathieu Desnoyers - * 2019 Michael Jeanson - * - * 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. + * Copyright (C) 2019 Michael Jeanson * - * 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 + * LTTng UST namespaced saved set-group ID context. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -30,6 +15,8 @@ #include #include #include + +#include "context-internal.h" #include "creds.h"