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

[Minios-devel] [UNIKRAFT/NEWLIB PATCH 2/6] syslog.h: Adapt to Unikraft


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Wed, 14 Aug 2019 21:57:01 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx, Bogdan Lascu <lascu.bogdan96@xxxxxxxxx>
  • Delivery-date: Wed, 14 Aug 2019 18:57:22 +0000
  • Ironport-phdr: 9a23:65oOVx8VyqOr5P9uRHKM819IXTAuvvDOBiVQ1KB+0+8RIJqq85mqBkHD//Il1AaPAdyBrase2qGI7OjJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fcbglVmjaxe65+IAuyoAnet8Qbg5ZpJ7osxBfOvnZGYfldy3lyJVKUkRb858Ow84Bm/i9Npf8v9NNOXLvjcaggQrNWEDopM2Yu5M32rhbDVheA5mEdUmoNjBVFBRXO4QzgUZfwtiv6sfd92DWfMMbrQ704RSiu4qF2QxLzliwJKyA2/33WisxojaJUvhShpwBkw4XJZI2ZLedycr/Bcd8fQ2dKQ8RfWDFbAo6kb4UBEfcPM+hboYf6pVQOoxSxChWjCu701j9In2X70bEg3ug9EwzL2hErEdIUsHTTqdX4LLkfUeeuzKnUzDXDae5d1zHg6IjQbxAqvPaBUq53ccrK1UkvFgXFgk+UqYz4JzOVy/8AvHSA7+Z6TeKvlnUopxtrojio38ohjJTCiIENyl3c6Cl0z5s5Kce7RUN7e9KoDoVcuiOAO4Z4Ws8uXm5ltDsgxrAFuZO3ZjYGxZopyhLFdvCKfJaE7xT+X+iLOzh4nmhqeLeniha39kiv1/PzW9Gv0FZPsipFit7Mtm0R1xDL6siIVP99/kC51DaR0gDc8OBEIUQumaXHMJ4t2KYwlocIvkjZBC/2n136jK6Qdko65uil8/nrb7r7qpOGNIJ5ihvyProwlsG9G+g1PBACX22B9uS90L3j81f5QLJPjvAujqbZt4vaJdgapq6/GQNV1psj6w6iDzq9zNsYhmMLLEpYeB2clYTpIVbOLOjiDfijm1SsjCtrx/feM73lGJrNNWTMkKr7cblm7E5cxxc8wspZ559QC7wMO/3zWkrru9zZCh81KRC7w+HiCN9lzIMRRXqPArOFMKPVqVKI4+MvI++NZI8SozbxMuUq6ODwjXAnnV8QZq2p3ZoMaHCkBfRqOUqYbmTqgtsbFmcKpAU+RvTwiFKeST5Te2qyX6Uk6zE1Fo2mCYbDRpizj7Cb3Ce7A5xWaXxHCl2XF3fnaZmLW/MWZy2JOMNujCEEX6C7S4A9zRGuqBP6y71/I+rP+i0Xr4jj28Jz5+HJjhE97zp0D9id026XSWF7hGYISiQw3K9hvUN9zk2M3rNij/NGCNxZ/+lJXRsiNZ7A0+x6DMj/WhnAfteMT1amRM+qATIsTt0vxd8PYlhyG8+5gxDFwSWlH7sVmKaQC5Au7K3cwiu5G8EoznfA1a46ylUrXMZLHWmnnbJksRjeAcjOiUrKubytcPE32zXR9WHL6XeWoQkMWwlrTaTDG3QCflb+ps+//l7ICaWpX+d0ejBdwNKPf/MZIubiik9LEbK6YIzT
  • Ironport-sdr: DH4YCHnLgyoSuU3opV5wzycidfiywvmLBYQ/dlSUcQzc5VBE5jr60Siox6WLWnA8OgiU5wgqiP RnswUJJillvw==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

From: Bogdan Lascu <lascu.bogdan96@xxxxxxxxx>

* Fix include
* Add licenses

Signed-off-by: Bogdan Lascu <lascu.bogdan96@xxxxxxxxx>
Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 musl-imported/include/sys/syslog.h | 24 ++++++++++++++++++++++++
 musl-imported/include/syslog.h     | 26 +++++++++++++++++++++++++-
 2 files changed, 49 insertions(+), 1 deletion(-)

diff --git a/musl-imported/include/sys/syslog.h 
b/musl-imported/include/sys/syslog.h
index 7761ece..852b347 100644
--- a/musl-imported/include/sys/syslog.h
+++ b/musl-imported/include/sys/syslog.h
@@ -1 +1,25 @@
+/* SPDX-License-Identifier: MIT */
+/* ----------------------------------------------------------------------
+ * Copyright © 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.
+ * ----------------------------------------------------------------------
+ */
 #include <syslog.h>
diff --git a/musl-imported/include/syslog.h b/musl-imported/include/syslog.h
index 5b4d296..a5d312d 100644
--- a/musl-imported/include/syslog.h
+++ b/musl-imported/include/syslog.h
@@ -1,3 +1,27 @@
+/* SPDX-License-Identifier: MIT */
+/* ----------------------------------------------------------------------
+ * Copyright © 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.
+ * ----------------------------------------------------------------------
+ */
 #ifndef _SYSLOG_H
 #define _SYSLOG_H
 
@@ -5,7 +29,7 @@
 extern "C" {
 #endif
 
-#include <features.h>
+/* TODO #include <features.h> */
 
 #define LOG_EMERG   0
 #define LOG_ALERT   1
-- 
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®.