slirp: clarify license of slirp as BSD-3

-----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJclTSiAAoJENro4Ql1lpzl4pIP/AstfTZ/IgII3LapdB+cVB1A
 MvlX2JLRl6OYYVOQNsM83oiOeVZQYAsKoV/HTViDEzsDWInFTGojr4Y8EPU8oLav
 8ssyGT7BPpVgF52ka99RLIsTnWptG+CWGNTX3Y3Ycb8WmmEUWhsabgL7Akv0OMw4
 fLH4qwFeHYhBsXaPwWouerVEYJgz2sq6RglUC2DMLBHWPPnmTmf8Qit47qJEhycc
 ykTa1tqBj7FVPv8bj4tlLjzGwQhjZag/j+hPHiwrbREqF2k3C+KUOl5Bj8AOj6UQ
 XLN5lJDTEisGVJOtGb6XlTs3f+QF9sF5YPW7gjam0GpmK2kSUsuAuepcr5NsnUWq
 skvMxRhwmOXHXGfWUS1/fSfPnKDnaZDLbGpl29FVLEh3onzbUFqYd0v3Fy1XXAWQ
 5r0USRj4xquCmQ7XJkkW3n+uElLQjC5GkhKvz/fzrDlM0YxTS5xV9Cgj+B0+Wiyc
 x7MRGWe7IBEVLC8NT6EpnZJ4HnmJi4B6J5a6pcPL353yj32BsZA8wwh81fjvSKD4
 5OQL0YOzrlgMRF03eh2VcJEMkPdBtbXJDpRBPHVTXcuXNviACaONcCgg3KnXXQ7J
 57V9whkfjxWCvNeOMOfNFtksvCT0UrCZhRw6Dz/Q6Rg/PJlRaMSyyOyB0VcmRHMa
 kumTDRG28lN8J/KzbQvm
 =TUq6
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/elmarco/tags/slirp-pull-request' into staging

slirp: clarify license of slirp as BSD-3

# gpg: Signature made Fri 22 Mar 2019 19:16:50 GMT
# gpg:                using RSA key DAE8E10975969CE5
# gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full]
# gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full]
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5

* remotes/elmarco/tags/slirp-pull-request:
  slirp: is not maintained by Kelly Price for a long time
  slirp: remove reference to COPYRIGHT file
  slirp: clarify license of slirp files using SPDX: implicit via unstated
  slirp: clarify license of slirp files using SPDX: implicit via COPYRIGHT
  slirp: clarify license of slirp files using SPDX: explicit MIT
  slirp: clarify license of slirp files using SPDX: explicit BSD
  slirp: relicense GPL files to BSD-3
  slirp: update COPYRIGHT to use full 3-Clause BSD License

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2019-03-25 07:59:40 +00:00
commit c442b7b4a7
57 changed files with 229 additions and 85 deletions

View File

@ -1,8 +1,6 @@
Slirp was written by Danny Gasparovski. Slirp was written by Danny Gasparovski.
Copyright (c), 1995,1996 All Rights Reserved. Copyright (c), 1995,1996 All Rights Reserved.
Slirp is maintained by Kelly Price <tygris+slirp@erols.com>
Slirp is free software; "free" as in you don't have to pay for it, and you Slirp is free software; "free" as in you don't have to pay for it, and you
are free to do whatever you want with it. I do not accept any donations, are free to do whatever you want with it. I do not accept any donations,
monetary or otherwise, for Slirp. Instead, I would ask you to pass this monetary or otherwise, for Slirp. Instead, I would ask you to pass this
@ -25,6 +23,9 @@ The copyright terms and conditions:
2. Redistributions in binary form must reproduce the above copyright 2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution. documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* ARP table * ARP table
* *

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* QEMU BOOTP/DHCP server * QEMU BOOTP/DHCP server
* *

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* bootp/dhcp defines */ /* bootp/dhcp defines */
#ifndef SLIRP_BOOTP_H #ifndef SLIRP_BOOTP_H

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1988, 1992, 1993 * Copyright (c) 1988, 1992, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#ifndef DEBUG_H_ #ifndef DEBUG_H_

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* SLIRP stateless DHCPv6 * SLIRP stateless DHCPv6
* *
@ -6,18 +7,35 @@
* *
* Copyright 2016 Thomas Huth, Red Hat Inc. * Copyright 2016 Thomas Huth, Red Hat Inc.
* *
* This program is free software; you can redistribute it and/or modify * Redistribution and use in source and binary forms, with or without
* it under the terms of the GNU General Public License as published by * modification, are permitted provided that the following conditions
* the Free Software Foundation; either version 2 of the License, * are met:
* or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * 1. Redistributions of source code must retain the above
* but WITHOUT ANY WARRANTY; without even the implied warranty of * copyright notice, this list of conditions and the following
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * disclaimer.
* GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * 2. Redistributions in binary form must reproduce the above
* along with this program; if not, see <http://www.gnu.org/licenses/>. * copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,10 +1,38 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Definitions and prototypes for SLIRP stateless DHCPv6 * Definitions and prototypes for SLIRP stateless DHCPv6
* *
* Copyright 2016 Thomas Huth, Red Hat Inc. * Copyright 2016 Thomas Huth, Red Hat Inc.
* *
* This work is licensed under the terms of the GNU GPL, version 2 * Redistribution and use in source and binary forms, with or without
* or later. See the COPYING file in the top-level directory. * modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this list of conditions and the following
* disclaimer.
*
* 2. Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef SLIRP_DHCPV6_H #ifndef SLIRP_DHCPV6_H
#define SLIRP_DHCPV6_H #define SLIRP_DHCPV6_H

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* Domain search option for DHCP (RFC 3397) * Domain search option for DHCP (RFC 3397)
* *

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#ifndef IF_H #ifndef IF_H

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1993 * Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 2013 * Copyright (c) 2013
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne. * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 2013 * Copyright (c) 2013
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne. * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 2013 * Copyright (c) 2013
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne. * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 2013 * Copyright (c) 2013
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne. * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 2013 * Copyright (c) 2013
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne. * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1993 * Copyright (c) 1982, 1986, 1988, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1993 * Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1993 * Copyright (c) 1982, 1986, 1988, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
@ -33,9 +34,6 @@
/* /*
* Changes and additions relating to SLiRP are * Changes and additions relating to SLiRP are
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1990, 1993 * Copyright (c) 1982, 1986, 1988, 1990, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
@ -33,9 +34,6 @@
/* /*
* Changes and additions relating to SLiRP are * Changes and additions relating to SLiRP are
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef LIBSLIRP_H #ifndef LIBSLIRP_H
#define LIBSLIRP_H #define LIBSLIRP_H

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#ifndef SLIRP_MAIN_H #ifndef SLIRP_MAIN_H

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski * Copyright (c) 1995 Danny Gasparovski
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
/* /*

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1993 * Copyright (c) 1982, 1986, 1988, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#ifndef MISC_H #ifndef MISC_H

View File

@ -1,10 +1,36 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright Gavin Shan, IBM Corporation 2016. * Copyright Gavin Shan, IBM Corporation 2016.
* *
* This program is free software; you can redistribute it and/or modify * Redistribution and use in source and binary forms, with or without
* it under the terms of the GNU General Public License as published by * modification, are permitted provided that the following conditions
* the Free Software Foundation; either version 2 of the License, or * are met:
* (at your option) any later version. *
* 1. Redistributions of source code must retain the above
* copyright notice, this list of conditions and the following
* disclaimer.
*
* 2. Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef NCSI_PKT_H #ifndef NCSI_PKT_H

View File

@ -1,10 +1,38 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* NC-SI (Network Controller Sideband Interface) "echo" model * NC-SI (Network Controller Sideband Interface) "echo" model
* *
* Copyright (C) 2016-2018 IBM Corp. * Copyright (C) 2016-2018 IBM Corp.
* *
* This code is licensed under the GPL version 2 or later. See the * Redistribution and use in source and binary forms, with or without
* COPYING file in the top-level directory. * modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this list of conditions and the following
* disclaimer.
*
* 2. Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 2013 * Copyright (c) 2013
* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne. * Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* $NetBSD: queue.h,v 1.52 2009/04/20 09:56:08 mschuett Exp $ */ /* $NetBSD: queue.h,v 1.52 2009/04/20 09:56:08 mschuett Exp $ */
/* /*

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#ifndef SBUF_H #ifndef SBUF_H

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* libslirp glue * libslirp glue
* *

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef SLIRP_H #ifndef SLIRP_H
#define SLIRP_H #define SLIRP_H

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,8 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#ifndef SLIRP_SOCKET_H #ifndef SLIRP_SOCKET_H

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* libslirp * libslirp
* *

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* libslirp io streams * libslirp io streams
* *

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
#ifndef STREAM_H_ #ifndef STREAM_H_
#define STREAM_H_ #define STREAM_H_

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1993 * Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994 * Copyright (c) 1982, 1986, 1988, 1990, 1993, 1994
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
@ -33,9 +34,6 @@
/* /*
* Changes and additions relating to SLiRP * Changes and additions relating to SLiRP
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1990, 1993 * Copyright (c) 1982, 1986, 1988, 1990, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
@ -33,9 +34,6 @@
/* /*
* Changes and additions relating to SLiRP * Changes and additions relating to SLiRP
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1990, 1993 * Copyright (c) 1982, 1986, 1988, 1990, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.
@ -33,9 +34,6 @@
/* /*
* Changes and additions relating to SLiRP * Changes and additions relating to SLiRP
* Copyright (c) 1995 Danny Gasparovski. * Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/ */
#include "slirp.h" #include "slirp.h"

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1990, 1993 * Copyright (c) 1982, 1986, 1988, 1990, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1993 * Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1993, 1994 * Copyright (c) 1982, 1986, 1993, 1994
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1993 * Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* tftp.c - a simple, read-only tftp server for qemu * tftp.c - a simple, read-only tftp server for qemu
* *

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* tftp defines */ /* tftp defines */
#ifndef SLIRP_TFTP_H #ifndef SLIRP_TFTP_H

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1988, 1990, 1993 * Copyright (c) 1982, 1986, 1988, 1990, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 1982, 1986, 1993 * Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved. * The Regents of the University of California. All rights reserved.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* Copyright (c) 2013 * Copyright (c) 2013
* Guillaume Subiron * Guillaume Subiron

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* util.c (mostly based on QEMU os-win32.c) * util.c (mostly based on QEMU os-win32.c)
* *

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT */
/* /*
* Copyright (c) 2003-2008 Fabrice Bellard * Copyright (c) 2003-2008 Fabrice Bellard
* Copyright (c) 2010-2019 Red Hat, Inc. * Copyright (c) 2010-2019 Red Hat, Inc.

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* VMState interpreter * VMState interpreter
* *
@ -6,8 +7,35 @@
* Authors: * Authors:
* Juan Quintela <quintela@redhat.com> * Juan Quintela <quintela@redhat.com>
* *
* This work is licensed under the terms of the GNU GPL, version 2 or later. * Redistribution and use in source and binary forms, with or without
* See the COPYING file in the top-level directory. * modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above
* copyright notice, this list of conditions and the following
* disclaimer.
*
* 2. Redistributions in binary form must reproduce the above
* copyright notice, this list of conditions and the following
* disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: BSD-3-Clause */
/* /*
* QEMU migration/snapshot declarations * QEMU migration/snapshot declarations
* *
@ -5,23 +6,35 @@
* *
* Original author: Juan Quintela <quintela@redhat.com> * Original author: Juan Quintela <quintela@redhat.com>
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Redistribution and use in source and binary forms, with or without
* of this software and associated documentation files (the "Software"), to deal * modification, are permitted provided that the following conditions
* in the Software without restriction, including without limitation the rights * are met:
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
* *
* The above copyright notice and this permission notice shall be included in * 1. Redistributions of source code must retain the above
* all copies or substantial portions of the Software. * copyright notice, this list of conditions and the following
* disclaimer.
* *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * 2. Redistributions in binary form must reproduce the above
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * copyright notice, this list of conditions and the following
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * disclaimer in the documentation and/or other materials provided
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * with the distribution.
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, *
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * 3. Neither the name of the copyright holder nor the names of its
* THE SOFTWARE. * contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef VMSTATE_H_ #ifndef VMSTATE_H_
#define VMSTATE_H_ #define VMSTATE_H_