Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2023 13:59:43 GMT
From:      Roger Pau =?utf-8?Q?Monn=C3=A9?= <royger@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 40e1d9d45f0f - main - xen: add SPDX license tags to Xen headers
Message-ID:  <202312151359.3BFDxh1f015519@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by royger:

URL: https://cgit.FreeBSD.org/src/commit/?id=40e1d9d45f0f6798e404eb7d63afb3976e85cc02

commit 40e1d9d45f0f6798e404eb7d63afb3976e85cc02
Author:     Elliott Mitchell <ehem+freebsd@m5p.com>
AuthorDate: 2021-11-02 05:53:44 +0000
Commit:     Roger Pau Monné <royger@FreeBSD.org>
CommitDate: 2023-12-15 13:59:25 +0000

    xen: add SPDX license tags to Xen headers
    
    These are in fact GPLv2 when distributed with the Linux kernel, but the
    license also allows MIT if distributed separately.  Add the markers to
    avoid interference by automated tools.
    
    Differential Revision: https://reviews.freebsd.org/D32796
    Reviewed by: royger
---
 sys/amd64/include/xen/hypercall.h | 2 ++
 sys/i386/include/xen/hypercall.h  | 2 ++
 sys/xen/gnttab.h                  | 2 ++
 sys/xen/privcmd.h                 | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/sys/amd64/include/xen/hypercall.h b/sys/amd64/include/xen/hypercall.h
index f62250679f0f..48d60e345983 100644
--- a/sys/amd64/include/xen/hypercall.h
+++ b/sys/amd64/include/xen/hypercall.h
@@ -1,4 +1,6 @@
 /******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
  * hypercall.h
  *
  * FreeBSD-specific hypervisor handling.
diff --git a/sys/i386/include/xen/hypercall.h b/sys/i386/include/xen/hypercall.h
index 94bb42e38a39..2a8b36f0f7cd 100644
--- a/sys/i386/include/xen/hypercall.h
+++ b/sys/i386/include/xen/hypercall.h
@@ -1,4 +1,6 @@
 /******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
  * hypercall.h
  *
  * Linux-specific hypervisor handling.
diff --git a/sys/xen/gnttab.h b/sys/xen/gnttab.h
index d85f882c0c4b..583f19128377 100644
--- a/sys/xen/gnttab.h
+++ b/sys/xen/gnttab.h
@@ -1,4 +1,6 @@
 /******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
  * gnttab.h
  * 
  * Two sets of functionality:
diff --git a/sys/xen/privcmd.h b/sys/xen/privcmd.h
index 8ae1732ae75b..cf620af31f4f 100644
--- a/sys/xen/privcmd.h
+++ b/sys/xen/privcmd.h
@@ -1,4 +1,6 @@
 /******************************************************************************
+ * SPDX-License-Identifier: MIT OR GPL-2.0-only
+ *
  * privcmd.h
  * 
  * Interface to /proc/xen/privcmd.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312151359.3BFDxh1f015519>