]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
src/tests: Add SPDX headers
authorStéphane Graber <stgraber@stgraber.org>
Tue, 2 Apr 2024 22:24:10 +0000 (18:24 -0400)
committerStéphane Graber <stgraber@stgraber.org>
Tue, 2 Apr 2024 22:24:50 +0000 (18:24 -0400)
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
60 files changed:
src/tests/aa.c
src/tests/api_reboot.c
src/tests/arch_parse.c
src/tests/attach.c
src/tests/basic.c
src/tests/capabilities.c
src/tests/cgpath.c
src/tests/clonetest.c
src/tests/concurrent.c
src/tests/config_jump_table.c
src/tests/console.c
src/tests/console_log.c
src/tests/containertests.c
src/tests/createtest.c
src/tests/criu_check_feature.c
src/tests/cve-2019-5736.c
src/tests/destroytest.c
src/tests/device_add_remove.c
src/tests/fuzz-lxc-cgroup-init.c
src/tests/fuzz-lxc-config-read.c
src/tests/fuzz-lxc-define-load.c
src/tests/get_item.c
src/tests/getkeys.c
src/tests/list.c
src/tests/locktests.c
src/tests/lxc-test-apparmor-generated
src/tests/lxc-test-apparmor-mount
src/tests/lxc-test-automount
src/tests/lxc-test-autostart
src/tests/lxc-test-checkpoint-restore
src/tests/lxc-test-cloneconfig
src/tests/lxc-test-createconfig
src/tests/lxc-test-exit-code
src/tests/lxc-test-lxc-attach
src/tests/lxc-test-no-new-privs
src/tests/lxc-test-procsys
src/tests/lxc-test-rootfs
src/tests/lxc-test-snapdeps
src/tests/lxc-test-symlink
src/tests/lxc-test-unpriv
src/tests/lxc-test-usernic.in
src/tests/lxc-test-usernsexec
src/tests/lxc-test-utils.c
src/tests/lxc_raw_clone.c
src/tests/lxcpath.c
src/tests/lxctest.h
src/tests/may_control.c
src/tests/mount_injection.c
src/tests/oss-fuzz.sh
src/tests/parse_config_file.c
src/tests/reboot.c
src/tests/rootfs_options.c
src/tests/saveconfig.c
src/tests/share_ns.c
src/tests/shortlived.c
src/tests/shutdowntest.c
src/tests/snapshot.c
src/tests/startone.c
src/tests/state_server.c
src/tests/sys_mixed.c

index 417f3fc23bf3a3e468c2b4ecbccdc9c44e42b22c..5002beeafe6442f81dc05aa83b6b66f417a1279d 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2014 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2014 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 2ab6872add0baca9208cbcc997a4e2abd052df9c..31533b02556c259f4eb52daf7bcbd1a5de3881b9 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index f8b4d8a0a157f18d84b12e1774918d2ed6c00522..33b05858d4f2a9ba05d579f8f70c25732298b6bc 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2021 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index b695df35b977da9624c466179d7ae716f7e12b69..72be1ef25137b94df6f0f1c5c2294a699eb0e631 100644 (file)
@@ -1,22 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2013 Oracle.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * Authors:
- * Dwight Engen <dwight.engen@oracle.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index a691ca751d2df8c4ba8b56eab9b3b45bf57ccf3f..08a2d4afdf223831b2a14f0840298cefd1dca525 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2018 Christian Brauner <christian.brauner@ubuntu.com>.
- * Copyright © 2018 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 57049423ae537d40b79be255fd32fc8244cf0c1b..0c1f072633442855dc810b0dfdb01ca304b2e3f0 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2021 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index aff10b46db6b53a5326691783ff74f29149f67b5..1b19982331def9d9cce2589f753456f873cfb186 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 00e81fe1acf34411b14fee0c30e015643aa2ed60..74130025973d4ac54668c6fbea81d2c47ee11b51 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 83ef393f48afe7eb282d34e377bba2a344db6ca4..fc9a579a01db2612feac6338e6d757844a331e85 100644 (file)
@@ -1,19 +1,7 @@
 /* concurrent.c
  *
- * Copyright © 2013 S.Çağlar Onur <caglar@10ur.org>
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index cc975a625d2b4fddb779346e2348895351723596..261c4cf1a71e022bb5f5373f495ee072a55c1482 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Christian Brauner <christian.brauner@ubuntu.com>.
- * Copyright © 2017 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index f34c96bf544c3e715cf68eafb831f90e7cc3c375..37ed65f407eb0a8ff44c67134204db7e80c5ea9a 100644 (file)
@@ -1,22 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2013 Oracle.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * Authors:
- * Dwight Engen <dwight.engen@oracle.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index a20b909871bede9353f4b10b5005ae31d88998fa..711a594353a69f4a427a5ae83d37078588ddbbe3 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 6da622f77d04bcbf7854fb91c02f55a3cda05ca3..3c6b906b898e23851cb16cb0192bb9dc00663428 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 5719d55a661e57a17adf2af4c041c233869a7ebb..07f023afa6d624c9c1546c53cf03fe64b64c8ac3 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index c1b19c35bd71700f4a52a720591037ccf1774fce..282cb0fd6cf245852a0052fd59f731d87adfc661 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Adrian Reber <areber@redhat.com>
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index c0cb4bc412a303b8959929da3e2726b422cf5912..2025f9e472a41991409918856a52ae0daa02496a 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2019 Christian Brauner <christian.brauner@ubuntu.com>.
- * Copyright © 2019 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 591a52b3b0850aeac5d352986a5b33029b22c8b5..125ccec45067a73856e99945a6116792fcaf61f6 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index da6f536549da2a9b9c7e45d8a46b1ef662fec12c..8151796a582bb2da9ef99e4def974d23eedd3cd5 100644 (file)
@@ -1,19 +1,7 @@
 /* DEVICE_add_remove.c
  *
- * Copyright © 2014 S.Çağlar Onur <caglar@10ur.org>
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index ab3087ef5a8955a06c818b6bd3aa38267194ebec..526da7f0079a411cd7727868eeb7db7861e855df 100644 (file)
@@ -1,4 +1,6 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/*
+ * SPDX-License-Identifier: LGPL-2.1+
+ */
 
 #include "config.h"
 
index 41c5d533e2249b351a028be6d34290b6240d7d8e..99375ee7fcd1089a37ac51057c947da8bb00272b 100644 (file)
@@ -1,4 +1,6 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/*
+ * SPDX-License-Identifier: LGPL-2.1+
+ */
 
 #include "config.h"
 
index 5a39fc9491eef14ab9afaeac03103d5190d264fd..fb39ef98aabf609c4d201dfb3775532fcb7f3495 100644 (file)
@@ -1,4 +1,6 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/*
+ * SPDX-License-Identifier: LGPL-2.1+
+ */
 
 #include "config.h"
 
index a3ac188f539d04e1046926daea2303d19dac365f..9e74f8a235ecec8dc519eabb21ee135aee862b8e 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index f718fe99edb2f3d01ac60bede5e292dfdee58e36..2433c1780b1da54d84cf19e57a473529dd31fc15 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 7ba2cb002e5354955819998082285bf90213f92c..85907e5e54c73d5133d41e8dcd40a152e52032e6 100644 (file)
@@ -1,20 +1,7 @@
 /* list.c
  *
- * Copyright © 2013 Canonical, Inc
- * Author: Serge Hallyn <serge.hallyn@ubuntu.com>
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index f7eb3ad5c765ccbb91f1c34dfa78d74c1c277e2e..92d4f1d18175bb2ec8e8672d61cbbf52ef96dffb 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 15b6a1128574887b6eda3f198e6cd1e80e9502d8..854cedba8973e5881c24def758cef541aba984dc 100755 (executable)
@@ -1,23 +1,11 @@
 #!/bin/sh
 
+# SPDX-License-Identifier: LGPL-2.1+
+
 # lxc: linux Container library
 
 # This is a test script for generated apparmor profiles
 
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
 if ! command -v apparmor_parser >/dev/null 2>&1; then
        echo 'SKIP: test for generated apparmor profiles: apparmor_parser missing'
 fi
index ddf783d4bc9bfef42b5573d5e3512933adc844c4..b8bedf07b981c561c59f0926cae50a37fa9e299d 100755 (executable)
@@ -1,26 +1,12 @@
 #!/bin/sh
 
+# SPDX-License-Identifier: LGPL-2.1+
+
 # apparmor_mount: test proper handling of apparmor in kernels
 # without mount features
 
 # These require the ubuntu lxc package to be installed.
 
-# This program 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
-# This test assumes an Ubuntu host
-
 set -e
 
 # Only run on a normally configured ubuntu lxc system
index 6434ffe43ec90b89a211d7c201901de08caa5176..ee3eb7f123ddc9d34c79ac2455b00cb9d61051c0 100755 (executable)
@@ -1,23 +1,8 @@
 #!/bin/bash
 
-# lxc: linux Container library
-
-# Authors:
-# Serge Hallyn <serge.hallyn@ubuntu.com>
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
+# SPDX-License-Identifier: LGPL-2.1+
 
-# 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
+# lxc: linux Container library
 
 # At the moment this only tests cgroup automount.  Testing proc and
 # sys automounts would be worthwhile.
index cf0c5c720602c5031218e46baa3f1840ea028f8e..6bb0cdaaa99e078605970f099776bbef4a26f895 100755 (executable)
@@ -1,25 +1,8 @@
 #!/bin/sh
 
-# lxc: linux Container library
-
-# Authors:
-# Stéphane Graber <stgraber@ubuntu.com>
-#
-# This is a test script for lxc-autostart
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
+# SPDX-License-Identifier: LGPL-2.1+
 
-# 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
+# lxc: linux Container library
 
 DONE=0
 cleanup() {
index 9498c126e834a8e6a72a390ded27a4894f63cbff..21f9b7c652ff536595b3bd77d57071abf2131403 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+# SPDX-License-Identifier: LGPL-2.1+
+
 # Do an end to end checkpoint and restore with criu.
 
 set -e
index 29a02b8442d3b3850cafccadbdea13c79f905bff..97275ccb052c83b8c5fffaa08abd23d95a194e8b 100755 (executable)
@@ -1,25 +1,8 @@
 #!/bin/bash
 
-# lxc: linux Container library
-
-# Authors:
-# Serge Hallyn <serge.hallyn@ubuntu.com>
-#
-# This is a test script for the lxc-user-nic program
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
+# SPDX-License-Identifier: LGPL-2.1+
 
-# 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
+# lxc: linux Container library
 
 set -e
 
index 9bbdced0e040a74d512495b2c1c58dce77845a4e..dc40c10ad87aa979a7f4991ee79261cab4ce29bb 100755 (executable)
@@ -1,26 +1,11 @@
 #!/bin/bash
 
-# lxc: linux Container library
+# SPDX-License-Identifier: LGPL-2.1+
 
-# Authors:
-# Serge Hallyn <serge.hallyn@ubuntu.com>
+# lxc: linux Container library
 #
 # This is a test script for the lxc-user-nic program
 
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
 set -e
 
 s=$(mktemp -d /tmp/lxctest-XXXXXX)
index b74ab082da64a9f07e1a1470864d272b9ba2e98c..9d61b2fc0542662c8decdae788c9e31fc8731d30 100755 (executable)
@@ -1,27 +1,8 @@
 #!/bin/sh
 
-# lxc: linux Container library
+# SPDX-License-Identifier: LGPL-2.1+
 
-# Authors:
-# Florian Margaine <florian@platform.sh>
-#
-# This is a test script for the lxc-attach and lxc-execute
-# programs. It tests whether the exit code is not 0 when a script
-# fails to execute.
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
+# lxc: linux Container library
 
 set -e
 
index 374a3638340096d6ec0c0a4b8e9c1db4b877eb6d..49289df5d3af3199202d00640820106eca5c6dc7 100755 (executable)
@@ -1,26 +1,8 @@
 #!/bin/sh
 
-# lxc: linux Container library
+# SPDX-License-Identifier: LGPL-2.1+
 
-# Authors:
-# Christian Brauner <christian.brauner@mailbox.org>
-#
-# This is a test script for the lxc-attach program. It tests whether I/O
-# redirection and pty allocation works correctly.
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
+# lxc: linux Container library
 
 set -e
 
index 64988a011012337f4f97bd4e9c95482f68f9fa6e..0d8bc220ddc3179d7e6be067cc578be3467bab9b 100755 (executable)
@@ -1,26 +1,11 @@
 #!/bin/bash
 
+# SPDX-License-Identifier: LGPL-2.1+
+
 # lxc: linux Container library
 
-# Authors:
-# Christian Brauner <christian.brauner@mailbox.org>
-#
 # This is a test script for PR_SET_NO_NEW_PRIVS
 
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
 set -eux
 
 DONE=0
index 5e48bbeda4c6bbac14eaba7d5c5d0548c13db027..ca84dd9d62e84d1b9ca6f007e86fb1fddca12554 100755 (executable)
@@ -1,27 +1,12 @@
 #!/bin/bash
 
+# SPDX-License-Identifier: LGPL-2.1+
+
 # lxc: linux Container library
 
-# Authors:
-# Motiejus Jakštys <motiejus@jakstys.lt>
-#
 # Ensure that when /proc and/or /sys do not exist in the container,
 # it is started successfully anyway.
 
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
 set -ex
 FAIL() {
        echo -n "Failed " >&2
index 5b2c7921ca383be6fade93a973b2d54f95ee95d8..9deaf18a4812caaa8ae30fa4904368894ac3341a 100755 (executable)
@@ -1,23 +1,8 @@
 #!/bin/bash
 
-# lxc: linux Container library
-
-# Authors:
-# Feng Li <lifeng68@huawei.com>
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
+# SPDX-License-Identifier: LGPL-2.1+
 
-# 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
+# lxc: linux Container library
 
 set -ex
 
index 7de83550a0e97d469ed17651a60cb1e8814215f0..5e6ea998c8d8c9d3cc8a2a93a17c6f53ee6038d2 100755 (executable)
@@ -1,9 +1,8 @@
 #!/bin/bash
 
-# lxc: linux Container library
+# SPDX-License-Identifier: LGPL-2.1+
 
-# Authors:
-# Serge Hallyn <serge.hallyn@ubuntu.com>
+# lxc: linux Container library
 #
 # This is a test for dependency between snapshots
 #
 # we record it as such, because c1 cannot be deleted until c2 is
 # deleted.  Once c2 is deleted, c1 should be delete-able.
 
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
 # This test assumes an Ubuntu host
 
 set -e
index 4e05ead75c7deda3d2c4d74971ffb9ff7be2c31a..8cc2f3e5c36a7557c6ab2d44f451fd5fe5b1d59f 100755 (executable)
@@ -1,14 +1,11 @@
 #!/bin/bash
 
-set -ex
-
-# lxc: linux Container library
+# SPDX-License-Identifier: LGPL-2.1+
 
-# Authors:
-# Serge Hallyn <serge.hallyn@ubuntu.com>
-#
 # This is a regression test for symbolic links
 
+set -ex
+
 dirname=$(mktemp -d)
 fname=$(mktemp)
 fname2=$(mktemp)
index 426add9da0d2347a77034fa37f48baabaf67bb9a..8abc3e0ad1ad7f7a91a85f0c4797b68e122f0701 100755 (executable)
@@ -1,26 +1,11 @@
 #!/bin/bash
 
-# lxc: linux Container library
+# SPDX-License-Identifier: LGPL-2.1+
 
-# Authors:
-# Serge Hallyn <serge.hallyn@ubuntu.com>
+# lxc: linux Container library
 #
 # This is a test script for unprivileged containers
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
+#
 # This test assumes an Ubuntu host
 
 if [ $(id -u) -ne 0 ]; then
index d9cb4bcd131be00fb5e44dc1da5a71f12c2f3b9a..cda46d8f33076be99ca445afda4714b213054c1f 100755 (executable)
@@ -1,26 +1,11 @@
 #!/bin/bash
 
-# lxc: linux Container library
+# SPDX-License-Identifier: LGPL-2.1+
 
-# Authors:
-# Serge Hallyn <serge.hallyn@ubuntu.com>
+# lxc: linux Container library
 #
 # This is a test script for the lxc-user-nic program
-
-# 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; either
-# version 2.1 of the License, or (at your option) any later version.
-
-# 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
-
+#
 # This test assumes an Ubuntu host
 
 DONE=0
index d1fc81a58b1a8873a587c58ec6fb0d0dd78a0f4c..e535462d971c7ea3e1f9260a1bd20e96522b27fd 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/bash
+
+# SPDX-License-Identifier: LGPL-2.1+
+
 #
 # This is a bash test case to test lxc-usernsexec.
 # It basically supports usring lxc-usernsexec to execute itself
index 0b9fccb397c7e2de14b625aa8f365d467eebe5d2..e3a79ebaf7e4d666e38469bdeca306cc5dc1b997 100644 (file)
@@ -1,24 +1,7 @@
-/*
- * lxc: linux Container library
+/* lxc: linux Container library
  *
- * Copyright © 2016 Canonical Ltd.
+ * SPDX-License-Identifier: LGPL-2.1+
  *
- * Authors:
- * Christian Brauner <christian.brauner@mailbox.org>
- *
- * This program 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; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This program 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 program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include "config.h"
index 1225d023d6b081c08f4acb05bb9fdbde1e2bec46..632d52febec630467bcad5fdf5ac546abf032436 100644 (file)
@@ -1,24 +1,8 @@
 /*
  * lxc: linux Container library
  *
- * Copyright © 2017 Canonical Ltd.
+ * SPDX-License-Identifier: LGPL-2.1+
  *
- * Authors:
- * Christian Brauner <christian.brauner@ubuntu.com>
- *
- * This program 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; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This program 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 program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include "config.h"
index 9e87d6875b941648fe90effc7834b7e4a996598b..a695468bb4faa1164638a25cef65fbd976115cae 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index fda2821e676540d94a3e38b260fe1df283127b2d..663d5bc4eeaad33eb1bef2a208a9c939e54f1a1e 100644 (file)
@@ -1,24 +1,7 @@
-/*
- * lxc: linux Container library
+/* lxc: linux Container library
  *
- * Copyright © 2016 Canonical Ltd.
+ * SPDX-License-Identifier: LGPL-2.1+
  *
- * Authors:
- * Christian Brauner <christian.brauner@mailbox.org>
- *
- * This program 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; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This program 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 program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef __LXC_TEST_H_
index cb5378cad22b1e8c0bb546822ae157acab487e4c..169c112c887a333271d6820a2fe9524e8f92fce8 100644 (file)
@@ -1,20 +1,7 @@
 /* control.c
  *
- * Copyright © 2013 Canonical, Inc
- * Author: Serge Hallyn <serge.hallyn@ubuntu.com>
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 59d23c8dd4cf179596da1ea949c755209b241d45..e9db05d5210d1de1d460b1a357c630d00b948d67 100644 (file)
@@ -1,19 +1,7 @@
 /* mount_injection
  *
- * Copyright © 2018 Elizaveta Tretiakova <elizabet.tretyakova@gmail.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index fae4d6c107a7dc71d4a02cf7fa843616aca63fc5..7ee132fbe68fb9a4c9d008991de1f647b0a74eb9 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+# SPDX-License-Identifier: LGPL-2.1+
+
 set -ex
 
 export LC_CTYPE=C.UTF-8
index 9dd081168cc3b114dccbb5d4f6cd2fe1394e2f7b..6bdac3609b921d552b1505e64df8a3b08b900d99 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Christian Brauner <christian.brauner@ubuntu.com>.
- * Copyright © 2017 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 43250a99e90f3ff7a7596f016fa0c1b72eb3a79b..9983f6184b63f22e389eee557909b425ae37dc83 100644 (file)
@@ -1,21 +1,4 @@
-/*
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
- *
- * This program 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; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * 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
- */
+/* SPDX-License-Identifier: LGPL-2.1+ */
 
 #include "config.h"
 
index 55f86ab3d17527a5932d998fd5c2b40dc13fa267..d4c79e81e49d457cb217ac24c05efa044c9c44bc 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2021 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 41ca66224052e53c6606ac82dac7de7e4b8f482f..d9ff94f1ed3a35f36aa0a5275b303ae4681bbae0 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index fd070adadb294280d72b139231b9e2483dac594d..603a1c8c0263f0181e1c45e5dc9c46667851e895 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index f4a742f6d1a28b88b0899f094a386ac2c2415c7e..74de6f1400fde8fd49e222e58cc1dfe707e5049e 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Christian Brauner <christian.brauner@ubuntu.com>.
- * Copyright © 2017 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 89e7c447ff6374d796f2a288b9167d259b59b88f..6f552677b2deed6e78496e853967349d56b8a2b7 100644 (file)
@@ -1,21 +1,7 @@
-
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index dfbf78e4591ad5a18faf68062c3a0bf02b641703..7215fad8b7c2fa2ccf25c7ee853e91eda8f6a95a 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2013 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2013 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index 5d5a23f4b20814543be7d987f1916c7aff5185af..028addd1debada2080d1078f747e6505bed8c83f 100644 (file)
@@ -1,20 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
- * Copyright © 2012 Canonical Ltd.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index cf6fcc47c5b3809118c1e8cc66a3d7fa80f207bf..71298f31169cd60d2cff607445ed8cc9cea72341 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2017 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"
index b51f28c32351fa58bd819ddf98324a635bf33109..552ce5c0474c4605203b0f1f07ea5de755a11505 100644 (file)
@@ -1,19 +1,7 @@
 /* liblxcapi
  *
- * Copyright © 2021 Christian Brauner <christian.brauner@ubuntu.com>.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2, as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include "config.h"