#!/bin/bash
+# SPDX-License-Identifier: LGPL-2.1-only
set -ex
+/* SPDX-License-Identifier: LGPL-2.1-only */
#ifndef _LIBCGROUP_CONFIG_H
#define _LIBCGROUP_CONFIG_H
+/* SPDX-License-Identifier: LGPL-2.1-only */
#ifndef _LIBCGROUP_ERROR_H
#define _LIBCGROUP_ERROR_H
+/* SPDX-License-Identifier: LGPL-2.1-only */
#ifndef _LIBCGROUP_GROUPS_H
#define _LIBCGROUP_GROUPS_H
+/* SPDX-License-Identifier: LGPL-2.1-only */
#ifndef _LIBCGROUP_ITERATORS_H
#define _LIBCGROUP_ITERATORS_H
+/* SPDX-License-Identifier: LGPL-2.1-only */
#ifndef _LIBCGROUP_LOG_H
#define _LIBCGROUP_LOG_H
+/* SPDX-License-Identifier: LGPL-2.1-only */
#ifndef _LIBCGROUP_TASKS_H
#define _LIBCGROUP_TASKS_H
+// SPDX-License-Identifier: LGPL-2.1-only
#include <libcgroup.h>
#include <stdio.h>
#include <stdlib.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <libcgroup.h>
#include <stdio.h>
#include <stdlib.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <libcgroup.h>
#include <stdio.h>
#include <stdlib.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <stdio.h>
#include <libcgroup.h>
#include <stdlib.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <libcgroup.h>
#include <stdio.h>
#include <stdlib.h>
+// SPDX-License-Identifier: LGPL-2.1-only
/*
* Copyright Red Hat Inc., 2012
*
* Author: Jan Safranek <jsafrane@redhat.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
* Description: This file contains the test code for libcgroup logging.
*/
+// SPDX-License-Identifier: LGPL-2.1-only
/*
* Copyright NEC Soft Ltd. 2009
*
* Author: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#include <stdio.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
+// SPDX-License-Identifier: LGPL-2.1-only
/*
* Copyright Red Hat Inc. 2008
*
* Author: Steve Olivieri <sjo@redhat.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
*/
#include <stdio.h>
+// SPDX-License-Identifier: LGPL-2.1-only
/*
* Copyright IBM Corporation. 2008
*
* Author: Sudhir Kumar <skumar@linux.vnet.ibm.com>
*
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2.1 of the GNU Lesser General Public License
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- *
* Description: This file contains the functions for testing libcgroup apis.
*/
+// SPDX-License-Identifier: LGPL-2.1-only
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <stdio.h>
#include <libcgroup.h>
#include <stdlib.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <libcgroup.h>
#include <stdio.h>
#include <string.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <libcgroup.h>
#include <libcgroup-internal.h>
+// SPDX-License-Identifier: LGPL-2.1-only
#include <libcgroup.h>
#include <libcgroup-internal.h>