1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-03-08 20:58:20 +03:00

Merge pull request #17472 from keszybz/spdx-license-headers

More SPDX license headers
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-10-29 19:05:05 +01:00 committed by GitHub
commit e61f999755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 57 additions and 12 deletions

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LicenseRef-murmurhash2-public-domain */
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// MurmurHash2 was written by Austin Appleby, and is placed in the public // MurmurHash2 was written by Austin Appleby, and is placed in the public
// domain. The author hereby disclaims copyright to this source code. // domain. The author hereby disclaims copyright to this source code.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LicenseRef-murmurhash2-public-domain */
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// MurmurHash2 was written by Austin Appleby, and is placed in the public // MurmurHash2 was written by Austin Appleby, and is placed in the public
// domain. The author hereby disclaims copyright to this source code. // domain. The author hereby disclaims copyright to this source code.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/* gunicode.c - Unicode manipulation functions /* gunicode.c - Unicode manipulation functions
* *
* Copyright (C) 1999, 2000 Tom Tromey * Copyright (C) 1999, 2000 Tom Tromey

View File

@ -1,10 +1,10 @@
#pragma once /* SPDX-License-Identifier: LGPL-2.1+ */
/* gunicode.h - Unicode manipulation functions /* gunicode.h - Unicode manipulation functions
* *
* Copyright (C) 1999, 2000 Tom Tromey * Copyright (C) 1999, 2000 Tom Tromey
* Copyright © 2000, 2005 Red Hat, Inc. * Copyright © 2000, 2005 Red Hat, Inc.
*/ */
#pragma once
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <unistd.h> #include <unistd.h>
#include "memory-util.h" #include "memory-util.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: CC0-1.0 */
/* /*
SipHash reference C implementation SipHash reference C implementation
@ -10,7 +12,7 @@
worldwide. This software is distributed without any warranty. worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with You should have received a copy of the CC0 Public Domain Dedication along with
this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. this software. If not, see <https://creativecommons.org/publicdomain/zero/1.0/>.
(Minimal changes made by Lennart Poettering, to make clean for inclusion in systemd) (Minimal changes made by Lennart Poettering, to make clean for inclusion in systemd)
(Refactored by Tom Gundersen to split up in several functions and follow systemd (Refactored by Tom Gundersen to split up in several functions and follow systemd

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: CC0-1.0 */
#pragma once #pragma once
#include <inttypes.h> #include <inttypes.h>

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "sort-util.h" #include "sort-util.h"
#include "alloc-util.h" #include "alloc-util.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once #pragma once
#include "alloc-util.h" #include "alloc-util.h"

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LicenseRef-crc32-no-restriction */
/* This is copied from util-linux, which in turn copied in the version from Gary S. Brown */ /* This is copied from util-linux, which in turn copied in the version from Gary S. Brown */
/* /*

View File

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: LGPL-2.1+ */ /* SPDX-License-Identifier: LicenseRef-crc32-no-restriction */
#pragma once #pragma once
#include <efi.h> #include <efi.h>

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <efi.h> #include <efi.h>
#include <efilib.h> #include <efilib.h>

View File

@ -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: */ /* 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. /* Functions to compute SHA256 message digest of files or memory blocks.

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <openssl/pem.h> #include <openssl/pem.h>
#include "fd-util.h" #include "fd-util.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once #pragma once
#include <inttypes.h> #include <inttypes.h>

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LicenseRef-lookup3-public-domain */
/* Slightly modified by Lennart Poettering, to avoid name clashes, and /* Slightly modified by Lennart Poettering, to avoid name clashes, and
* unexport a few functions. */ * unexport a few functions. */

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LicenseRef-lookup3-public-domain */
#pragma once #pragma once
#include <inttypes.h> #include <inttypes.h>

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <errno.h> #include <errno.h>
#include "dhcp-lease-internal.h" #include "dhcp-lease-internal.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "sd-bus.h" #include "sd-bus.h"
#include "bus-internal.h" #include "bus-internal.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once #pragma once
typedef struct Wireguard Wireguard; typedef struct Wireguard Wireguard;

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "bond.h" #include "bond.h"
#include "dhcp6-internal.h" #include "dhcp6-internal.h"
#include "dhcp6-protocol.h" #include "dhcp6-protocol.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once #pragma once
#include "sd-bus.h" #include "sd-bus.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once #pragma once
#include "list.h" #include "list.h"

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/statvfs.h> #include <sys/statvfs.h>
#include <sys/vfs.h> #include <sys/vfs.h>

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <fcntl.h> #include <fcntl.h>
#include <linux/dm-ioctl.h> #include <linux/dm-ioctl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: LGPL-2+ */
/* /*
* initreq.h Interface to talk to init through /dev/initctl. * initreq.h Interface to talk to init through /dev/initctl.
* *

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: MIT */
#ifndef __LINUX_NL80211_H #ifndef __LINUX_NL80211_H
#define __LINUX_NL80211_H #define __LINUX_NL80211_H
/* /*

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <security/pam_ext.h> #include <security/pam_ext.h>
#include <syslog.h> #include <syslog.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once #pragma once
#include <inttypes.h> #include <inttypes.h>

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "qrcode-util.h" #include "qrcode-util.h"
#if HAVE_QRENCODE #if HAVE_QRENCODE

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "sd-hwdb.h" #include "sd-hwdb.h"
#include "alloc-util.h" #include "alloc-util.h"

View File

@ -1,11 +1,5 @@
/* /* SPDX-License-Identifier: LGPL-2.1+ */
* systemd service to wait until kernel realtime clock is synchronized /* systemd service to wait until kernel realtime clock is synchronized */
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
#include <errno.h> #include <errno.h>
#include <stdbool.h> #include <stdbool.h>