Rework COPYING installed in /usr/include/xen/, due to several licences
authorAnthony PERARD <anthony.perard@citrix.com>
Thu, 3 Nov 2022 11:52:03 +0000 (11:52 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 16 Nov 2022 16:15:23 +0000 (16:15 +0000)
commit4ea75e9a9058db43a495f646132734b51d438ec1
treecfd85cf3d72075e2542946493568cdae51a3e61c
parent8e75d6c36b0bb70e80d8e570d578706f7d51765a
Rework COPYING installed in /usr/include/xen/, due to several licences

The notice in the COPYING file in "xen/include/public/COPYING" doesn't
really apply to the files that ultimately are been install at
"/usr/include/xen". The issue are headers in the "sys/" subdirectory
that comes from other projects such as Linux or FreeBSD.

The main issue is that there are two headers that have a different
licence than the MIT licence:

- xen-sys/Linux/gntalloc.h (installed as "sys/gntalloc.h") is public
  domain.
- xen-sys/FreeBSD/gntdev.h (installed as "sys/gntdev.h") is BSD-2.

To clarify this, we'll install a COPYING file with a different notice.

Reported-by: Andrew Cooper <Andrew.Cooper3@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
.gitignore
tools/include/Makefile
tools/include/xen/.gitignore [new file with mode: 0644]
tools/include/xen/COPYING [new file with mode: 0644]