[PATCH] pci-generic: free the device pointer when parse device config failure

2017-07-23 Thread Dongjiu Geng
when parse device config failure, it will break out of the circulation loop, but not free the allocated device pointer. so this patch free that pointer to avoid memory leakage Signed-off-by: Dongjiu Geng --- drivers/pci-generic.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci

Re: [PATCH v2 1/2] lua: Upgrade LuaSec

2017-07-23 Thread Nadav Har'El
On Sat, Jul 22, 2017 at 1:51 PM, Benoît Canet < benoit.canet.cont...@gmail.com> wrote: > The LuaRock repository is not up to date. > Hi, I am far from a Lua or LuaRock expert, but a quick look in https://luarocks.org/modules/brunoos/luasec shows me that they *do* have version 0.6-1, which appare

[COMMIT osv master] run.py: drop unnecessary qemu option

2017-07-23 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master run.py: drop unnecessary qemu option Recent versions of qemu complain about the do-nothing and deprecated "default" option to "-mon". We can just get rid of it. Signed-off-by: Nadav Har'El --- diff --git a/scripts/run.py b/scripts/ru

[COMMIT osv master] gcc 7: fix crashes due to corruption of xmm0 register

2017-07-23 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master gcc 7: fix crashes due to corruption of xmm0 register This patch fixes #890, which reported multiple cases of early crashes of OSv when compiled with gcc 7. The common feature of all these crashes was that a small random part of memory

[PATCH] gcc 7: fix crashes due to corruption of xmm0 register

2017-07-23 Thread Nadav Har'El
This patch fixes #890, which reported multiple cases of early crashes of OSv when compiled with gcc 7. The common feature of all these crashes was that a small random part of memory got zeroed, with various sad consequences. The cause of these crashes is failing to correctly save FPU state. In mod

Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2017-07-23 Thread bader salmeen
YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al sanea" with *bank of America* and The owner of Saad Hospital and Schools in the Eastern Province in *Saudi Arabia* and the Chairman of the Board of Directors of Awal Bank in *Bahrain* Wit

Re: [PATCH v2 1/2] lua: Upgrade LuaSec

2017-07-23 Thread Benoît Canet
LuaSec stopped compiling because of new openssl version. 2017-07-23 13:01 GMT+02:00 Nadav Har'El : > > On Sat, Jul 22, 2017 at 7:32 PM, Benoît Canet wrote: > >> >> Maybe a better solution than this patch would be to avoid the mix of host >> openssl and >> internal openssl so this patch would be

Re: [PATCH v2 1/2] lua: Upgrade LuaSec

2017-07-23 Thread Nadav Har'El
On Sat, Jul 22, 2017 at 7:32 PM, Benoît Canet wrote: > > Maybe a better solution than this patch would be to avoid the mix of host > openssl and > internal openssl so this patch would be useless. > I agree that modules/openssl should take stuff from the build machine, not from external/ - which

Re: Porting Aerospike server to OSv: /asd.so: failed looking up symbol je_chunksize_mask

2017-07-23 Thread Nadav Har'El
On Sat, Jul 22, 2017 at 6:58 AM, wrote: > Hi all, I'm trying to port Aerospike server to OSv. But when I tried to > run the server (asd.so), it failed to resolve the "je_chunksize_mask" > symbol from libjemalloc.so.2 even when libjemalloc.so.2 was included into > root folder. Anyone can give me a

Re: [PATCH] Add python2.7

2017-07-23 Thread Nadav Har'El
On Sun, Jul 23, 2017 at 2:10 AM, Justin Cinkelj wrote: > I didn't want to include every it-might-be-actually-required library from > the build system. > But did you, or did you not? > Complete list from my system is: > justin_cinkelj@jcpc:~/devel/mikelangelo/osv-fc25/osv/apps/python27$ ldd > R

[COMMIT osv master] Update apps submodule

2017-07-23 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Update apps submodule Adds the "python27" application Signed-off-by: Nadav Har'El --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit ac345665ca8aa72a8e84d54d6f919d8e1d4f9b30 +Subproject commit fb9c20b1b

Re: [PATCH] Add python2.7

2017-07-23 Thread Nadav Har'El
On Sun, Jul 23, 2017 at 12:20 PM, Nadav Har'El wrote: > > By the way, when I try to build this myself, something at the end doesn't > work: > > ./copy-required-system-libraries.sh > ldd: ROOTFS/lib/python2.7/lib-dynload/readline.so: No such file or > directory > Makefile:41: recipe for target 'RO

[COMMIT osv-apps master] Add python2.7

2017-07-23 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master Add python2.7 Based on @gberginc work. Usage example: ./scripts/run.py -e "/python" ./scripts/run.py -e "/python -c \"aa={1:22,3:44}; print aa; print 'asdf'\"" Signed-off-by: Justin Cinkelj Message-Id: <20170722230157.10742-1-justi

Re: [PATCH] Add python2.7

2017-07-23 Thread Nadav Har'El
On Sun, Jul 23, 2017 at 2:01 AM, Justin Cinkelj wrote: > Based on @gberginc work. > > Usage example: > ./scripts/run.py -e "/python" > ./scripts/run.py -e "/python -c \"aa={1:22,3:44}; print aa; print 'asdf'\"" > Thanks. I'll commit this as is. However, looking at python on my own machine (Fedo

[COMMIT osv master] libc: add __mbrlen

2017-07-23 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master libc: add __mbrlen At least a symbol needs to be defined for python2.7. File mbrlen.c is moved from musl/ to libc/, as the weak alias declaration must be in same file as function definition. Signed-off-by: Justin Cinkelj Message-Id:

Re: [PATCH v2 2/2] libc: add __mbrlen

2017-07-23 Thread Nadav Har'El
On Sun, Jul 23, 2017 at 11:17 AM, Nadav Har'El wrote: > > On Fri, Jul 21, 2017 at 1:45 PM, Justin Cinkelj > wrote: > >> At least a symbol needs to be defined for python2.7. >> File mbrlen.c is moved from musl/ to libc/, as the weak alias declaration >> must be in same file as function definition

[COMMIT osv master] Use musl's unchanged mbsrtowcs()

2017-07-23 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Use musl's unchanged mbsrtowcs() Our change from musl's mbsrtowcs() is unnecessary, it's just taken from a slightly older version of musl. Signed-off-by: Nadav Har'El --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile

Re: [PATCH v2 2/2] libc: add __mbrlen

2017-07-23 Thread Nadav Har'El
On Fri, Jul 21, 2017 at 1:45 PM, Justin Cinkelj wrote: > At least a symbol needs to be defined for python2.7. > File mbrlen.c is moved from musl/ to libc/, as the weak alias declaration > must be in same file as function definition. > I don't think this is true - the alias declaration does NOT n

Re: [PATCH v2 1/2] libc: add tcflow

2017-07-23 Thread Nadav Har'El
Thanks. I'll commit, even though this won't work as expected if actually called, because it uses the TCXONC ioctl, which we never implemented. I assume that python2.7 did call this function (we have lazy linking, so you wouldn't need this function if not actually called) but didn't really care abou

[COMMIT osv master] libc: add tcflow

2017-07-23 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master libc: add tcflow At least a symbol needs to be defined for python2.7. Signed-off-by: Justin Cinkelj Message-Id: <20170721104513.9854-2-justin.cink...@xlab.si> --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1

Re: [PATCH v2 2/2] setup.py: Enable Fedora 26

2017-07-23 Thread Nadav Har'El
On Sat, Jul 22, 2017 at 1:51 PM, Benoît Canet < benoit.canet.cont...@gmail.com> wrote: > To be complete misc.bin should be updated and > openssl switched to version 1.1 in openssl manifest. > I committed the previous version of this patch, it looked the same right? I think the openssl version di

[COMMIT osv master] setup.py: Enable Fedora 26

2017-07-23 Thread Commit Bot
From: Benoît Canet Committer: Nadav Har'El Branch: master setup.py: Enable Fedora 26 Message-Id: <20170720215417.3175-1-ben...@scylladb.com> --- diff --git a/scripts/setup.py b/scripts/setup.py --- a/scripts/setup.py +++ b/scripts/setup.py @@ -84,7 +84,14 @@ class Fedora_25(object):

Re: [PATCH 1/2] setup.py: Enable Fedora 26

2017-07-23 Thread Nadav Har'El
Thanks Benoit for looking into the remaining Fedora 26 (and gcc 7) issues after my patch series. I also noticed the problems you noticed with the cli and setup.py, so thanks for the patches - I'll commit them - but I originally wanted "make check" to work before continuing to specific applications.