Re: __wcscpy_chk and Python 3

2018-08-13 Thread Nadav Har'El
On Tue, Aug 14, 2018 at 12:34 AM, Waldek Kozaczuk wrote: > I managed to get Python 3.5 working on OSv (I only tested simple 'Hello > world!' and httpserver example). However to get it working I had to add > missing __wcscpy_chk to libc. > > According to

__wcscpy_chk and Python 3

2018-08-13 Thread Waldek Kozaczuk
I managed to get Python 3.5 working on OSv (I only tested simple 'Hello world!' and httpserver example). However to get it working I had to add missing __wcscpy_chk to libc. According to http://refspecs.linux-foundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/libc---wcscpy-chk-1.html

Re: __wcscpy_chk and Python 3

2018-08-13 Thread Geraldo Netto
Hello Waldek/Friends! :) On Mon, 13 Aug 2018 at 18:34, Waldek Kozaczuk wrote: > I managed to get Python 3.5 working on OSv (I only tested simple 'Hello > world!' and httpserver example). However to get it working I had to add > missing __wcscpy_chk to libc. > > According to >

RE: [PATCH 07/16] bsd: Modifications to shared IPv4/IPv6 code (eth,tcp,udp) for IPv6

2018-08-13 Thread Myers, Charles
The lltable stuff could probably have been split into another commit since it isn’t really related to anything else other than it is in the same file, but it was small/simple enough that I thought that wasn’t necessary. The rest of the change changes are enabling IPv6 stuff in the IPv4 code

[PATCH] Added libc __wcscpy_chk function

2018-08-13 Thread Waldemar Kozaczuk
This patch adds libc __wcscpy_chk needed by Python 3. Please see http://refspecs.linux-foundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/libc---wcscpy-chk-1.html for details. Signed-off-by: Waldemar Kozaczuk --- Makefile | 1 + libc/string/__wcscpy_chk.c | 15

RE: [PATCH 08/16] bsd: OSv API support for IPv6

2018-08-13 Thread Myers, Charles
It was left as a FIXME because I wasn’t sure how to best address this issue. AF_INET is just lucky because it is the same for Linux and FreeBSD (2). AF_INET6 is 28 in FreeBSD and 10 on Linux. AF_INET6 could be changed to 10 in FreeBSD code to avoid issues with IPv6 too. but if you want to keep

[PATCH] Improved python27

2018-08-13 Thread Waldemar Kozaczuk
This patch renames python27 to python2x and improves it by discovering Python home directory by reading sys.* variables. Signed-off-by: Waldemar Kozaczuk --- python27/README | 8 {python27 => python2x}/GET | 17 ++--- {python27 =>

getrandom/sys_getrandom

2018-08-13 Thread Waldek Kozaczuk
I managed to get Python 3.5 working on OSv but reporting missing 318 syscall. With version 3.6 and above Python is trying to invoke getrandom which obviously fails due to missing symbol. How difficult would it be implement this function? -- You received this message because you are subscribed

Re: [PATCH 00/16] OSv IPv6 support

2018-08-13 Thread Nadav Har'El
On Tue, Aug 7, 2018 at 5:49 AM, Charles Myers wrote: > This patch series adds IPv6 support to OSv. > > The first 5 parts of the series should have no impact on existing > OSv code. The rest of the patches starting from the net channel > changes do impact existing code. > Thanks. Very

Re: [PATCH 16/16] bsd: Added conf-INET6 option to enable IPv6 support

2018-08-13 Thread Nadav Har'El
On Tue, Aug 7, 2018 at 5:49 AM, Charles Myers wrote: > Signed-off-by: Charles Myers > --- > Makefile | 27 ++- > bsd/net.cc | 23 +++- > bsd/porting/netport.h| 4 +++ >

Re: [PATCH 14/16] cloud-init: Added support for Network v1 and ConfigDrive data source

2018-08-13 Thread Nadav Har'El
All looks good. Thanks. -- Nadav Har'El n...@scylladb.com On Tue, Aug 7, 2018 at 5:49 AM, Charles Myers wrote: > https://cloudinit.readthedocs.io/en/latest/topics/network- > config-format-v1.html > > Currently only interface naming, static IP, routes and DNS are supported. > > Signed-off-by:

Re: [PATCH 15/16] bsd: Added unit tests for IPv6 TCP, IP_PKTINFO, IPV6_PKTINFO, SCM_TIMESTAMP

2018-08-13 Thread Nadav Har'El
Thanks. I am very happy you added these tests :-) Only some minor comments below. On Tue, Aug 7, 2018 at 5:49 AM, Charles Myers wrote: > Signed-off-by: Charles Myers > --- > modules/tests/Makefile| 16 ++- > tests/tst-pktinfo.cc | 245 ++ >

Re: [PATCH 09/16] bsd: Added partial Linux NETLINK socket support

2018-08-13 Thread Nadav Har'El
Looks good. You say that "NETLINK is used to support IPv4/IPv6 LIBC getifaddrs(), if_nameindex().". But our implementations of these functions don't use netlink. Do you plan to change them (I guess I'll see it in a following patch)? Or just thinking of other software which uses these netlink

Re: [PATCH 11/16] libc: Add IPv6 support to getifaddrs(), if_nameindex() using NETLINK socket

2018-08-13 Thread Nadav Har'El
On Tue, Aug 7, 2018 at 5:49 AM, Charles Myers wrote: > libc code is from musl library Which version? It's not the version we have in musl/, right? So which version? > with minor change to prevent partial reads if faster than sender. > Is this fixing a bug in musl (in which case you should

Re: [PATCH 12/16] bsd: Fix SIOCSIFNAME when using linux compatiblity socket

2018-08-13 Thread Nadav Har'El
On Tue, Aug 7, 2018 at 5:49 AM, Charles Myers wrote: > Signed-off-by: Charles Myers > --- > bsd/sys/compat/linux/linux_ioctl.cc | 37 ++ > +++ > 1 file changed, 33 insertions(+), 4 deletions(-) > > diff --git a/bsd/sys/compat/linux/linux_ioctl.cc >

Re: change redis appliance to cluster mode

2018-08-13 Thread Waldek Kozaczuk
Yeah in essence capstan will work with anything that allows downloading files over HTTP/S (here is mikelangelo capstan repo - https://mikelangelo-capstan.s3.amazonaws.com/). The only caveat is that capstan expects a listing of files in S3 format which is xml. It should not be to difficult to