summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-18 17:09:20 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-19 19:08:15 +0100
commit53e1b683907c2f12330f00feb9630150196f064d (patch)
treefb2ae4b112f1ff0988e198c3815bf89059d68614 /src/shared
parent5c856d1e6cfd005e458b7f78d5363e8dc0d2100a (diff)
downloadsystemd-53e1b683907c2f12330f00feb9630150196f064d.tar.gz
Add SPDX license identifiers to source files under the LGPL
This follows what the kernel is doing, c.f. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5fd54ace4721fc5ce2bb5aef6318fcf17f421460.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/acl-util.c1
-rw-r--r--src/shared/acl-util.h1
-rw-r--r--src/shared/acpi-fpdt.c1
-rw-r--r--src/shared/acpi-fpdt.h1
-rw-r--r--src/shared/apparmor-util.c1
-rw-r--r--src/shared/apparmor-util.h1
-rw-r--r--src/shared/ask-password-api.c1
-rw-r--r--src/shared/ask-password-api.h1
-rw-r--r--src/shared/base-filesystem.c1
-rw-r--r--src/shared/base-filesystem.h1
-rw-r--r--src/shared/boot-timestamps.c1
-rw-r--r--src/shared/boot-timestamps.h1
-rw-r--r--src/shared/bus-unit-util.c1
-rw-r--r--src/shared/bus-unit-util.h1
-rw-r--r--src/shared/bus-util.c1
-rw-r--r--src/shared/bus-util.h1
-rw-r--r--src/shared/cgroup-show.c1
-rw-r--r--src/shared/cgroup-show.h1
-rw-r--r--src/shared/clean-ipc.c1
-rw-r--r--src/shared/clean-ipc.h1
-rw-r--r--src/shared/condition.c1
-rw-r--r--src/shared/condition.h1
-rw-r--r--src/shared/conf-parser.c1
-rw-r--r--src/shared/conf-parser.h1
-rw-r--r--src/shared/dev-setup.c1
-rw-r--r--src/shared/dev-setup.h1
-rw-r--r--src/shared/dissect-image.c1
-rw-r--r--src/shared/dissect-image.h1
-rw-r--r--src/shared/dns-domain.c1
-rw-r--r--src/shared/dns-domain.h1
-rw-r--r--src/shared/dropin.c1
-rw-r--r--src/shared/dropin.h1
-rw-r--r--src/shared/efivars.c1
-rw-r--r--src/shared/efivars.h1
-rw-r--r--src/shared/fdset.c1
-rw-r--r--src/shared/fdset.h1
-rw-r--r--src/shared/firewall-util.c1
-rw-r--r--src/shared/firewall-util.h1
-rw-r--r--src/shared/fstab-util.c1
-rw-r--r--src/shared/fstab-util.h1
-rw-r--r--src/shared/gcrypt-util.c1
-rw-r--r--src/shared/gcrypt-util.h1
-rw-r--r--src/shared/generator.c1
-rw-r--r--src/shared/generator.h1
-rw-r--r--src/shared/gpt.h1
-rw-r--r--src/shared/ima-util.c1
-rw-r--r--src/shared/ima-util.h1
-rw-r--r--src/shared/import-util.c1
-rw-r--r--src/shared/import-util.h1
-rw-r--r--src/shared/install-printf.c1
-rw-r--r--src/shared/install-printf.h1
-rw-r--r--src/shared/install.c1
-rw-r--r--src/shared/install.h1
-rw-r--r--src/shared/journal-util.c1
-rw-r--r--src/shared/journal-util.h1
-rw-r--r--src/shared/logs-show.c1
-rw-r--r--src/shared/logs-show.h1
-rw-r--r--src/shared/loop-util.c1
-rw-r--r--src/shared/loop-util.h1
-rw-r--r--src/shared/machine-image.c1
-rw-r--r--src/shared/machine-image.h1
-rw-r--r--src/shared/machine-pool.c1
-rw-r--r--src/shared/machine-pool.h1
-rw-r--r--src/shared/nsflags.c1
-rw-r--r--src/shared/nsflags.h1
-rw-r--r--src/shared/output-mode.c1
-rw-r--r--src/shared/output-mode.h1
-rw-r--r--src/shared/pager.c1
-rw-r--r--src/shared/pager.h1
-rw-r--r--src/shared/path-lookup.c1
-rw-r--r--src/shared/path-lookup.h1
-rw-r--r--src/shared/ptyfwd.c1
-rw-r--r--src/shared/ptyfwd.h1
-rw-r--r--src/shared/resolve-util.c1
-rw-r--r--src/shared/resolve-util.h1
-rw-r--r--src/shared/seccomp-util.c1
-rw-r--r--src/shared/seccomp-util.h1
-rw-r--r--src/shared/sleep-config.c1
-rw-r--r--src/shared/sleep-config.h1
-rw-r--r--src/shared/spawn-ask-password-agent.c1
-rw-r--r--src/shared/spawn-ask-password-agent.h1
-rw-r--r--src/shared/spawn-polkit-agent.c1
-rw-r--r--src/shared/spawn-polkit-agent.h1
-rw-r--r--src/shared/specifier.c1
-rw-r--r--src/shared/specifier.h1
-rw-r--r--src/shared/switch-root.c1
-rw-r--r--src/shared/switch-root.h1
-rw-r--r--src/shared/sysctl-util.c1
-rw-r--r--src/shared/sysctl-util.h1
-rw-r--r--src/shared/test-tables.h1
-rw-r--r--src/shared/tests.c1
-rw-r--r--src/shared/tests.h1
-rw-r--r--src/shared/tomoyo-util.c1
-rw-r--r--src/shared/tomoyo-util.h1
-rw-r--r--src/shared/udev-util.c1
-rw-r--r--src/shared/udev-util.h1
-rw-r--r--src/shared/uid-range.c1
-rw-r--r--src/shared/uid-range.h1
-rw-r--r--src/shared/utmp-wtmp.c1
-rw-r--r--src/shared/utmp-wtmp.h1
-rw-r--r--src/shared/vlan-util.c1
-rw-r--r--src/shared/vlan-util.h1
-rw-r--r--src/shared/volatile-util.c1
-rw-r--r--src/shared/volatile-util.h1
-rw-r--r--src/shared/watchdog.c1
-rw-r--r--src/shared/watchdog.h1
106 files changed, 106 insertions, 0 deletions
diff --git a/src/shared/acl-util.c b/src/shared/acl-util.c
index 79a3b9591d..b24ed77985 100644
--- a/src/shared/acl-util.c
+++ b/src/shared/acl-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h
index a0e31d8e29..6b581cbc42 100644
--- a/src/shared/acl-util.h
+++ b/src/shared/acl-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/acpi-fpdt.c b/src/shared/acpi-fpdt.c
index 6779691c28..1a640f4f1b 100644
--- a/src/shared/acpi-fpdt.c
+++ b/src/shared/acpi-fpdt.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/acpi-fpdt.h b/src/shared/acpi-fpdt.h
index fc28175d0a..4521a1e686 100644
--- a/src/shared/acpi-fpdt.h
+++ b/src/shared/acpi-fpdt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/apparmor-util.c b/src/shared/apparmor-util.c
index edd695fd23..e9c4081892 100644
--- a/src/shared/apparmor-util.c
+++ b/src/shared/apparmor-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/apparmor-util.h b/src/shared/apparmor-util.h
index 524f740152..33ebd4d612 100644
--- a/src/shared/apparmor-util.h
+++ b/src/shared/apparmor-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c
index e33d8b11cf..a0c76eddbe 100644
--- a/src/shared/ask-password-api.c
+++ b/src/shared/ask-password-api.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/ask-password-api.h b/src/shared/ask-password-api.h
index 9d7f65130c..f3ca6743a9 100644
--- a/src/shared/ask-password-api.h
+++ b/src/shared/ask-password-api.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c
index 903a187861..3c25aa534c 100644
--- a/src/shared/base-filesystem.c
+++ b/src/shared/base-filesystem.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/base-filesystem.h b/src/shared/base-filesystem.h
index 49599f0a60..5d134b4eb9 100644
--- a/src/shared/base-filesystem.h
+++ b/src/shared/base-filesystem.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/boot-timestamps.c b/src/shared/boot-timestamps.c
index 7e0152761c..543e01a364 100644
--- a/src/shared/boot-timestamps.c
+++ b/src/shared/boot-timestamps.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/boot-timestamps.h b/src/shared/boot-timestamps.h
index 6f691026be..8c67d302b4 100644
--- a/src/shared/boot-timestamps.h
+++ b/src/shared/boot-timestamps.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c
index 2b2480c2e1..87e2e597e2 100644
--- a/src/shared/bus-unit-util.c
+++ b/src/shared/bus-unit-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/bus-unit-util.h b/src/shared/bus-unit-util.h
index d102ea180e..1a137e8b84 100644
--- a/src/shared/bus-unit-util.h
+++ b/src/shared/bus-unit-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index 7609d9c522..c6844f5ec2 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h
index d9ce4263bb..a9f4969d7d 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/cgroup-show.c b/src/shared/cgroup-show.c
index 436130edea..0ddae95434 100644
--- a/src/shared/cgroup-show.c
+++ b/src/shared/cgroup-show.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/cgroup-show.h b/src/shared/cgroup-show.h
index 1764f76744..efa597aad0 100644
--- a/src/shared/cgroup-show.h
+++ b/src/shared/cgroup-show.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/clean-ipc.c b/src/shared/clean-ipc.c
index 64f81bb5d3..7e2ef4a8eb 100644
--- a/src/shared/clean-ipc.c
+++ b/src/shared/clean-ipc.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/clean-ipc.h b/src/shared/clean-ipc.h
index c04ed3596b..0ade561b3f 100644
--- a/src/shared/clean-ipc.h
+++ b/src/shared/clean-ipc.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/condition.c b/src/shared/condition.c
index a25c825a09..11555b474c 100644
--- a/src/shared/condition.c
+++ b/src/shared/condition.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/condition.h b/src/shared/condition.h
index d0b592bc43..534906b6d6 100644
--- a/src/shared/condition.h
+++ b/src/shared/condition.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index 9ca9750750..daddb7cf20 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/conf-parser.h b/src/shared/conf-parser.h
index a270488c23..2fd135baa0 100644
--- a/src/shared/conf-parser.h
+++ b/src/shared/conf-parser.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/dev-setup.c b/src/shared/dev-setup.c
index b2d464c117..6d2cc685fa 100644
--- a/src/shared/dev-setup.c
+++ b/src/shared/dev-setup.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/dev-setup.h b/src/shared/dev-setup.h
index 5766a62060..4dd591de0a 100644
--- a/src/shared/dev-setup.h
+++ b/src/shared/dev-setup.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c
index dbd9eae592..5bb0d3a478 100644
--- a/src/shared/dissect-image.c
+++ b/src/shared/dissect-image.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/dissect-image.h b/src/shared/dissect-image.h
index cdb083be6f..20afbb5bf6 100644
--- a/src/shared/dissect-image.h
+++ b/src/shared/dissect-image.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/dns-domain.c b/src/shared/dns-domain.c
index 4739cc880b..670aa48800 100644
--- a/src/shared/dns-domain.c
+++ b/src/shared/dns-domain.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/dns-domain.h b/src/shared/dns-domain.h
index a44d9d48d4..af74b97484 100644
--- a/src/shared/dns-domain.h
+++ b/src/shared/dns-domain.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/dropin.c b/src/shared/dropin.c
index 059b50dbd0..a16f436bed 100644
--- a/src/shared/dropin.c
+++ b/src/shared/dropin.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/dropin.h b/src/shared/dropin.h
index a2b8cdce61..102fc9403c 100644
--- a/src/shared/dropin.h
+++ b/src/shared/dropin.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/efivars.c b/src/shared/efivars.c
index a3850bede2..845ab0fa58 100644
--- a/src/shared/efivars.c
+++ b/src/shared/efivars.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/efivars.h b/src/shared/efivars.h
index 72bace0d07..9a4880de7d 100644
--- a/src/shared/efivars.h
+++ b/src/shared/efivars.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/fdset.c b/src/shared/fdset.c
index 090f3fdcdd..9ce1295223 100644
--- a/src/shared/fdset.c
+++ b/src/shared/fdset.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/fdset.h b/src/shared/fdset.h
index 16efe5bdf2..864ab676f7 100644
--- a/src/shared/fdset.h
+++ b/src/shared/fdset.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/firewall-util.c b/src/shared/firewall-util.c
index 6d295ea65b..1c595ce251 100644
--- a/src/shared/firewall-util.c
+++ b/src/shared/firewall-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/firewall-util.h b/src/shared/firewall-util.h
index 5915266b4b..fd7e3b456e 100644
--- a/src/shared/firewall-util.h
+++ b/src/shared/firewall-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/fstab-util.c b/src/shared/fstab-util.c
index ec2e868ca8..bcd7b43084 100644
--- a/src/shared/fstab-util.c
+++ b/src/shared/fstab-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/fstab-util.h b/src/shared/fstab-util.h
index bbf0441351..87f82dcfb4 100644
--- a/src/shared/fstab-util.h
+++ b/src/shared/fstab-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/gcrypt-util.c b/src/shared/gcrypt-util.c
index e10a38dcfc..1bfb776725 100644
--- a/src/shared/gcrypt-util.c
+++ b/src/shared/gcrypt-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
diff --git a/src/shared/gcrypt-util.h b/src/shared/gcrypt-util.h
index f08ed6052c..69faf08e56 100644
--- a/src/shared/gcrypt-util.h
+++ b/src/shared/gcrypt-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
/***
diff --git a/src/shared/generator.c b/src/shared/generator.c
index 18fc469098..a9670213d4 100644
--- a/src/shared/generator.c
+++ b/src/shared/generator.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/generator.h b/src/shared/generator.h
index e70016839f..39dd520f9f 100644
--- a/src/shared/generator.h
+++ b/src/shared/generator.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/gpt.h b/src/shared/gpt.h
index cc752006fa..7589f6fb7a 100644
--- a/src/shared/gpt.h
+++ b/src/shared/gpt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/ima-util.c b/src/shared/ima-util.c
index 789064d653..064f38be6f 100644
--- a/src/shared/ima-util.c
+++ b/src/shared/ima-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/ima-util.h b/src/shared/ima-util.h
index 5be94761fd..5633c78be9 100644
--- a/src/shared/ima-util.h
+++ b/src/shared/ima-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/import-util.c b/src/shared/import-util.c
index ab701ad8b2..07ba216e93 100644
--- a/src/shared/import-util.c
+++ b/src/shared/import-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/import-util.h b/src/shared/import-util.h
index 77b17d91f3..583845b1a4 100644
--- a/src/shared/import-util.h
+++ b/src/shared/import-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/install-printf.c b/src/shared/install-printf.c
index c10ed3d311..596f7e46b6 100644
--- a/src/shared/install-printf.c
+++ b/src/shared/install-printf.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/install-printf.h b/src/shared/install-printf.h
index 8a570fc265..d868f65cfa 100644
--- a/src/shared/install-printf.h
+++ b/src/shared/install-printf.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/install.c b/src/shared/install.c
index 99761f99da..a75a045d43 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/install.h b/src/shared/install.h
index c1fcbe96ed..6d7518d72a 100644
--- a/src/shared/install.h
+++ b/src/shared/install.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/journal-util.c b/src/shared/journal-util.c
index 82f193ffd8..eb7a75295f 100644
--- a/src/shared/journal-util.c
+++ b/src/shared/journal-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/journal-util.h b/src/shared/journal-util.h
index 95613bba10..ef5e314d37 100644
--- a/src/shared/journal-util.h
+++ b/src/shared/journal-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index 5e0d59f5a2..420c4d3e37 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/logs-show.h b/src/shared/logs-show.h
index 3d583b79ef..eaa69b6e90 100644
--- a/src/shared/logs-show.h
+++ b/src/shared/logs-show.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/loop-util.c b/src/shared/loop-util.c
index 047e213634..31c5789a2e 100644
--- a/src/shared/loop-util.c
+++ b/src/shared/loop-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/loop-util.h b/src/shared/loop-util.h
index 45fead5f18..7e18e5779d 100644
--- a/src/shared/loop-util.h
+++ b/src/shared/loop-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/machine-image.c b/src/shared/machine-image.c
index 24209fa35d..a9e5d608a5 100644
--- a/src/shared/machine-image.c
+++ b/src/shared/machine-image.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/machine-image.h b/src/shared/machine-image.h
index 50d89e4392..1b1194e442 100644
--- a/src/shared/machine-image.h
+++ b/src/shared/machine-image.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/machine-pool.c b/src/shared/machine-pool.c
index c581bdeb79..167bcfad36 100644
--- a/src/shared/machine-pool.c
+++ b/src/shared/machine-pool.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/machine-pool.h b/src/shared/machine-pool.h
index 40fe5ecb3a..6e390521e8 100644
--- a/src/shared/machine-pool.h
+++ b/src/shared/machine-pool.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/nsflags.c b/src/shared/nsflags.c
index aeb79b131e..05ec9feb8d 100644
--- a/src/shared/nsflags.c
+++ b/src/shared/nsflags.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/nsflags.h b/src/shared/nsflags.h
index 152ab8b936..dcac6cd0b2 100644
--- a/src/shared/nsflags.h
+++ b/src/shared/nsflags.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/output-mode.c b/src/shared/output-mode.c
index 29dcba9f6b..5256e917a3 100644
--- a/src/shared/output-mode.c
+++ b/src/shared/output-mode.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/output-mode.h b/src/shared/output-mode.h
index 2a1bfd98d0..747f7eb1b9 100644
--- a/src/shared/output-mode.h
+++ b/src/shared/output-mode.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/pager.c b/src/shared/pager.c
index da49f9a22d..39997278f1 100644
--- a/src/shared/pager.c
+++ b/src/shared/pager.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/pager.h b/src/shared/pager.h
index 893e1d2bb6..99716f8747 100644
--- a/src/shared/pager.h
+++ b/src/shared/pager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c
index 26dbb482ef..b40887bfbd 100644
--- a/src/shared/path-lookup.c
+++ b/src/shared/path-lookup.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h
index fc8b8ed8c7..8ea263e473 100644
--- a/src/shared/path-lookup.h
+++ b/src/shared/path-lookup.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/ptyfwd.c b/src/shared/ptyfwd.c
index 0c92184ba5..487a013148 100644
--- a/src/shared/ptyfwd.c
+++ b/src/shared/ptyfwd.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/ptyfwd.h b/src/shared/ptyfwd.h
index 3fad1d3b26..ee04fca2c0 100644
--- a/src/shared/ptyfwd.h
+++ b/src/shared/ptyfwd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/resolve-util.c b/src/shared/resolve-util.c
index e2da81bab7..edcb8e05e7 100644
--- a/src/shared/resolve-util.c
+++ b/src/shared/resolve-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/resolve-util.h b/src/shared/resolve-util.h
index 8636a6c134..975156ca96 100644
--- a/src/shared/resolve-util.h
+++ b/src/shared/resolve-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c
index 8b6184a778..62742858c7 100644
--- a/src/shared/seccomp-util.c
+++ b/src/shared/seccomp-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/seccomp-util.h b/src/shared/seccomp-util.h
index a3c360cdb3..ad2ab7f6b5 100644
--- a/src/shared/seccomp-util.h
+++ b/src/shared/seccomp-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
index b4c3037f0c..ecac98e0ab 100644
--- a/src/shared/sleep-config.c
+++ b/src/shared/sleep-config.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/sleep-config.h b/src/shared/sleep-config.h
index ad10039ff4..fc5a81d954 100644
--- a/src/shared/sleep-config.h
+++ b/src/shared/sleep-config.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/spawn-ask-password-agent.c b/src/shared/spawn-ask-password-agent.c
index a46b7525f0..9af5faa3dd 100644
--- a/src/shared/spawn-ask-password-agent.c
+++ b/src/shared/spawn-ask-password-agent.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/spawn-ask-password-agent.h b/src/shared/spawn-ask-password-agent.h
index fb0749b13f..158f8839ab 100644
--- a/src/shared/spawn-ask-password-agent.h
+++ b/src/shared/spawn-ask-password-agent.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c
index 9a40147662..423069fb0e 100644
--- a/src/shared/spawn-polkit-agent.c
+++ b/src/shared/spawn-polkit-agent.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/spawn-polkit-agent.h b/src/shared/spawn-polkit-agent.h
index 9bf93b9922..9f26fa10a7 100644
--- a/src/shared/spawn-polkit-agent.h
+++ b/src/shared/spawn-polkit-agent.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/specifier.c b/src/shared/specifier.c
index 81379041cc..b0f00dbb5a 100644
--- a/src/shared/specifier.c
+++ b/src/shared/specifier.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/specifier.h b/src/shared/specifier.h
index 6b1623ee61..5d2b859f64 100644
--- a/src/shared/specifier.h
+++ b/src/shared/specifier.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/switch-root.c b/src/shared/switch-root.c
index afdf1ab5ad..3c51fa36f3 100644
--- a/src/shared/switch-root.c
+++ b/src/shared/switch-root.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/switch-root.h b/src/shared/switch-root.h
index a7a080b3e8..abcdc1c65f 100644
--- a/src/shared/switch-root.h
+++ b/src/shared/switch-root.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
#include <stdbool.h>
diff --git a/src/shared/sysctl-util.c b/src/shared/sysctl-util.c
index e1ccb3294c..391065d804 100644
--- a/src/shared/sysctl-util.c
+++ b/src/shared/sysctl-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/sysctl-util.h b/src/shared/sysctl-util.h
index 2decb39f58..446aa6f384 100644
--- a/src/shared/sysctl-util.h
+++ b/src/shared/sysctl-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/test-tables.h b/src/shared/test-tables.h
index 228e510104..6b223b1ee5 100644
--- a/src/shared/test-tables.h
+++ b/src/shared/test-tables.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd
diff --git a/src/shared/tests.c b/src/shared/tests.c
index f300bbc66f..d78ab7b069 100644
--- a/src/shared/tests.c
+++ b/src/shared/tests.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/tests.h b/src/shared/tests.h
index 7055124990..b070f386e3 100644
--- a/src/shared/tests.h
+++ b/src/shared/tests.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/tomoyo-util.c b/src/shared/tomoyo-util.c
index f5b07888a4..390fff6152 100644
--- a/src/shared/tomoyo-util.c
+++ b/src/shared/tomoyo-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/tomoyo-util.h b/src/shared/tomoyo-util.h
index 746e97c256..4fb309fd54 100644
--- a/src/shared/tomoyo-util.h
+++ b/src/shared/tomoyo-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/udev-util.c b/src/shared/udev-util.c
index f708dcfa14..65a09e9c2e 100644
--- a/src/shared/udev-util.c
+++ b/src/shared/udev-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/udev-util.h b/src/shared/udev-util.h
index a415be249e..c5e4197dff 100644
--- a/src/shared/udev-util.h
+++ b/src/shared/udev-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/uid-range.c b/src/shared/uid-range.c
index b6ec474390..c38b7cc984 100644
--- a/src/shared/uid-range.c
+++ b/src/shared/uid-range.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/uid-range.h b/src/shared/uid-range.h
index 4044eb4c9c..882f6624cd 100644
--- a/src/shared/uid-range.h
+++ b/src/shared/uid-range.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c
index fc8548c5b3..40910876c9 100644
--- a/src/shared/utmp-wtmp.c
+++ b/src/shared/utmp-wtmp.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h
index 8f4fbcdeff..2c75d4097e 100644
--- a/src/shared/utmp-wtmp.h
+++ b/src/shared/utmp-wtmp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/vlan-util.c b/src/shared/vlan-util.c
index 1edd96fbe7..fa270164bb 100644
--- a/src/shared/vlan-util.c
+++ b/src/shared/vlan-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/vlan-util.h b/src/shared/vlan-util.h
index 365ed14d88..6d287fd32a 100644
--- a/src/shared/vlan-util.h
+++ b/src/shared/vlan-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/volatile-util.c b/src/shared/volatile-util.c
index e7e9721411..85512d00af 100644
--- a/src/shared/volatile-util.c
+++ b/src/shared/volatile-util.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/volatile-util.h b/src/shared/volatile-util.h
index 17930ba6ae..3ad037af8b 100644
--- a/src/shared/volatile-util.h
+++ b/src/shared/volatile-util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***
diff --git a/src/shared/watchdog.c b/src/shared/watchdog.c
index 4f3e0125f3..a6a356dbd0 100644
--- a/src/shared/watchdog.c
+++ b/src/shared/watchdog.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
/***
This file is part of systemd.
diff --git a/src/shared/watchdog.h b/src/shared/watchdog.h
index f6ec178ea1..8c17e7e1dc 100644
--- a/src/shared/watchdog.h
+++ b/src/shared/watchdog.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
/***