Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Geraldo Netto
Hello! I might be saying some non sense But maybe we don't have all the bare minimum drivers to boot it up from bare metal Maybe one strategy would be to DD the image to a disk and try to boot from it before trying grub configuration? Keep Rocking, Geraldo Netto Em ter, 3 de dez de 2019 13:25

Re: [osv-dev] Re: Python 3 Scikitlearn

2019-11-02 Thread Geraldo Netto
Dear Henrique/Friends, Maybe we could "reshape" freebsd[1]/musl libc implementation [2] Of course, it might take a while but it's doable [1] https://github.com/freebsd/freebsd/search?q=sem_open_q=sem_open [2] https://git.musl-libc.org/cgit/musl/tree/src/thread Keep Rocking, Ger

Re: [osv-dev] Resurrecting ARM support

2019-06-27 Thread Geraldo Netto
for the same reason) I know it's a radical approach, but considering that in practise only You and Nadav work on OSv It seems the best strategy for the moment Keep Rocking/Semper Fidelis, Geraldo Netto Sapere Aude => Non dvcor, dvco site: http://exdev.sf.net/ github: https://github.com/geraldo-ne

Re: [osv-dev] Modernizing and cleaning build system

2019-03-31 Thread Geraldo Netto
Hi! I might be saying some nonsense, but... On Sun, 31 Mar 2019 at 17:25, Nadav Har'El wrote: > n Sun, Mar 31, 2019 at 5:58 PM Waldek Kozaczuk > wrote: > >> Here is a list of things we should try to do: >> > > I think there are two very different issues involved here, that don't > really need

Re: [osv-dev] Hermitux - A Binary-Compatible Unikernel

2019-03-31 Thread Geraldo Netto
Helo Waldek/Friends, Red Hat is also doing research on unikernels: https://github.com/razaaliraza/ukl So, this linux unikernel might not require modification too But I didn't try... Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Sun, 31 Mar 2019 at 17

[osv-dev] [PATCH] tomcat: require java8

2019-03-10 Thread geraldo netto
Signed-off-by: geraldo netto --- tomcat/module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tomcat/module.py b/tomcat/module.py index cbe6872..a9584db 100644 --- a/tomcat/module.py +++ b/tomcat/module.py @@ -1,5 +1,7 @@ from osv.modules import api +api.require('java8

[osv-dev] Re: [PATCH] add and explicit java8 alias

2019-03-10 Thread Geraldo Netto
Nadav/Waldek, Do you think it is reasonable to add an alias for each java version? and then if someone wants a different version, we can always use the image=, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Sun, 10 Mar 2019 at 17:31, geraldo netto wrote: > this

[osv-dev] [PATCH] add and explicit java8 alias

2019-03-10 Thread geraldo netto
'] openjdk8-zulu-compact3/module.py:provides = ['java','java8'] openjdk8-zulu-compact3-with-java-beans/module.py:provides = ['java','java8'] openjdk8-zulu-full/module.py:provides = ['java','java8'] openjdk9-zulu-java-base/module.py:provides = ['java','java8','java9'] Signed-off-by: geraldo netto

Re: [osv-dev] [PATCH 0/9] upgrade from tomcat 8 to tomcat 9

2019-03-10 Thread Geraldo Netto
Think I found/fixed it Let me finish the tests to make sure, I'm not missing anything else See You, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Sun, 10 Mar 2019 at 16:52, Geraldo Netto wrote: > Nadav/Waldek, > > It turns out that module.py is not res

Re: [osv-dev] [PATCH 0/9] upgrade from tomcat 8 to tomcat 9

2019-03-10 Thread Geraldo Netto
sktop/osv/config.json ./scripts/build failed: fs_type=$fs_type jdkbase=$jdkbase ARCH=$arch mode=$mode OSV_BASE=$SRC OSV_BUILD_PATH=$OSV_BUILD_PATH scripts/module.py $j_arg build -c $modules $usrskel_arg $no_required_arg Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.

Re: [osv-dev] [PATCH 2/9] update 0001-configure-web-admin-user.patch

2019-03-10 Thread Geraldo Netto
patch conf/web.xml => 0004-disable-Jasper-development-mode.patch conf/server.xml => 0005-bump-up-number-of-threads.patch conf/server.xml => 0006-change-http-port-to-8081.patch conf/server.xml => 0007-Use-nio-connector-explicitly.patch conf/server.xml => 0008-Do-not-enable-AJP-connector.patc

Re: [osv-dev] [PATCH 0/9] upgrade from tomcat 8 to tomcat 9

2019-03-10 Thread Geraldo Netto
ult? > Is this a new Tomcat requirement, that it only runs on Java 8? If it is, we > need to have tomcat "require" Java 8, not just any java (which today is Java > 7). > > Anyway, I wonder how it worked for you? > > -- > Nadav Har'El > n...@scylladb.com > &g

Re: [osv-dev] [PATCH 2/9] update 0001-configure-web-admin-user.patch

2019-03-10 Thread Geraldo Netto
makes simpler to change in future the other users are commented anyway, so, they won't impact and then, in the next patches, we apply the changes just in one single line of course, if you see any problem, please, let me know Kind Regards, Geraldo Netto >> >> update the patch 0001-c

[osv-dev] [PATCH 0/9] upgrade from tomcat 8 to tomcat 9

2019-03-08 Thread geraldo netto
geraldo netto (9): tomcat: upgrade from 8.0.15 to 9.0.16 update 0001-configure-web-admin-user.patch add admin-gui permission add manager-script permission rename: 0003-assign-admin-gui-role-to-tomcat-user -> 0002-assign-admin-gui-role-to-tomcat-user renamed: 0002-change-http-p

[osv-dev] [PATCH 3/9] add admin-gui permission

2019-03-08 Thread geraldo netto
Signed-off-by: geraldo netto --- .../0003-assign-admin-gui-role-to-tomcat-user.patch| 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tomcat/patches/perf/0003-assign-admin-gui-role-to-tomcat-user.patch b/tomcat/patches/perf/0003-assign-admin-gui-role-to-tomcat

[osv-dev] [PATCH 2/9] update 0001-configure-web-admin-user.patch

2019-03-08 Thread geraldo netto
touch the same line Signed-off-by: geraldo netto --- .../perf/0001-configure-web-admin-user.patch | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/tomcat/patches/perf/0001-configure-web-admin-user.patch b/tomcat/patches/perf/0001-configure-web-admin

[osv-dev] [PATCH 1/9] tomcat: upgrade from 8.0.15 to 9.0.16

2019-03-08 Thread geraldo netto
Signed-off-by: geraldo netto --- tomcat/GET | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tomcat/GET b/tomcat/GET index 0a21749..e6af3f3 100755 --- a/tomcat/GET +++ b/tomcat/GET @@ -1,32 +1,34 @@ #!/usr/bin/env bash set -e -MAJOR=8 -VERSION=${MAJOR

[osv-dev] [PATCH 8/9] renamed: 0003-change-http-port-to-8081.patch -> 0006-change-http-port-to-8081.patch

2019-03-08 Thread geraldo netto
Signed-off-by: geraldo netto --- ...ttp-port-to-8081.patch => 0006-change-http-port-to-8081.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tomcat/patches/perf/{0003-change-http-port-to-8081.patch => 0006-change-http-port-to-8081.patch} (100%) diff --git a/tomcat/p

[osv-dev] [PATCH 5/9] rename: 0003-assign-admin-gui-role-to-tomcat-user -> 0002-assign-admin-gui-role-to-tomcat-user

2019-03-08 Thread geraldo netto
rename patches in order to follow an order Signed-off-by: geraldo netto --- ...user.patch => 0002-assign-admin-gui-role-to-tomcat-user.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tomcat/patches/perf/{0003-assign-admin-gui-role-to-tomcat-user.patch => 0002-assign

[osv-dev] [PATCH 4/9] add manager-script permission

2019-03-08 Thread geraldo netto
Signed-off-by: geraldo netto --- ...0006-Add-script-managment-role-to-tomcat-user.patch | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tomcat/patches/perf/0006-Add-script-managment-role-to-tomcat-user.patch b/tomcat/patches/perf/0006-Add-script-managment-role

[osv-dev] [PATCH 7/9] renamed: 0006-Add-script-managment-role-to-tomcat-user.patch -> 0003-Add-script-managment-role-to-tomcat-user.patch

2019-03-08 Thread geraldo netto
Signed-off-by: geraldo netto --- patch => 0003-Add-script-managment-role-to-tomcat-user.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tomcat/patches/perf/{0006-Add-script-managment-role-to-tomcat-user.patch => 0003-Add-script-managment-role-to-tomcat-user.patch

[osv-dev] [PATCH 6/9] renamed: 0002-change-http-port-to-8081.patch -> 0003-change-http-port-to-8081.patch

2019-03-08 Thread geraldo netto
Signed-off-by: geraldo netto --- ...ttp-port-to-8081.patch => 0003-change-http-port-to-8081.patch} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tomcat/patches/perf/{0002-change-http-port-to-8081.patch => 0003-change-http-port-to-8081.patch} (100%) diff --git a/tomcat/p

Re: [osv-dev] Fwd: Unikernel performance review paper inquiry

2019-03-07 Thread Geraldo Netto
Hey! Interesting paper Waldek! I'm trying to push OSv to my friends here, let's hope This sparks some contributions :) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Thu, 7 Mar 2019 at 13:56, Waldek Kozaczuk wrote: > > Hi, > > I am for

Re: [osv-dev] [PATCH V2] Reset FPU state after saving it and upon context switch

2019-01-29 Thread Geraldo Netto
Hey Guys, I know, it's not a useful comment from my part but where is the button to "like" or "love" this commit? :) While it's off topic, I'm still planning to submit patches for tomcat 9 support Keep Rocking/Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, d

[osv-dev] VirtIO v1.1 draft (from dec/2018)

2019-01-27 Thread Geraldo Netto
Dear Friends, Once Waldek is working on VirtIO and the topic is gaining attention It might be relevant to point out the draft of the new spec (v1.1): https://docs.oasis-open.org/virtio/virtio/v1.1/csprd01/virtio-v1.1-csprd01.html Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco h

Re: [PATCH] Implement more space-efficient early memory allocation scheme

2018-12-04 Thread Geraldo Netto
Ciao Waldek/Nadav/Friends, Nadav should give the ok But it seems great on my small/just for fun tests! :) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Tue, 4 Dec 2018 at 13:37, Waldek Kozaczuk wrote: > > Ping. > > On Tuesday, November 27,

[RFC] build script

2018-11-25 Thread Geraldo Netto
Currently, we have many different shell/makefiles doing the same thing, for example, downloading a file using different approaches Any suggestion? Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ -- You received this message because you are subscribed to the Goo

[OT] clang support for asm goto

2018-11-22 Thread Geraldo Netto
your comments and thoughts on that. I will also submit the prototype patch implementing the proposal to phabricator. And the most important part, we would like to say huge thanks to Chandler Carruth, Reid Kleckner, James Y Knight, Bill Wendling, Eric Christopher, Richard Smith, Matthias

tests/tst-truncate.c:10: warning: the use of `tmpnam' is dangerous, better use `mkstemp'

2018-11-20 Thread Geraldo Netto
Dear Friends, While checking the warnings on tests, I have found this one: tests/tst-truncate.c:10: warning: the use of `tmpnam' is dangerous, better use `mkstemp' The problem in fixing it with mkstemp() doesn't work exactly the same way and the most similar function I have found is mkostemp()

[PATCH] README: document -j option on make / scripts/build

2018-11-18 Thread geraldo netto
minutes with -j$(nproc) Before, I used to overcommit the cpu/thread number on make / scripts/build but the saturation can actually slow things down... [1] http://www.gnu.org/software/coreutils/manual/coreutils.html#nproc-invocation Signed-off-by: geraldo netto --- README.md | 13 +++-- 1

Re: info about OSv unikernel architecture

2018-11-15 Thread Geraldo Netto
://github.com/cloudius-systems/osv/wiki/OSv-Linux-ABI-Compatibility Tanti Saluti, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Wed, 14 Nov 2018 at 23:53, Francesco Iadanza wrote: > Dear OSv community, > I am testing OSv and I am using the /app REST api to launch

Re: Next (0.53.0 and onwards) OSv releases roadmap proposal

2018-11-13 Thread Geraldo Netto
somehow Maybe someone from the list might be able to correct me if I'm saying some no-sense... Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Tue, 13 Nov 2018 at 20:14, Roman Shaposhnik wrote: > On Tue, Nov 13, 2018 at 11:10 AM Geraldo Netto &

Re: Next (0.53.0 and onwards) OSv releases roadmap proposal

2018-11-13 Thread Geraldo Netto
..) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Tue, 13 Nov 2018 at 19:54, Waldek Kozaczuk wrote: > This is somewhat revised version of the roadmap I sent couple of months > ago. I think that the main premise of it which I wrote in the original >

Re: Bug report: soabort() will free *so twice:

2018-11-04 Thread Geraldo Netto
lcomed :) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Mon, 29 Oct 2018 at 15:28, Waldek Kozaczuk wrote: > Adding Charles to the thread. > > On Mon, Oct 29, 2018 at 2:24 PM Waldek Kozaczuk > wrote: > >> I think that this code in t

[PATCH v2 3/3] test: fix possible undefined behaviour at the loop that fills the buffer for crypt tests

2018-11-04 Thread geraldo netto
-loop-optimizations] buf[i * 8 + j] = password[i] >> j & 1; ^~~ /home/netto/Desktop/osv/osv-tomcat9/tests/tst-crypt.c:42:2: note: within this loop for (i = 0; i < 8; i++) { ^~~ Signed-off-by: geraldo netto --- tests/tst-crypt.c | 18 +++--

[PATCH v2 2/3] test: replace strncat() by strcat() to fix crypt warnings

2018-11-04 Thread geraldo netto
to provide an explicit length? [-Wsizeof-pointer-memaccess] strncat(tmp, second_block, sizeof(second_block)); ^ Signed-off-by: geraldo netto --- tests/tst-crypt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tst-crypt.c b/tests/tst

[PATCH] update libedit (GNU readline replacement)

2018-11-02 Thread geraldo netto
this patch updates libedit from version 20140620-3.1 to 20180525-3.1 which brings a huge number of fixes/improvements for more details: https://thrysoee.dk/editline/ http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/ Signed-off-by: geraldo netto --- modules/libedit/Makefile | 4

Re: [PATCH 2/3] test: fix strncat() calls by passing proper sizeof()

2018-11-02 Thread Geraldo Netto
Hey Waldek/Friends, Uhm, I see, let me double check it Because I just adapted the code and my c/c++ skills are limited In any case, let's keep in touch Kind regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Fri, 2 Nov 2018 at 00:33, Waldek Kozaczuk wrote:

[PATCH 1/3] test: fix 'implicit declaration of function' by including stdlib, unistd

2018-10-31 Thread geraldo netto
-function-declaration] setkey(key); ^~ setbuf /home/netto/Desktop/osv/osv-tomcat9/tests/tst-crypt.c:50:2: warning: implicit declaration of function ‘encrypt’; did you mean ‘crypt’? [-Wimplicit-function-declaration] encrypt(buf, 0); ^~~ crypt Signed-off-by: geraldo netto

[PATCH 0/3] test: cleanup warnings on tst-crypt

2018-10-31 Thread geraldo netto
This serie of patches do cleanup all the warnings found on tst-crypt geraldo netto (3): test: fix 'implicit declaration of function' by including stdlib, unistd test: fix strncat() calls by passing proper sizeof() test: fix possible undefined behaviour at the loop that fills

[PATCH 2/3] test: fix strncat() calls by passing proper sizeof()

2018-10-31 Thread geraldo netto
as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] strncat(tmp, second_block, sizeof(second_block)); ^ Signed-off-by: geraldo netto --- tests/tst-crypt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 3/3] test: fix possible undefined behaviour at the loop that fills the buffer for crypt tests

2018-10-31 Thread geraldo netto
-loop-optimizations] buf[i * 8 + j] = password[i] >> j & 1; ^~~ /home/netto/Desktop/osv/osv-tomcat9/tests/tst-crypt.c:42:2: note: within this loop for (i = 0; i < 8; i++) { ^~~ Signed-off-by: geraldo netto --- tests/tst-crypt.c | 20 ---

[PATCH] test: fix warning on tst-calloc by removing unused variable

2018-10-31 Thread geraldo netto
X"; ^~~~ Signed-off-by: geraldo netto --- tests/tst-calloc.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/tst-calloc.cc b/tests/tst-calloc.cc index a0cb5548..7cf52757 100644 --- a/tests/tst-calloc.cc +++ b/tests/tst-calloc.cc @@ -31,7 +31,6 @@ int main() { char *buf1;

[PATCH] test: fix warning on tst-pthread.c by including unistd.h

2018-10-31 Thread geraldo netto
-declaration] usleep(1000); ^~ fseek Signed-off-by: geraldo netto --- tests/tst-pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tst-pthread.c b/tests/tst-pthread.c index 066fff79..44854313 100644 --- a/tests/tst-pthread.c +++ b/tests/tst-pthread.c @@ -5,6 +5,7 @@ * BSD

[PATCH] test: fix warning on tst-pthread.c by including unistd.h

2018-10-31 Thread geraldo netto
-declaration] usleep(1000); ^~ fseek Signed-off-by: geraldo netto --- tests/tst-pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tst-pthread.c b/tests/tst-pthread.c index 066fff79..44854313 100644 --- a/tests/tst-pthread.c +++ b/tests/tst-pthread.c @@ -5,6 +5,7 @@ * BSD license

[PATCH] test: fix tst-pthread.c by including unistd.h

2018-10-31 Thread geraldo netto
Signed-off-by: geraldo netto --- tests/tst-pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/tst-pthread.c b/tests/tst-pthread.c index 066fff79..44854313 100644 --- a/tests/tst-pthread.c +++ b/tests/tst-pthread.c @@ -5,6 +5,7 @@ * BSD license as described in the LICENSE file

Re: Add explicit instructions on how to contribute

2018-10-24 Thread Geraldo Netto
, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Wed, 24 Oct 2018 at 22:31, Waldek Kozaczuk wrote: > Every so often someone would submit github PR and waste his time because > he/she does not know we accept email patches only. I think that may also > discoura

Re: Bug report: soabort() will free *so twice:

2018-10-23 Thread Geraldo Netto
Hello Jack/All, Nice catch, as soon as I can I'll check that I guess we can do a recursive grep for sofree to check where sofree() is been called Let's keep in touch Kind Regards, Geraldo Netto Em ter, 23 de out de 2018 06:32, jack wang <885...@gmail.com> escreveu: > I found a bug

Re: OSv v0.52.0 released !!!

2018-10-19 Thread Geraldo Netto
Hey Guys, This is great, Long live OSv while (1) { Waldek++; } Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Fri, 19 Oct 2018 at 00:55, Waldek Kozaczuk wrote: > I have just published another release of OSv - > https://github.com/cloudiu

[PATCH 0/2] fix openjdk8-zulu url

2018-09-07 Thread geraldo netto
the first patch applies the same url extraction as committed a few days ago the second patch reuses the script from the first patch please, note, it's a partial fix once it only fixes the download of openjdk8-zulu we still need to review all the compact profile geraldo netto (2): improve url

[PATCH 2/2] openjdk8-zulu-full: reuse openjdk8-zulu-compact-common

2018-09-07 Thread geraldo netto
reuse openjdk8-zulu-compact-common/latest.sh in order to avoid duplicated script now, all zulu profiles (compact1, 2, 3, 3 with beans, full) are using a single source Signed-off-by: geraldo netto --- openjdk8-zulu-full/latest.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[PATCH 2/2] tomcat: reorganise patches

2018-09-04 Thread geraldo netto
reorganise patches to make it easier to change in the future Signed-off-by: geraldo netto --- tomcat/patches/perf/0001-add-admin-user.patch | 32 +++ .../perf/0001-configure-web-admin-user.patch | 31 -- .../0002-grant-admin-gui-to-tomcat-user.patch | 26

[PATCH 1/2] tomcat: upgrade from 8.0.15 to 9.0.11

2018-09-04 Thread geraldo netto
Signed-off-by: geraldo netto --- tomcat/GET | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tomcat/GET b/tomcat/GET index 0a21749..a15be5f 100755 --- a/tomcat/GET +++ b/tomcat/GET @@ -1,32 +1,34 @@ #!/usr/bin/env bash set -e -MAJOR=8 -VERSION=${MAJOR

[PATCH 0/2] tomcat: upgrade from tomcat 8 to tomcat 9

2018-09-04 Thread geraldo netto
these 2 patches upgrade tomcat version from 8.0.15 to 9.0.11 the patches applied on tomcat were reorganised to make it easier to tune in the future HTTP NIO connector is used instead of HTTP NIO2 connector because of general protection fault (see past emails) geraldo netto (2): tomcat

general protection fault on Tomcat9 with HTTP NIO2

2018-09-04 Thread Geraldo Netto
0x0045aca5 0x003f4e96 0x00396d82 0x01910065004100ff 0x0000003f488f 0x4156415741e58947 Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ -- You received this message because you are subscribed to the Google Groups "OSv Development&q

[PATCH] improve url parsing for openjdk8-zulu-full

2018-09-04 Thread geraldo netto
-by: geraldo netto --- openjdk8-zulu-full/latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjdk8-zulu-full/latest.sh b/openjdk8-zulu-full/latest.sh index 66d42fe..f8d9d5a 100755 --- a/openjdk8-zulu-full/latest.sh +++ b/openjdk8-zulu-full/latest.sh @@ -1,3 +1,3

Re: Some woes with Fedora 28 distribution of Python 3

2018-08-27 Thread Geraldo Netto
.dist-info/metadata.json six-1.11.0.dist-info/top_level.txt six.py six.pyc I took six as an example because as Waldek said, ubuntu based distros don't have any systemd binding/dependency installed (I could confirm it on linux mint too) Kind Regards, Geraldo Netto Sapere Aude => Non dvc

Re: __wcscpy_chk and Python 3

2018-08-13 Thread Geraldo Netto
en); > return wcscpy(dest, src); > } > > What do you think? > If you allow me to suggest, just add a TODO/XXX mark and push it upstream I'd rather prefer an ugly working car than a super cool futuristic car that is on paper :) In any case, time will tell us if it's enough or not G

Re: Cassandra Admin@Sunnyvale, CA

2018-05-25 Thread Geraldo Netto
Hey Guys, If you allow me to suggest, I think we should ban santosh emails... kuntal.santosh-at-nityo.com santosh1990nityo-at-gmail.com santosh01nityo-at-gmail.com Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 25 May 2018 at 13:59, Santosh <kunta

Re: osv-apps: HEAD detached at 7d9b71e

2018-05-10 Thread Geraldo Netto
h = external/x64/openjdk.bin >> - url = ../../cloudius-systems/openjdk.bin >> + url = https://github.com/cloudius-systems/openjdk.bin >> ignore = dirty >> ... >> > > While I agree that using HTTPS might impose some limitation, I don't think it's a big deal,

osv-apps: HEAD detached at 7d9b71e

2018-05-09 Thread Geraldo Netto
loudius-systems/musl.git + url = https://github.com/cloudius-systems/musl.git [submodule "modules/httpserver/osv-gui"] path = modules/httpserver-html5-gui/osv-gui - url = ../../cloudius-systems/osv-gui.git + url = https://github.com/cloudius-systems/osv-gui.git [submodule "external/fs/

Re: Library unikernel or modularization of OSv kernel

2018-05-06 Thread Geraldo Netto
enough for this Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 6 May 2018 at 05:38, Nadav Har'El <n...@scylladb.com> wrote: > > On Sun, May 6, 2018 at 7:52 AM, Dor Laor <d...@scylladb.com> wrote: > >> On Sat, May 5, 2018 at 9:4

Re: Library unikernel or modularization of OSv kernel

2018-05-05 Thread Geraldo Netto
"problame" from issue #952 studies here :P) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 5 May 2018 at 13:48, Waldek Kozaczuk <jwkozac...@gmail.com> wrote: > What if there was a way early into the booting process to load spec

Re: [PATCH] add output to crypt/encrypt tests

2018-04-30 Thread Geraldo Netto
You Very Much/Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 30 April 2018 at 08:31, Waldek Kozaczuk <jwkozac...@gmail.com> wrote: > I applied this patch and I still see the compilation warnings

Re: need: port openvpn into osv

2018-04-27 Thread Geraldo Netto
on OSv) and we probably need a Linux like API Maybe those quick references can help you: https://github.com/LaKabane/libtuntap https://www.kernel.org/doc/Documentation/networking/tuntap.txt Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 27 April 2018 at 12

Re: [PATCH] add output to crypt/encrypt tests

2018-04-24 Thread Geraldo Netto
-o crypt Kind Regards, Geraldo Netto Em ter, 24 de abr de 2018 11:44, Waldek Kozaczuk <jwkozac...@gmail.com> escreveu: > I saw the original test had some compilation warnings. Does this patch > address those? > > On Tuesday, April 24, 2018 at 9:07:05 AM UTC-4, Geraldo Netto w

[PATCH] add output to crypt/encrypt tests

2018-04-24 Thread geraldo netto
Signed-off-by: geraldo netto <geraldone...@gmail.com> --- tests/tst-crypt.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/tests/tst-crypt.c b/tests/tst-crypt.c index ffc5293..0dc3de2 100644 --- a/tests/tst-crypt.c +++ b/tests/tst-crypt.c @@ -2,6

[PATCH v3 0/2] add libcrypt.so.1 (fix #945)

2018-04-06 Thread geraldo netto
geraldo netto (2): add encrypt (3) functions (fix #945) add crypt (3) tests Makefile |1 + core/elf.cc|1 + libc/crypt/encrypt.c | 1028 modules/tests/Makefile |2 +- tests/tst-crypt.c | 71

[PATCH v3 2/2] add crypt (3) tests

2018-04-06 Thread geraldo netto
mainline glibc distribution encrypt.c is also covered [3] [1] http://man7.org/linux/man-pages/man3/crypt.3.html [2] https://www.musl-libc.org/releases/musl-0.9.8.tar.gz (musl-0.9.8/src/crypt/crypt_r.c) [3] http://man7.org/linux/man-pages/man3/encrypt.3.html Signed-off-by: geraldo netto <gera

[PATCH v3 1/2] add encrypt (3) functions (fix #945)

2018-04-06 Thread geraldo netto
the implementation is based on musl libc version 1.1.19: https://git.musl-libc.org/cgit/musl/plain/src/crypt/encrypt.c https://git.musl-libc.org/cgit/musl/plain/src/crypt/crypt_des.c Signed-off-by: geraldo netto <geraldone...@gmail.com> --- Makefile |1 + core/

Re: scripts/build check failing

2018-04-04 Thread Geraldo Netto
$jdkbase ARCH=$arch mode=$mode OSV_BASE=$SRC OSV_BUILD_PATH=$OSV_BUILD_PATH scripts/module.py $j_arg build -c $modules $usrskel_arg $no_required_arg netto@besta01 ~/Desktop/osv/osv-crypt-final $ [1] https://docs.oracle.com/javase/9/migrate/JSMIG.pdf Kind Regards, Geraldo Netto Sapere Aude => Non dvco

scripts/build check failing

2018-04-04 Thread Geraldo Netto
RC OSV_BUILD_PATH=$OSV_BUILD_PATH scripts/module.py $j_arg build -c $modules $usrskel_arg $no_required_arg Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ -- You received this message because you are subscribed to the Google Groups "OSv Developmen

Re: How could I change resources allocation on Osv.

2018-03-29 Thread Geraldo Netto
that should be attached to the instance Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 29 March 2018 at 21:01, <answerhu...@gmail.com> wrote: > I try to compare the performance of my simple http-server running in Osv > and

Re: Rust example

2018-03-23 Thread Geraldo Netto
cket. * * This routine is not expected to be user visible. */ void res_nclose(res_state statp) { int ns; if (statp->_vcsock >= 0) { close_not_cancel_no_status(statp->_vcsock); statp->_vcsock = -1; statp->_flags &= ~(RES_F_VC | RES_F_CONN); } #ifdef _LIBC for (ns = 0; ns < MAX

Re: [PATCH v2 0/4] Added ROFS implementation

2018-03-22 Thread Geraldo Netto
Great Job Waldek! while (1) { Waldek++; } Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 22 March 2018 at 07:47, Waldek Kozaczuk <jwkozac...@gmail.com> wrote: > Nadav, > > Firsts thanks for reviewing and committing these 2 first p

Re: page fault outside application was Re: [PATCH] groonga: fix path separator

2018-03-09 Thread Geraldo Netto
in/groonga", argc=3, argv=0xa22031e0) at core/app.cc:336 #13 0x00643fea in osv::application::run_main (this=0xa3528810) at core/app.cc:353 #14 0x00642779 in __libc_start_main (main=0x10c0fa79 ) at core/app.cc:36 #15 0x10c04399 in _start () Kind Re

page fault outside application was Re: [PATCH] groonga: fix path separator

2018-03-09 Thread Geraldo Netto
_traits, std::allocator >, int, char**)+704> 0x00643fe9 <osv::application::run_main()+329> *0x00642778 <__libc_start_main+138>* 0x10c04398 Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 9 March 2018 at 18:15, Gera

Re: [PATCH] groonga: fix path separator

2018-03-09 Thread Geraldo Netto
-x11-fonts-Type1-7.5-18.fc27.noarch 115/231 yaml-cpp-0.5.3-9.fc27.x86_64 113/231 yaml-cpp-devel-0.5.3-9.fc27.x86_64 112/231 zlib-devel-1.2.11-4.fc27.x86_64 118/231 Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 9 March 2018 at 10:29, Gera

Re: [PATCH] groonga: fix path separator

2018-03-09 Thread Geraldo Netto
sv::application::run(std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > const&)+27> 0x00213a49 <do_main_thread(void*)+2649> 0x00000044

[PATCH] groonga: fix path separator

2018-03-08 Thread geraldo netto
fix path separator that way manifest_common.py does not fail when building groonga build was tested on linux mint 18.3 Signed-off-by: geraldo netto <geraldone...@gmail.com> --- groonga/GET | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/groonga/GET b/groon

cloud-init doubt - do we always use cloud-init?

2018-02-28 Thread Geraldo Netto
, probably, there are many fixes once json11 on cloud-init is from 2014 something while we have a new version from months ago Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ -- You received this message because you are subscribed to the Google Groups &

Re: [PATCH] Makefile: strip dummy-shlib.so

2018-02-28 Thread Geraldo Netto
, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 28 February 2018 at 10:54, Waldek Kozaczuk <jwkozac...@gmail.com> wrote: > I am not sure if this patch is necessary. I though all so files get > stripped by strip_file function in scripts/manifest_common.py. > &g

[PATCH v2 2/4] makefile: update crypt references to use libc instead of musl

2018-02-25 Thread geraldo netto
Signed-off-by: geraldo netto <geraldone...@gmail.com> --- Makefile | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8dd2371..cc80d2d 100644 --- a/Makefile +++ b/Makefile @@ -1733,13 +1733,14 @@ else musl += fenv/fenv.o endif

[PATCH v2 3/4] core/elf.cc: export libcrypt.so

2018-02-25 Thread geraldo netto
Signed-off-by: geraldo netto <geraldone...@gmail.com> --- core/elf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/core/elf.cc b/core/elf.cc index 2a46633..9138736 100644 --- a/core/elf.cc +++ b/core/elf.cc @@ -1064,6 +1064,7 @@ program::program(void* addr) "lib

[PATCH v2 4/4] tests/crypt: add unit test for crypt functions

2018-02-25 Thread geraldo netto
add unit test for crypt functions and update Makefile to reflect it Signed-off-by: geraldo netto <geraldone...@gmail.com> --- modules/tests/Makefile | 2 +- tests/tst-crypt.c | 71 ++ 2 files changed, 72 insertions(+), 1 deletion(-)

[PATCH] prof.py: remove empty prof.py script

2018-02-25 Thread geraldo netto
Signed-off-by: geraldo netto <geraldone...@gmail.com> --- scripts/prof.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 scripts/prof.py diff --git a/scripts/prof.py b/scripts/prof.py deleted file mode 100644 index e69de29..000 -- 2.7.4 -- You re

Re: [PATCH] musl-crypt: update crypt functions to musl 1.1.18

2018-02-25 Thread Geraldo Netto
Hello Nadav/All, Sure, working to prepare the patches now Sorry for the trouble, i didn't pay attention to this Kind Regards, Geraldo Netto Em dom, 25 de fev de 2018 07:01, Nadav Har'El <n...@scylladb.com> escreveu: > What is this a patch for? It seems you sent a patch for

Re: [COMMIT osv-apps master] mysql: fix path separator

2018-02-25 Thread Geraldo Netto
Hello Nadav/All, My apologies, I though I did negate it wrongly Think there is too much coffee and too little sleeping in here... Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 25 February 2018 at 18:01, Nadav Har'El <n...@scylladb.com> wrote: &

Re: Releasing OSv

2018-02-25 Thread Geraldo Netto
Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 25 February 2018 at 16:14, Waldek Kozaczuk <jwkozac...@gmail.com> wrote: > Adding Miha and Gregor from Xlab to see if they have any > suggestions/advise. > > On Sun, Feb 25, 2018 at 1:45 PM, Wal

Re: [PATCH 0/4] add crypt functions

2018-02-24 Thread Geraldo Netto
Hello, I forgot to add, it fixes Inconsistent inclusion of libcrypt in OSv #945 It depends on [PATCH] musl-crypt: update crypt functions to musl 1.1.18 Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 25 February 2018 at 02:50, geraldo netto <ger

[PATCH] test.py: black list tst-feexcept.so in order to avoid qemu failure (workaround #855)

2018-02-24 Thread geraldo netto
maybe in the future we could create a blacklist per hypervisor this is a quick workaroud for #855 Signed-off-by: geraldo netto <geraldone...@gmail.com> --- scripts/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/test.py b/scripts/test.py index 993e2ba..52b52e6

Re: upgrading musl version on osv - progress/issues

2018-02-24 Thread Geraldo Netto
directories have just one directory for the patches on top of vanilla musl that way we can easily identify which part of the code require changes Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 13 February 2018 at 20:31, Nadav Har'El <n...@scylladb.com&

[PATCH 4/4] core/elf.cc: export libcrypt.so.1

2018-02-24 Thread geraldo netto
Signed-off-by: geraldo netto <geraldone...@gmail.com> --- core/elf.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/core/elf.cc b/core/elf.cc index 2a46633..96754d5 100644 --- a/core/elf.cc +++ b/core/elf.cc @@ -1052,6 +1052,7 @@ program::program(void* addr) "ld-linux-

[PATCH 2/4] modules/tests/Makefile: add unit test for crypt functions

2018-02-24 Thread geraldo netto
Signed-off-by: geraldo netto <geraldone...@gmail.com> --- modules/tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tests/Makefile b/modules/tests/Makefile index b8348dd..3398e4a 100644 --- a/modules/tests/Makefile +++ b/modules/tests/Makefile @@

[PATCH 1/4] tst-crypt: add test for crypt functions

2018-02-24 Thread geraldo netto
the tests include encrypt() Signed-off-by: geraldo netto <geraldone...@gmail.com> --- tests/tst-crypt.c | 71 +++ 1 file changed, 71 insertions(+) create mode 100644 tests/tst-crypt.c diff --git a/tests/tst-crypt.c b/tests/tst-crypt

[PATCH 3/4] Makefile: add crypt tests

2018-02-24 Thread geraldo netto
Signed-off-by: geraldo netto <geraldone...@gmail.com> --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 80a1137..a3038f2 100644 --- a/Makefile +++ b/Makefile @@ -1735,12 +1735,13 @@ musl += fenv/fenv.o endif musl +=

[PATCH 0/4] add crypt functions

2018-02-24 Thread geraldo netto
because musl has its own git repository i had to create this other set of patches this is the second part of the patches related to the crypt functions from musl 1.1.18 basically it adds the unit test itself and the references so makefile can build it geraldo netto (4): tst-crypt: add test

[PATCH] mysql: fix path separator

2018-02-24 Thread geraldo netto
fix path separator that way manifest_common.py does not fail when building mysql Signed-off-by: geraldo netto <geraldone...@gmail.com> --- mysql/GET | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mysql/GET b/mysql/GET index 0f6b2c9..edc033e 100755 --- a/mys

[PATCH] musl-crypt: update crypt functions to musl 1.1.18

2018-02-24 Thread geraldo netto
update crypt functions to musl 1.1.18 this includes encrypt() Signed-off-by: geraldo netto <geraldone...@gmail.com> --- src/crypt/crypt_des.c| 12 +- src/crypt/crypt_sha256.c | 2 +- src/crypt/crypt_sha512.c | 2 +- src/crypt/encrypt.c

Re: [PATCH 27/56] node/GET: use wget -c

2018-02-22 Thread Geraldo Netto
Hello Waldek/Friends, Don't mind, I'll review those patches too! Must say, I'm trying big things first because it sounds more exciting :) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 18 February 2018 at 00:09, Waldek Kozaczuk <jwkozac...@gmail.com&

  1   2   3   >