[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT/NEWLIB PATCH 5/6] syslog.c: Add licenses


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Wed, 14 Aug 2019 21:57:04 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx
  • Delivery-date: Wed, 14 Aug 2019 18:57:23 +0000
  • Ironport-phdr: 9a23:hOPEthap99j5BjIfreaJuEb/LSx+4OfEezUN459isYplN5qZrsi8bnLW6fgltlLVR4KTs6sC17OM9fm6CCdevt6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vMhm6txjdutcSjIdtK6s8yAbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrRyhuRJx3oDaboKSOvV8cKPQZs8WSXZbU8pNTSFNHp+wYo0SBOQBJ+ZYqIz9qkMQoBu5HgmsGOLvyjlVjXHwwK06y/khGhzB0QM8GNIOq2jUrNTzNKsIVeC10bHIzSjYYvxKwjfx8pDIcg06rv2WR7JwdtPcxE8yHA3GllWdsZHpMjyI2ugXsGWW7/BsWfyxh2MlsQ18rCCjytojh4XUnI4YyVDJ+T9nzIs7K9C0UlN3bNG6HJZWqiqULZF5Qtk4TGFtoCs6z7oGtoOlcyUS05QnwgLfa+SAc4iV/hLvTOaRLil8hHJiYL+/mROy/lKhyu34TMW7zE1KojBdktnRrX8BzQbT6s+fRvt8+EeuxyqP2hjO5uxLPEw4j6nWJp47zrIuiJYes17PEyHulEXzlqCWd0Ek+uay6+TgZ7XrvoOTN4hvigHiM6QunNazAeAlMggWQmiW4viz1Kb58U3hXbVFlec6krPesJzCP8QUura5AxNJ0oYk8xu/Cjam0NIZnXkAN1JJYQ+IgJb3O17QJPD1FvO/g1W3kDd33PDKJLLgDYvLLnTZl7fhZ7l94VZGyAUv1dBf+45UCrYZLfL9REDxsN3YDgcnPACuw+bnFdR92Z8fWW+UBK+WLr/dsVuS6e00OeWDepIVsi7nK/c5//7ukWM5mVgFcKmy3ZsYcmq4Ee5gI0mDenrjmNEBEXsKvgUkSuzlkliCXCVVZ3msQ6084is0B5m8AYjdW4CnmKaB0zujHp1KemBGDUiBEWzpd4WBXPcMbjieIsx8kjMaU7igSpEu1Qu1uQ/81bVoMu7U9TcDup75ytd1+r6bqRZn8D1yDsOGlm2AUWxwtmcJXCMtmrBypwp60FjQ/7J/hqlzEsdP5vUBdhoiKNaIxOthF9H0HAbcZsqhQ03gWsisRys2GIFii+QSalpwTo3xxivI2DCnVucY
  • Ironport-sdr: Bhi7Oc+kaoJgk1U3IcHMpw3YX12kgbjfs9w49ZvnECZuww9IqNr/4E7rnbETT8sfW0IWJXnibw Y6miaoiQrMBA==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

We added the BSD license of OsV and the MIT license of musl.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 musl-imported/src/syslog.c | 56 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 55 insertions(+), 1 deletion(-)

diff --git a/musl-imported/src/syslog.c b/musl-imported/src/syslog.c
index 941a175..54a03e9 100644
--- a/musl-imported/src/syslog.c
+++ b/musl-imported/src/syslog.c
@@ -1,4 +1,58 @@
-
+/* SPDX-License-Identifier: BSD-3-Clause AND MIT */
+/*
+ * Copyright (C) 2014, Cloudius Systems, Ltd.
+ * Copyright (c) 2019, University Politehnica of Bucharest.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * 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 author nor the names of any co-contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
+ */
+/* For the parts taken from musl (marked as such below), the MIT licence
+ * applies instead:
+ * ----------------------------------------------------------------------
+ * Copyright (c) 2005-2014 Rich Felker, et al.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining
+ * a copy of this software and associated documentation files (the
+ * "Software"), to deal in the Software without restriction, including
+ * without limitation the rights 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 all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ * CLAIM, DAMAGES OR OTHER 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 THE SOFTWARE.
+ * ----------------------------------------------------------------------
+ */
 // adapted from musl's version, just writes to stdio
 
 #include <syslog.h>
-- 
2.20.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.