From 4de8ade94c36f471c086a50e3af89185abb32041 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 27 Nov 2017 15:49:00 +0000 Subject: [PATCH] sys/kgssapi: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. --- sys/kgssapi/gss_accept_sec_context.c | 2 ++ sys/kgssapi/gss_acquire_cred.c | 2 ++ sys/kgssapi/gss_add_oid_set_member.c | 2 ++ sys/kgssapi/gss_canonicalize_name.c | 2 ++ sys/kgssapi/gss_create_empty_oid_set.c | 2 ++ sys/kgssapi/gss_delete_sec_context.c | 2 ++ sys/kgssapi/gss_display_status.c | 2 ++ sys/kgssapi/gss_export_name.c | 2 ++ sys/kgssapi/gss_get_mic.c | 2 ++ sys/kgssapi/gss_impl.c | 2 ++ sys/kgssapi/gss_import_name.c | 2 ++ sys/kgssapi/gss_init_sec_context.c | 2 ++ sys/kgssapi/gss_names.c | 2 ++ sys/kgssapi/gss_pname_to_uid.c | 2 ++ sys/kgssapi/gss_release_buffer.c | 2 ++ sys/kgssapi/gss_release_cred.c | 2 ++ sys/kgssapi/gss_release_name.c | 2 ++ sys/kgssapi/gss_release_oid_set.c | 2 ++ sys/kgssapi/gss_set_cred_option.c | 2 ++ sys/kgssapi/gss_test_oid_set_member.c | 2 ++ sys/kgssapi/gss_unwrap.c | 2 ++ sys/kgssapi/gss_verify_mic.c | 2 ++ sys/kgssapi/gss_wrap.c | 2 ++ sys/kgssapi/gss_wrap_size_limit.c | 2 ++ sys/kgssapi/gssapi_impl.h | 2 ++ sys/kgssapi/gssd_prot.c | 2 ++ sys/kgssapi/gsstest.c | 2 ++ sys/kgssapi/krb5/kcrypto.c | 2 ++ sys/kgssapi/krb5/kcrypto.h | 2 ++ sys/kgssapi/krb5/kcrypto_aes.c | 2 ++ sys/kgssapi/krb5/kcrypto_arcfour.c | 2 ++ sys/kgssapi/krb5/kcrypto_des.c | 2 ++ sys/kgssapi/krb5/kcrypto_des3.c | 2 ++ sys/kgssapi/krb5/krb5_mech.c | 2 ++ 34 files changed, 68 insertions(+) diff --git a/sys/kgssapi/gss_accept_sec_context.c b/sys/kgssapi/gss_accept_sec_context.c index 3758a4ac4871..6305de01126a 100644 --- a/sys/kgssapi/gss_accept_sec_context.c +++ b/sys/kgssapi/gss_accept_sec_context.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_acquire_cred.c b/sys/kgssapi/gss_acquire_cred.c index 4a5f115c659f..3e53acec0249 100644 --- a/sys/kgssapi/gss_acquire_cred.c +++ b/sys/kgssapi/gss_acquire_cred.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_add_oid_set_member.c b/sys/kgssapi/gss_add_oid_set_member.c index ecb8a851d5fa..911f41c0f5fb 100644 --- a/sys/kgssapi/gss_add_oid_set_member.c +++ b/sys/kgssapi/gss_add_oid_set_member.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_canonicalize_name.c b/sys/kgssapi/gss_canonicalize_name.c index 940f64a4f178..f3af222d549d 100644 --- a/sys/kgssapi/gss_canonicalize_name.c +++ b/sys/kgssapi/gss_canonicalize_name.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_create_empty_oid_set.c b/sys/kgssapi/gss_create_empty_oid_set.c index dd9965c525bb..74461397a5cd 100644 --- a/sys/kgssapi/gss_create_empty_oid_set.c +++ b/sys/kgssapi/gss_create_empty_oid_set.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_delete_sec_context.c b/sys/kgssapi/gss_delete_sec_context.c index 8689927816e1..883909a84577 100644 --- a/sys/kgssapi/gss_delete_sec_context.c +++ b/sys/kgssapi/gss_delete_sec_context.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_display_status.c b/sys/kgssapi/gss_display_status.c index e03a3762aa8b..80ba1d8a5d87 100644 --- a/sys/kgssapi/gss_display_status.c +++ b/sys/kgssapi/gss_display_status.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_export_name.c b/sys/kgssapi/gss_export_name.c index 23c3ed81b5f6..b769a6567855 100644 --- a/sys/kgssapi/gss_export_name.c +++ b/sys/kgssapi/gss_export_name.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_get_mic.c b/sys/kgssapi/gss_get_mic.c index 1e8dd52e17e7..ab8dcab3a401 100644 --- a/sys/kgssapi/gss_get_mic.c +++ b/sys/kgssapi/gss_get_mic.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_impl.c b/sys/kgssapi/gss_impl.c index dcb3c7d05547..31f77f6bfed3 100644 --- a/sys/kgssapi/gss_impl.c +++ b/sys/kgssapi/gss_impl.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_import_name.c b/sys/kgssapi/gss_import_name.c index d3a224040b7f..4bed965f190c 100644 --- a/sys/kgssapi/gss_import_name.c +++ b/sys/kgssapi/gss_import_name.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_init_sec_context.c b/sys/kgssapi/gss_init_sec_context.c index 64999e43890a..a41c2a1d920f 100644 --- a/sys/kgssapi/gss_init_sec_context.c +++ b/sys/kgssapi/gss_init_sec_context.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_names.c b/sys/kgssapi/gss_names.c index a83693c2350c..373c4bb4ebcd 100644 --- a/sys/kgssapi/gss_names.c +++ b/sys/kgssapi/gss_names.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2005 Doug Rabson * All rights reserved. * diff --git a/sys/kgssapi/gss_pname_to_uid.c b/sys/kgssapi/gss_pname_to_uid.c index 45ead361465b..98e6f6584cec 100644 --- a/sys/kgssapi/gss_pname_to_uid.c +++ b/sys/kgssapi/gss_pname_to_uid.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_release_buffer.c b/sys/kgssapi/gss_release_buffer.c index ea5efc91c127..6777b005bab3 100644 --- a/sys/kgssapi/gss_release_buffer.c +++ b/sys/kgssapi/gss_release_buffer.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_release_cred.c b/sys/kgssapi/gss_release_cred.c index cad36fb49b40..70dd3a058ad3 100644 --- a/sys/kgssapi/gss_release_cred.c +++ b/sys/kgssapi/gss_release_cred.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_release_name.c b/sys/kgssapi/gss_release_name.c index abda8784a8d7..323594b35852 100644 --- a/sys/kgssapi/gss_release_name.c +++ b/sys/kgssapi/gss_release_name.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_release_oid_set.c b/sys/kgssapi/gss_release_oid_set.c index 34b802abf2a4..a0d415ea47a4 100644 --- a/sys/kgssapi/gss_release_oid_set.c +++ b/sys/kgssapi/gss_release_oid_set.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_set_cred_option.c b/sys/kgssapi/gss_set_cred_option.c index d3b9a46daade..96e7112d9f31 100644 --- a/sys/kgssapi/gss_set_cred_option.c +++ b/sys/kgssapi/gss_set_cred_option.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_test_oid_set_member.c b/sys/kgssapi/gss_test_oid_set_member.c index 9642478eb1a0..7c3b3c04282a 100644 --- a/sys/kgssapi/gss_test_oid_set_member.c +++ b/sys/kgssapi/gss_test_oid_set_member.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_unwrap.c b/sys/kgssapi/gss_unwrap.c index 3b6d614d275d..4bd2f89e538e 100644 --- a/sys/kgssapi/gss_unwrap.c +++ b/sys/kgssapi/gss_unwrap.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_verify_mic.c b/sys/kgssapi/gss_verify_mic.c index 0a8e7c421117..c5c233bb9bc1 100644 --- a/sys/kgssapi/gss_verify_mic.c +++ b/sys/kgssapi/gss_verify_mic.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_wrap.c b/sys/kgssapi/gss_wrap.c index 99bf6860617f..4f78e2bf17ab 100644 --- a/sys/kgssapi/gss_wrap.c +++ b/sys/kgssapi/gss_wrap.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gss_wrap_size_limit.c b/sys/kgssapi/gss_wrap_size_limit.c index 17bedb2ee871..275f96757b24 100644 --- a/sys/kgssapi/gss_wrap_size_limit.c +++ b/sys/kgssapi/gss_wrap_size_limit.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gssapi_impl.h b/sys/kgssapi/gssapi_impl.h index c14325543a05..1b8fb2ff6c30 100644 --- a/sys/kgssapi/gssapi_impl.h +++ b/sys/kgssapi/gssapi_impl.h @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gssd_prot.c b/sys/kgssapi/gssd_prot.c index f888baf6e622..c5fe36fdf38c 100644 --- a/sys/kgssapi/gssd_prot.c +++ b/sys/kgssapi/gssd_prot.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/gsstest.c b/sys/kgssapi/gsstest.c index 324ebbfad023..7e57c98d87f5 100644 --- a/sys/kgssapi/gsstest.c +++ b/sys/kgssapi/gsstest.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/krb5/kcrypto.c b/sys/kgssapi/krb5/kcrypto.c index 84c5b498a998..fbe28ab8a474 100644 --- a/sys/kgssapi/krb5/kcrypto.c +++ b/sys/kgssapi/krb5/kcrypto.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/krb5/kcrypto.h b/sys/kgssapi/krb5/kcrypto.h index 54866412f385..452fd6cbcdc0 100644 --- a/sys/kgssapi/krb5/kcrypto.h +++ b/sys/kgssapi/krb5/kcrypto.h @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/krb5/kcrypto_aes.c b/sys/kgssapi/krb5/kcrypto_aes.c index fca963c5f1c6..c616e2e7d5d3 100644 --- a/sys/kgssapi/krb5/kcrypto_aes.c +++ b/sys/kgssapi/krb5/kcrypto_aes.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/krb5/kcrypto_arcfour.c b/sys/kgssapi/krb5/kcrypto_arcfour.c index d672186419c9..317825af7a91 100644 --- a/sys/kgssapi/krb5/kcrypto_arcfour.c +++ b/sys/kgssapi/krb5/kcrypto_arcfour.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/krb5/kcrypto_des.c b/sys/kgssapi/krb5/kcrypto_des.c index 3958897234e5..333332ab4b71 100644 --- a/sys/kgssapi/krb5/kcrypto_des.c +++ b/sys/kgssapi/krb5/kcrypto_des.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/krb5/kcrypto_des3.c b/sys/kgssapi/krb5/kcrypto_des3.c index ea39c1069e2a..57f5a39478a4 100644 --- a/sys/kgssapi/krb5/kcrypto_des3.c +++ b/sys/kgssapi/krb5/kcrypto_des3.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein diff --git a/sys/kgssapi/krb5/krb5_mech.c b/sys/kgssapi/krb5/krb5_mech.c index 38db0d272bc8..ecec8d6b86f9 100644 --- a/sys/kgssapi/krb5/krb5_mech.c +++ b/sys/kgssapi/krb5/krb5_mech.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * * Copyright (c) 2008 Isilon Inc http://www.isilon.com/ * Authors: Doug Rabson * Developed with Red Inc: Alfred Perlstein