diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-30 15:23:50 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-12-09 22:29:28 +0100 |
commit | d2e13a83823b6a4186bdcebe5c6abffa7d4ab268 (patch) | |
tree | 3235a220fe20c8738c7838da17d774ad8f907068 /src/compat | |
parent | chacha20-arm: fix with clang -fno-integrated-as. (diff) | |
download | wireguard-monolithic-historical-d2e13a83823b6a4186bdcebe5c6abffa7d4ab268.tar.xz wireguard-monolithic-historical-d2e13a83823b6a4186bdcebe5c6abffa7d4ab268.zip |
global: add SPDX tags to all files
It's good to have SPDX identifiers in all files as the Linux kernel
developers are working to add these identifiers to all files.
Update all files with the correct SPDX license identifier based on the license
text of the project or based on the license in the file itself. The SPDX
identifier is a legally binding shorthand, which can be used instead of the
full boiler plate text.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Modified-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/Kbuild.include | 4 | ||||
-rw-r--r-- | src/compat/checksum/checksum_partial_compat.h | 5 | ||||
-rw-r--r-- | src/compat/compat-asm.h | 5 | ||||
-rw-r--r-- | src/compat/compat.h | 5 | ||||
-rw-r--r-- | src/compat/udp_tunnel/udp_tunnel_partial_compat.h | 5 |
5 files changed, 22 insertions, 2 deletions
diff --git a/src/compat/Kbuild.include b/src/compat/Kbuild.include index 2bbe9e9..b7930b6 100644 --- a/src/compat/Kbuild.include +++ b/src/compat/Kbuild.include @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + ifeq ($(wildcard $(src)/compat/compat.h),) ccflags-y += -include $(srctree)/$(src)/compat/compat.h asflags-y += -include $(srctree)/$(src)/compat/compat-asm.h diff --git a/src/compat/checksum/checksum_partial_compat.h b/src/compat/checksum/checksum_partial_compat.h index 147b0a6..115cf07 100644 --- a/src/compat/checksum/checksum_partial_compat.h +++ b/src/compat/checksum/checksum_partial_compat.h @@ -1,3 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + */ + #include <net/route.h> #include <net/esp.h> #include <net/ip.h> diff --git a/src/compat/compat-asm.h b/src/compat/compat-asm.h index 548841d..418c566 100644 --- a/src/compat/compat-asm.h +++ b/src/compat/compat-asm.h @@ -1,4 +1,7 @@ -/* Copyright (C) 2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + */ #ifndef _WG_COMPATASM_H #define _WG_COMPATASM_H diff --git a/src/compat/compat.h b/src/compat/compat.h index 042e987..f4716d1 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -1,4 +1,7 @@ -/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + */ #ifndef _WG_COMPAT_H #define _WG_COMPAT_H diff --git a/src/compat/udp_tunnel/udp_tunnel_partial_compat.h b/src/compat/udp_tunnel/udp_tunnel_partial_compat.h index e16ab52..230b3cd 100644 --- a/src/compat/udp_tunnel/udp_tunnel_partial_compat.h +++ b/src/compat/udp_tunnel/udp_tunnel_partial_compat.h @@ -1,3 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. + */ + #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) #define udp_sock_create4 udp_sock_create #define udp_sock_create6 udp_sock_create |