summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-27 18:32:27 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-10-29 11:32:24 +0100
commit448e7440c2d6e682d55032d15076b840521ab120 (patch)
treee4cb17b73bb4ea2c3c0d0ec701b067b40e510d0c /src/boot
parent59a711c2cdb547e80c6f1fd18ab0dc412687cf6c (diff)
downloadsystemd-448e7440c2d6e682d55032d15076b840521ab120.tar.gz
headers: add spdx tags to imported files with a known license
I added the header in the cases where the license text is present and it is easy to find the appropriate SPDX header. For "public domain" stuff: SDPX treats each "public domain" license as unique [1], but luckily the one in siphash24.c is one of the identified variants. There are some other cases which specify "public domain" but there doesn't seem to be a SPDX identifier. [1] https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files gunicode.[ch] are imported from glib, which is licensed as LGPL2.1+, see https://gitlab.gnome.org/GNOME/glib/-/blob/master/glib/gunicode.h.
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/efi/sha256.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/efi/sha256.c b/src/boot/efi/sha256.c
index 40da636dc7..005e1902d4 100644
--- a/src/boot/efi/sha256.c
+++ b/src/boot/efi/sha256.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+
/* Stolen from glibc and converted to UEFI style. In glibc it comes with the following copyright blurb: */
/* Functions to compute SHA256 message digest of files or memory blocks.