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

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

2019-11-02 Thread Geraldo Netto
p Rocking, Geraldo Netto Sapere Aude => Non dvcor, dvco site: http://exdev.sf.net/ github: https://github.com/geraldo-netto linkedin: https://www.linkedin.com/in/geraldonetto/ facebook: https://web.facebook.com/geraldo.netto.161 On Sat, 2 Nov 2019 at 10:13, Henrique Fingler wrote: > >

Re: [osv-dev] [PATCH] scheduler: Initialize _cpu field in detached_state struct

2019-08-08 Thread Geraldo Netto
e 400 cases, of course, some false positive always come up but even so... We might also consider oss-fuzz from google [3] [1] clang-analyzer.llvm.org [2] http://lcamtuf.coredump.cx/afl/ [3] https://google.github.io/oss-fuzz/ Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco si

Re: [osv-dev] Resurrecting ARM support

2019-06-27 Thread Geraldo Netto
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/geral

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

[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('

[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
zulu-compact1/module.py:provides = ['java','java8'] openjdk8-zulu-compact2/module.py:provides = ['java','java8'] openjdk8-zulu-compact3/module.py:provides = ['java','java8'] openjdk8-zulu-compact3-with-java-beans/module.py:provides = [&#

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 no

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

2019-03-10 Thread Geraldo Netto
8. Please check configuration: /home/netto/Desktop/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 Sa

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
7) we supply by default? > 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 >

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 0

[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 9/9] update bio connector to nio

2019-03-08 Thread geraldo netto
this patch changes the bio connector used on tomcat to java nio connector (non blocking) once bio connector is deprecated this patch was adapted from the original "0007-Use-bio-connector-explicitly.patch" Signed-off-by: geraldo netto --- ...plicitly.patch => 0007-Use-

[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 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

[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-to

[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

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, > >

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 => No

[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
really required 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 subscr

[OT] clang support for asm goto

2018-11-22 Thread Geraldo Netto
kindly ask for 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,

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() w

[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
https://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 l

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

2018-11-13 Thread Geraldo Netto
linux ABI 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 G

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

2018-11-13 Thread Geraldo Netto
eresting enough, i'll keep listing...) 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

Re: [PATCH 2/2] tomcat: reorganise patches

2018-11-07 Thread Geraldo Netto
work But I don't have any OSv env. in production with it (which is a pity) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Fri, 7 Sep 2018 at 21:47, Geraldo Netto wrote: > Hello Nadav/Friends, > > >> On Wed, Sep 5, 2018 at 6:15

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

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

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
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 wro

[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

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

2018-10-31 Thread geraldo netto
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 a

[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 ---

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

2018-10-31 Thread Geraldo Netto
Hi Nadav, Let me know if I can help with anything! Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Wed, 31 Oct 2018 at 12:19, Nadav Har'El wrote: > I committed this patch (thanks!), but somehow the automated commit message > wasn't sent. I'm now

[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

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

2018-10-31 Thread Geraldo Netto
Hello Nadav/Friends, Yes, let me reword this commit Sorry for the double work Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On Wed, 31 Oct 2018 at 12:01, Nadav Har'El wrote: > > > > > On Wed, Oct 31, 2018 at 4:56 PM geraldo netto &

[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
er Fidelis, 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 >

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 f

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): improv

[PATCH 1/2] improve url parsing for openjdk8-zulu-compact-common

2018-09-07 Thread geraldo netto
-awk-only Signed-off-by: geraldo netto --- openjdk8-zulu-compact-common/latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjdk8-zulu-compact-common/latest.sh b/openjdk8-zulu-compact-common/latest.sh index 66d42fe..f8d9d5a 100755 --- a/openjdk8-zulu-compact-common

[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

Re: [PATCH 2/2] tomcat: reorganise patches

2018-09-07 Thread Geraldo Netto
Hello Nadav/Friends, > On Wed, Sep 5, 2018 at 6:15 AM, geraldo netto >>> wrote: >>> >>>> reorganise patches to make it easier to change in the future >>>> >>> >>> I didn't understand the purpose of this patch. It seems you m

Re: [PATCH 2/2] tomcat: reorganise patches

2018-09-05 Thread Geraldo Netto
Hello Nadav/Friends! :) How are you doing? Let me comment in line On Wed, 5 Sep 2018 at 05:53, Nadav Har'El wrote: > > On Wed, Sep 5, 2018 at 6:15 AM, geraldo netto > wrote: > >> reorganise patches to make it easier to change in the future >> > > I didn

[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"

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

2018-09-04 Thread geraldo netto
: 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
.11.0.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 =&g

Re: __wcscpy_chk and Python 3

2018-08-13 Thread Geraldo Netto
0') <= destlen); > 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 u

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 wrote: &

Re: osv-apps: HEAD detached at 7d9b71e

2018-05-10 Thread Geraldo Netto
njdk.bin"] >> path = 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

osv-apps: HEAD detached at 7d9b71e

2018-05-09 Thread Geraldo Netto
th = musl - url = ../../cloudius-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 [sub

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 wrote: > > On Sun, May 6, 2018 at 7:52 AM, Dor Laor wrote: > >> On Sat, May 5, 2018 at 9:48 AM, Waldek Kozaczuk >> wrote: >>

Re: Library unikernel or modularization of OSv kernel

2018-05-05 Thread Geraldo Netto
c.kit.edu (if I'm not mistaken, our friend "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 wrote: > What if there was a way early into the booting process to l

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 wrote: > I applied this patch and I still see the compilation warnings: >

[PATCH v2] fix warnings, improve test output message

2018-04-30 Thread geraldo netto
fix compilation warnings (have missed the -Wall -Werror on my tests) improve test output messages (eg: PASS: , FAIL: , SUMMARY: X tests / Y failures) Signed-off-by: geraldo netto --- tests/tst-crypt.c | 36 1 file changed, 28 insertions(+), 8 deletions

Re: need: port openvpn into osv

2018-04-27 Thread Geraldo Netto
code 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

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

2018-04-24 Thread Geraldo Netto
crypt -o crypt Kind Regards, Geraldo Netto Em ter, 24 de abr de 2018 11:44, Waldek Kozaczuk 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 wrote: >> >>

[PATCH] add output to crypt/encrypt tests

2018-04-24 Thread geraldo netto
Signed-off-by: geraldo netto --- 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 +2,16 @@ #include #include

[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 --- modules/test

[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 --- Makefile |1 + core/elf.cc |1 + libc/crypt

Re: scripts/build check failing

2018-04-04 Thread Geraldo Netto
) Exception: make failed for java-isolated ./scripts/build failed: 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 netto@besta01 ~/Desktop/osv/osv-crypt-final $ [1] https://docs.oracle.com/javase/9/m

scripts/build check failing

2018-04-04 Thread Geraldo Netto
/build failed: 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.sf.net/ -- You received this message beca

Re: How could I change resources allocation on Osv.

2018-03-29 Thread Geraldo Netto
image 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, wrote: > I try to compare the performance of my simple http-server running in Osv > and Qemu so I have t

Re: Rust example

2018-03-23 Thread Geraldo Netto
*/ struct in_addr in; { register u_int32_t i = ntohl(in.s_addr); if (IN_CLASSA(i)) return (htonl(IN_CLASSA_NET)); else if (IN_CLASSB(i)) return (htonl(IN_CLASSB_NET)); return (htonl(IN_CLASSC_NET)); } #endif u_int res_randomid(void) { struct timeval now; gettimeofday(&now, NULL); return (0x

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 wrote: > Nadav, > > Firsts thanks for reviewing and committing these 2 first patches. > > Indeed the ROFS

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
8a48a 0x004892e6 0x10c04513 0x10c10c20 0x00643d96 , std::allocator >, int, char**)+704> 0x00643fe9 *0x00642778 <__libc_start_main+138>* 0x10c04398 Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 9

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
;, std::equal_to, std::allocator > >, std::allocator, std::allocator > const, std::__cxx11::basic_string, std::allocator > > > > const*)+104> 0x00414e1b , std::allocator >, std::allocator, std::allocator > > > const&)+27> 0x00213a49 0x00444ef5

[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 --- groonga/GET | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/groonga/GET b/groonga/GET index d2e2ee3..47d53f9

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

2018-02-28 Thread Geraldo Netto
y maintained So, 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

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

2018-02-28 Thread Geraldo Netto
7;t recall now) Kind Regards, Geraldo Netto Sapere Aude => Non dvcor, dvco http://exdev.sf.net/ On 28 February 2018 at 10:54, Waldek Kozaczuk 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.p

[PATCH v2 1/4] libc/crypt: copy crypt functions from musl 1.1.19

2018-02-26 Thread geraldo netto
Signed-off-by: geraldo netto --- libc/crypt/crypt.c | 16 + libc/crypt/crypt_blowfish.c | 798 + libc/crypt/crypt_des.c | 1018 +++ libc/crypt/crypt_md5.c | 285 libc/crypt/crypt_r.c

[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 --- 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 -musl += crypt/crypt_blowfish.o

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

2018-02-25 Thread geraldo netto
Signed-off-by: geraldo netto --- 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) "libstdc++.so.6", &q

[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 --- modules/tests/Makefile | 2 +- tests/tst-crypt.c | 71 ++ 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 tests/tst

[PATCH v2 0/4] update crypt functions (fixes #945)

2018-02-25 Thread geraldo netto
this set of patches provides libcrypt.so.1 based on musl 1.1.19 geraldo netto (4): libc/crypt: copy crypt functions from musl 1.1.19 makefile: update crypt references to use libc instead of musl core/elf.cc: export libcrypt.so tests/crypt: add unit test for crypt functions Makefile

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

2018-02-25 Thread geraldo netto
Signed-off-by: geraldo netto --- 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 received this message because you are

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 escreveu: > What is this a patch for? It seems you sent a patch for the "musl" >

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 wrote: > > On Sun, Feb

  1   2   3   >