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

[Minios-devel] [UNIKRAFT/NEWLIB PATCH 0/6] Add syslog support


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Wed, 14 Aug 2019 21:56:59 +0300
  • Cc: felipe.huici@xxxxxxxxx, simon.kuenzer@xxxxxxxxx, sharan.santhanam@xxxxxxxxx
  • Delivery-date: Wed, 14 Aug 2019 18:57:18 +0000
  • Ironport-phdr: 9a23:zPnyKhHcW1a/Q2CRK9gv7J1GYnF86YWxBRYc798ds5kLTJ7yo86wAkXT6L1XgUPTWs2DsrQY0rCQ6vqxEjJfqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba5sIBmssAndqM0bjYRjJ6sz1xDEvmZGd+NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLDTRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljjoMOjgk+2/Vl8NwlrpWrhK/qRJizYDaY4abOeFicq/BZ94WWXBMUtpNWyFHH4iyb5EPD+0EPetAsYT9oEAOrQe/BQmqGejhzCJIhmfr3aYn1OkuDQbG3Bc8H9IPtnTYttH1NLoKUeCo16TH0S7DY+lO2Tfg84fEaAohofaVUL92bMHfylEvGhvYgliftIDpJTCY2+QXv2SF8eZtV/ijhmA/pw1srTWj290gh4rJi44P1FzJ+yt0zJwoKdC3VkJ2Z8OvHoFKuCGALYR2R9svQ2RvuCkn1LILoYW7fC0WyJQ/wB7fduCHf5CI4h39UOaRJi91hGxgeL2lhhay9VKsxfHnVsWuyFZKszFKnsPWtnAKzxDT686HReVh/kq5xDqC2B3f5vtHLE00j6bXNYAtz7wqmpcdqUjDGzX5mETyjK+YbEUk/e2o5vz7bbXhvZ+cK450igfkPqQqh8y/Gfk4PxMSUGiA4+i8zKDj8lbjTLVQif06irPZv4zCJcQHuq65BBdY0oMi6xa5Djem188YkWAaI11bZhKIkYzpNkrKIPD5Fve/n0+snC1kxv/YOL3tGJLNLmLMkL35Z7Zy91ZcyBYvzdBY/59UBK8OIPbyWk/pqtPUFB85MxG1w+n7CdVwzYUeVnyTDa+dKqzdqkWE6fwyI+OUfo8apC79K+Q55/7plXI5gl8dcrOz3ZQNbnC0BO9mLF+fYXrwgtcOC2EKsRA7TOHxjl2NTyJcZ3KoUK0n/D00Fp+mB5/ZRo+xmLyBwDu7HppOa2BdC1CMFHDod4OeV/cPdSKdPMlhkz0aWri7UIIh0w+huxP+y7V9NeXY4DMXtY+wnORysujSkxA17nl4AtqQ10mJTnpohSUYSjlw27pw8mJnzVLW+q9jn/1eXfhO/+4BBgw9LoLdyap+FsjvcgnaOM+UQhC8RYP1UnkKUtstzopWMA5GENK4g0Wb0g==
  • Ironport-sdr: QHVZvOs/RJyDyFzHyMzTDPx6SZRRod9OrRPzLcSM4ZZ3T7eoyra2qlOAD8d7ODoe1rcng8sQwm cAK9l/43Uv7w==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Upcoming Redis and OpenSSL ports need syslog for printing messages. One way was
to add syslog as an internal Unikraft primitive. But given we currently do not
support most of underlying mechanisms syslog usually depends on (e.g.
/dev/console, /dev/log, UNIX sockets), we chose to import to newlib glue the
simple implementation of OSv which only outputs to stdio.

Costin Lupu (6):
  syslog.h: Import from musl
  syslog.h: Adapt to Unikraft
  syslog.c: Import from osv
  syslog.c: Make it compile
  syslog.c: Add licenses
  syslog.c: Fix checkpatch warnings

 Makefile.uk                        |   1 +
 musl-imported/include/sys/syslog.h |  25 ++++++
 musl-imported/include/syslog.h     | 124 ++++++++++++++++++++++++++
 musl-imported/src/syslog.c         | 137 +++++++++++++++++++++++++++++
 4 files changed, 287 insertions(+)
 create mode 100644 musl-imported/include/sys/syslog.h
 create mode 100644 musl-imported/include/syslog.h
 create mode 100644 musl-imported/src/syslog.c

-- 
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®.