[COMMIT osv master] Do not include libosv.so in Java module

2017-05-21 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Do not include libosv.so in Java module This patch removes the unused libosv.so library from the Java module. Because libosv.so is built based on the kernel executable, when the executable itself

[COMMIT osv master] dladdr() fix return value (again)

2017-06-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master dladdr() fix return value (again) It was a mistake to check whether base is 0, because base may actually be 0 for the kernel module... Rather we need to check if fname is 0. Without this patch,

[COMMIT osv-apps master] openjdk8-fedora: Add missing libraries to the image

2017-06-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master openjdk8-fedora: Add missing libraries to the image Some of the shared libraries included with Java, such as libsunsec.so (for security) or libjavalcms.so (for color manipulation) have their own

[COMMIT osv master] Fix dladdr() return value

2017-06-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix dladdr() return value The dladdr() function is supposed to return 0 if no shared library was found containing the given address, and we neglected to do this and always returned 1. So this patch

[COMMIT osv master] Update apps.git submodule

2017-06-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Update apps.git submodule Signed-off-by: Nadav Har'El --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 44b9b618cceeec03462820240b49b8c93c437101

[COMMIT osv-apps master] openjdk8-fedora: simplify preparation of image content

2017-06-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master openjdk8-fedora: simplify preparation of image content Just treat "install/" as the contents of what will be installed on the image. No need for convoluted python magic in module.py to override

[COMMIT osv-apps master] Added openjdk 8 zulu full jdk app

2017-06-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added openjdk 8 zulu full jdk app Message-Id: <1497128842-10966-1-git-send-email-jwkozac...@gmail.com> --- diff --git a/openjdk8-zulu-full/Makefile b/openjdk8-zulu-full/Makefile ---

[COMMIT osv-apps master] Bump Node.js version to 6.10.3

2017-05-08 Thread Commit Bot
From: Gregor Berginc Committer: Nadav Har'El Branch: master Bump Node.js version to 6.10.3 This is the current Node.js LTS version. The same changes to the patch will also work for the current 4.x release (at the time of this commit, 4.8.3) which

[COMMIT osv master] update apps submodule

2017-09-14 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master update apps submodule Signed-off-by: Nadav Har'El --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit c8b1906cf59d73a7cb39926c53dc4e136611d4f5

[COMMIT osv-apps master] Added httpserver-html5-cli app

2017-09-14 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added httpserver-html5-cli app This new HTML5 app is implemented in Typescript and served by OSv httpserver same way as OSv gui. It provides command line terminal functionality in your

[COMMIT osv master] Fix tests/tst-tcp-listen

2017-09-14 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix tests/tst-tcp-listen tests/tst-tcp-listen has two separate tests which listen on the same port. Depending on timing, the second test may start while there are still some remaining entries in

[COMMIT osv master] Fix crash in read_partition_table()

2017-09-20 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix crash in read_partition_table() When we find a disk device, we try to read its partition table to perhaps divide the device into several partitions. If we fail to find this partition table, it

[COMMIT osv master] scsi: fix code typo

2017-09-20 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master scsi: fix code typo SCSI commands have two separate fields, "response" and "status", and the code fixed by this patch had an obvious typo where the response was copied into the status. Fixing this

[COMMIT osv master] README: Arch Linux: add dependency on unzip

2017-10-08 Thread Commit Bot
From: Christian Schwarz Committer: GitHub Branch: master README: Arch Linux: add dependency on unzip Otherwise, luarocks cannot be built. --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ apt-get install

[COMMIT osv master] Merge pull request #915 from problame/patch-1

2017-10-08 Thread Commit Bot
From: Nadav Har'El Committer: GitHub Branch: master Merge pull request #915 from problame/patch-1 README: Arch Linux: dependencies, lua + openssl-1.0, python3 --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -50,7 +50,24 @@

[COMMIT osv master] scripts/upload_manifest.py: fix missing import of module 'io'

2017-10-08 Thread Commit Bot
From: Christian Schwarz Committer: Christian Schwarz Branch: master scripts/upload_manifest.py: fix missing import of module 'io' --- diff --git a/scripts/upload_manifest.py b/scripts/upload_manifest.py --- a/scripts/upload_manifest.py +++

[COMMIT osv master] README: Arch Linux: workaround for openssl-1.0

2017-10-08 Thread Commit Bot
From: Christian Schwarz Committer: GitHub Branch: master README: Arch Linux: workaround for openssl-1.0 --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -50,7 +50,24 @@ apt-get install build-essential libboost-all-dev genromfs

[COMMIT osv master] Fixed pci::function constructor to explicitly initialize msi flags

2017-10-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Fixed pci::function constructor to explicitly initialize msi flags This trivial patch addresses the bug identified during investigation of the issue #917 which describes random instances of

[COMMIT osv master] libc: add stresep.c file

2017-09-13 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master libc: add stresep.c file File is literal copy from ftp.tku.edu.tw/NetBSD/NetBSD-current/src/lib/libc/string/stresep.c Signed-off-by: Justin Cinkelj Message-Id:

[COMMIT osv master] include stresep function

2017-09-13 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master include stresep function Remove unneded #define and reference to namespace.h in stresep.c. Include file into Makefile. Signed-off-by: Justin Cinkelj Message-Id:

[COMMIT osv master] command line: add loader_parse_cmdline with tests

2017-09-13 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: add loader_parse_cmdline with tests loader_parse_cmdline accepts input str - OSv commandline, say: --env=AA=aa --env=BB=bb1\ bb2 app.so arg1 arg2 The loader options are parsed

[COMMIT osv master] command line: add tests for empty commandline string parsing

2017-09-13 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: add tests for empty commandline string parsing Signed-off-by: Justin Cinkelj Message-Id: <20170913120516.17024-6-justin.cink...@xlab.si> --- diff

[COMMIT osv master] Fix aarch64 build

2017-09-13 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix aarch64 build In commit c218a8f2c32fde628658234ede86540ffd33f7a8, the global symbols __argv and __argv containing the kernel's boot options (only the part before the application's command line)

[COMMIT osv master] command line: use loader_parse_cmdline

2017-09-13 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: use loader_parse_cmdline Parse loader options with loader_parse_cmdline instead of strtok_r. The cmdline passed in prepare_commands to osv::parse_command_line is not reassebled

[COMMIT osv master] command line: check for empty cmdline case after parsing cmdline

2017-09-13 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: check for empty cmdline case after parsing cmdline Always parse app_cmdline. It there is nothing to run, commands array will be empty. Signed-off-by: Justin Cinkelj

[COMMIT osv master] Modularized httpserver REST API

2017-09-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Modularized httpserver REST API Broke down OSv REST API provides by httpserver-api into number of fine-grained plugins that implement specific subset of API and thus makes it possible to

[COMMIT osv master] Split httpserver module into httpserver-api and httpserver-html5-gui

2017-09-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Split httpserver module into httpserver-api and httpserver-html5-gui Split httpserver into httpserver-api, httpserver-html5-gui and httpserver modules. The new httpserver-api module is a

[COMMIT osv master] Fixed sed expression problem in httpserver-api Makefile

2017-10-01 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Fixed sed expression problem in httpserver-api Makefile In some circumstances rebuilding httpserver-api module would populate usr.manifest with entries starting with "Sr/" due to a bug in

[COMMIT osv master] Added blocksize to httpserver-api fs/df call

2017-10-01 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added blocksize to httpserver-api fs/df call Added blocksize property to the payload of httpserver-api fs/df call to make it possible to calculate free and total size of given mount in

[COMMIT osv master] update cloudinit to use the new libhttpserver-api

2017-09-24 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master update cloudinit to use the new libhttpserver-api The c446634acbb354497f21fba0149c5ca716b277f1 splited httpserver into httpserver-api and httpserver-html5-gui. The new httpserver-api module

[COMMIT osv-apps master] busybox: avoid X_Y_stable branch name

2017-08-21 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master busybox: avoid X_Y_stable branch name After 1_27_stable changed from 1.27.1 to 1.27.2, the GET script didn't work anymore. We should use fixed version number. Signed-off-by: Justin Cinkelj

[COMMIT osv master] Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image

2017-08-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Enhanced scripts/build and related Python scripts to support export files that make up an image versus uploading them to an image This patch enhances OSv build scripts to allow exporting

[COMMIT osv-apps master] Fix compilation of iperf module

2017-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix compilation of iperf module One of the tests they do with autoconf redefines bool to int (because C does not have "bool") but then uses it in C++, which causes compilation errors with the

[COMMIT osv-apps master] Revert "wrk: remove check of file descriptor value"

2017-09-04 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master Revert "wrk: remove check of file descriptor value" This reverts commit c8b1906cf59d73a7cb39926c53dc4e136611d4f5. Message-Id: <20170904201649.13341-2-justin.cink...@xlab.si> --- diff --git

[COMMIT osv-apps master] wrk: allow larger file descriptor value

2017-09-04 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master wrk: allow larger file descriptor value Commit c8b1906cf59d73a7cb39926c53dc4e136611d4f5 was broken, as it allowed use of allocated array beyond its end. File descriptor value is used as

[COMMIT osv master] Waldek Kozaczuk discovered that nginx, using sendfile(), is experiencing

2017-09-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Waldek Kozaczuk discovered that nginx, using sendfile(), is experiencing various failures when multiple concurrent connections are attempted. It turns out that sendfile() had the wrong

[COMMIT osv-apps master] wrk: remove check of file descriptor value

2017-09-03 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master wrk: remove check of file descriptor value wrk expects to be the only user of file descriptors, and checks their integer value for unexpectedly high values. On OSv are file descriptors

[COMMIT osv master] Invalidate route cache when removing IP address

2017-11-14 Thread Commit Bot
From: Vilmos Nebehaj Committer: Nadav Har'El Branch: master Invalidate route cache when removing IP address In core/dhcp.cc, osv::start_if() is used to configure an interface based on a DHCP lease. Cloud-init calls dhcp_renew() after the hostname has

[COMMIT osv master] scripts/setup.py: support Fedora 27

2017-11-16 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master scripts/setup.py: support Fedora 27 No changes appear to be needed in Fedora 27 vs what we needed in Fedora 26. Signed-off-by: Nadav Har'El --- diff --git a/scripts/setup.py

[COMMIT osv master] update apps/ submodule

2017-11-19 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master update apps/ submodule Signed-off-by: Nadav Har'El --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 9f6cd94c4f572a80227fba9c7bd0ba4f682fd962

[COMMIT osv master] cpiod: add verbose program option

2017-11-08 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master cpiod: add verbose program option cpiod started with "--verbose 0" will not print line for each uploaded file. Per https://groups.google.com/d/msg/osv-dev/ZsD57qBaWM4/vNp7Fno8BAAJ this

[COMMIT osv master] drivers/isa-serial.cc: Prevent spinning under VMWare.

2017-11-02 Thread Commit Bot
From: Player, Timmons Committer: Nadav Har'El Branch: master drivers/isa-serial.cc: Prevent spinning under VMWare. The Line Status Register (LSR) of non-existant serial ports under VMWare (and maybe other platforms) returns 0xff. Ignore this

[COMMIT osv master] Fix build on existing working directory after system upgrade

2017-12-10 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix build on existing working directory after system upgrade After commit c446634, the "httpserver" module no longer has a Makefile and nothing is built in that directory - it is just a front for

[COMMIT osv master] Fix httpserver/Makefile

2017-12-10 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix httpserver/Makefile If we have a "modules/httpserver/makefile" (which we added for "clean" target) we also need to add a "module" target. Even if it does nothing. Signed-off-by: Nadav

[COMMIT osv master] new object loading exceptions in core/elf.cc

2017-10-25 Thread Commit Bot
From: b...@elotl.co Committer: Nadav Har'El Branch: master new object loading exceptions in core/elf.cc Differentiate object loading errors from other loader errors. Adds a new exception invalid_elf_error which is caught in osv_execve so that it can set the

[COMMIT osv master] Support Java GA 9

2017-10-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Support Java GA 9 The JRE layout in Java 9 has changed. More specifically the jre and amd64 subfolders have been removed. Symlinking directories to make it look like pre-Java9 does not

[COMMIT osv-apps master] Support Java GA 9

2017-10-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Support Java GA 9 This patch provides new app to run Java 9 apps and replaces openjdk9-ea-java-base. It uses jlink tool to create minimal JRE with single java-base module (please note jlink

[COMMIT osv-apps master] Bumped apache derby to 10.14.1.0

2017-10-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Bumped apache derby to 10.14.1.0 Also with this patch verified that apache derby can be run on Java 9. To make it possible please change --add-modules java.base in

[COMMIT osv-apps master] apps/apache-derby: fix Makefile

2017-10-25 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master apps/apache-derby: fix Makefile Depending on your luck, apache-derby's make might fail because it has two parallel rules which need ROOTFS/ to exist, but only one of them creates it. Remember when

[COMMIT osv master] ELF: improve recognition of objects asking for on-load resolution

2018-05-09 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master ELF: improve recognition of objects asking for on-load resolution By default, we do lazy function call resolutions - functions are only looked up on first use. But a shared object may ask (for

[COMMIT osv master] ELF: fix typo

2018-05-09 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master ELF: fix typo I had a typo in the value of DT_FLAGS. I guess the previous patch worked in practice because DT_FLAGS_1 was also set by the linker. Signed-off-by: Nadav Har'El

[COMMIT osv master] gdb: fix enum lookup for gdb 8.1

2018-05-10 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master gdb: fix enum lookup for gdb 8.1 This patch fixes a problem for gdb 8.1 to find the numeric value of one enumerated types. This appears to me to be a gdb regression, it is perhaps confused by the

[COMMIT osv master] Gracefully handle the case of missing libvsdo.so

2018-05-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Gracefully handle the case of missing libvsdo.so Current implementation of application::prepare_argv() aborts execution if it fails to load libvdso library. So far libvdso library

[COMMIT osv master] Updated to latest apps

2018-05-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated to latest apps Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit

[COMMIT osv master] Enhanced tests to allows testing rofs/ramfs image

2018-05-13 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Enhanced tests to allows testing rofs/ramfs image This patch adds new unit tests and modifies existing ones to make it possible to test images with read-only filesystem mounted at root and

[COMMIT osv master] Implement switch to separate SYSCALL call stack

2018-05-16 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Implement switch to separate SYSCALL call stack This patch implements separate syscall call stack needed when runtimes like Golang use SYSCALL instruction to execute system calls. More

[COMMIT osv master] epoll: fix regression in EPOLLET on network sockets

2018-05-19 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master epoll: fix regression in EPOLLET on network sockets 9eb6f2e38dc0103bd0d64a17221e2cc59b8cb138 changed epoll() not to pass "unknown" bits to the file implementation's poll() method. This

[COMMIT osv master] epoll: don't pass unknown bits to poll()

2018-05-17 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master epoll: don't pass unknown bits to poll() Our epoll implementation is based on poll(). We should only pass to poll the event bits we know are identical between epoll and poll(). In particular,

[COMMIT osv master] poll: don't return POLLNVAL from poll_no_poll()

2018-05-17 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master poll: don't return POLLNVAL from poll_no_poll() The trivial poll_no_poll() returned POLLNVAL if it got a bit it doesn't recognize. This is wrong: poll() should ignore bits it doesn't recognize and

[COMMIT osv master] epoll: test polling of /proc file

2018-05-17 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master epoll: test polling of /proc file This test reproduces issue #971, and verifies that we fixed it in the previous patches. It epolls a file from /proc - Linux doesn't allow epolling an ext4 file,

[COMMIT osv master] Added simple implementation of epoll_pwait

2018-05-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added simple implementation of epoll_pwait Golang 1.10.x started using epoll_pwait instead of regular epoll_wait and the golang-httpserver app does not work anymore. This patch adds

[COMMIT osv-apps master] Add STREAM memory benchmark

2018-05-24 Thread Commit Bot
From: Justin Cinkelj Committer: Waldemar Kozaczuk Branch: master Add STREAM memory benchmark Signed-off-by: Justin Cinkelj Message-Id: <20180130142744.30099-1-justin.cink...@xlab.si> --- diff --git a/stream/Makefile

[COMMIT osv-apps master] Upgraded node to 8.11.2

2018-05-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Upgraded node to 8.11.2 Updated Makefile and dopatch to properly patch new version 8.11.2 and older one. Signed-off-by: Waldemar Kozaczuk --- diff --git

[COMMIT osv-apps master] Asjusted stream test to provide default cmdline

2018-05-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Asjusted stream test to provide default cmdline Signed-off-by: Waldemar Kozaczuk --- diff --git a/stream/README b/stream/README --- a/stream/README +++

[COMMIT osv master] Added new benchmark stream app and upgraded nginx, mysql and node apps

2018-05-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added new benchmark stream app and upgraded nginx, mysql and node apps Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@

[COMMIT osv-apps master] Added Java 10 app and changed Java 9 to use Zulu

2018-05-15 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added Java 10 app and changed Java 9 to use Zulu This patch adds new Java 10 (newly released) app and changes existing openjdk9-java-base to use Zulu version of openjdk 9.

[COMMIT osv master] Updated to latest apps

2018-05-28 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated to latest apps --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 1361a4b35fc476c785af64a12491facfcdc23fc1 +Subproject commit

[COMMIT osv-apps master] Changed MySQL to use InnoDB and properly setup admin user

2018-05-28 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Changed MySQL to use InnoDB and properly setup admin user This patch change MySQL app build script to set storage type to InnoDB instead of MyISAM in order to support referential

[COMMIT osv master] Add getpagesize() function

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Add getpagesize() function Fixes #960 Signed-off-by: Nadav Har'El --- diff --git a/runtime.cc b/runtime.cc --- a/runtime.cc +++ b/runtime.cc @@ -190,6 +190,7 @@ int

[COMMIT osv master] Clean mutex_init()/mutex_destroy() warnings in gcc 8

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Clean mutex_init()/mutex_destroy() warnings in gcc 8 In theory, the functions mutex_init()/mutex_destroy() are not needed at all in C++ code, because creating a mutex object already initializes

[COMMIT osv master] Fix wrong signature of dmu_objset_rename()

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix wrong signature of dmu_objset_rename() dmu_objset_rename() has the wrong signature - it should take a flags bitmask, not a boolean. Gcc 8 started to warn about this because it is created as

[COMMIT osv master] Fix warning in route.cc

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix warning in route.cc In route.cc we have code which writes some socket addresses to a routing socket. The write is supposed to be 8-byte aligned length, and the code also *reads* a multiple of 8

[COMMIT osv master] implement __swprintf_chk()

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master implement __swprintf_chk() Add this missing function, apparently needed by Boost 1.66 compiled in fortified mode. Signed-off-by: Nadav Har'El --- diff --git

[COMMIT osv master] Avoid gcc 8 warnings on bzero()/memcpy() in old-style code

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Avoid gcc 8 warnings on bzero()/memcpy() in old-style code A lot of the BSD code used to be C code, which commonly bzero()ed or memcpy()ed objects. In C++, this should not be done (objects have

[COMMIT osv master] Fix strncpy() warnings in gcc 8

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix strncpy() warnings in gcc 8 Gcc 8 added checks that when strncpy() is used to write to an array of known length, this same length is not used as the "n" parameter of strncpy - because if the

[COMMIT osv master] Remove unnecessary bzero()

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Remove unnecessary bzero() Remove a bzero() of a C++ global variable, which is anyway zero initialized. Gcc 8 complains about such code. Signed-off-by: Nadav Har'El --- diff

[COMMIT osv master] Fix warning on copying polymorphic type

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix warning on copying polymorphic type It is rarely a good idea to capture an exception by value (making a copy) instead of by reference, and it's even worse when the type is polymorphic and

[COMMIT osv master] Add dlvsym() function

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Add dlvsym() function The dlvsym() is a Linux-specific extension to the posix dlsym() which asks for a specific version of the given symbol. It is needed by recent versions of the openjdk8-fedora

[COMMIT osv master] httpserver: do not use Boost Regex library

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master httpserver: do not use Boost Regex library Using Boost's regex library in the "httpserver" module caused us a lot of grief, such as version mismatches, annoying warnings, and the straw that broke

[COMMIT osv master] tests: add missing include

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master tests: add missing include An include of boost/asio/io_service.hpp was missing in a test using boost::asio::io_service. In older Boost versions, it somehow works, but in Boost 1.66, it no longer

[COMMIT osv master] Fix warning about strncat

2018-05-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix warning about strncat The implementation of __strcat_chk used strncat() in a way (with length equal to the length of the source string) that causes Gcc 8 to warn about. I think this warning is

[COMMIT osv master] Adjust APIC enabling logic to make it work on HyperKit

2018-05-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Adjust APIC enabling logic to make it work on HyperKit In order to enable APIC (Advanced Programmable Interrupt Controller) OSv has to set 0x800 bit (APIC_BASE_GLOBAL_ENABLE) when

[COMMIT osv master] Make tst-unordered-ring-mpsc test more robust

2018-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Make tst-unordered-ring-mpsc test more robust Changed each test case to acquire lock on migration_lock to ensure that the thread test is executed on does not migrate from one cpu to

[COMMIT osv master] Remove soisconnected() from syncache_socket()

2018-04-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Remove soisconnected() from syncache_socket() This patch fixes an intermittent issue happening in TCP stack code during session 3-way handshake protocol due to inconsistent state of

[COMMIT osv master] x64/processor.hh: fix wrongly named variable

2018-01-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master x64/processor.hh: fix wrongly named variable Commit 0959f20863b119c5ca7d1e663bc22e6329814386 introduced new x64 functions for saving and restoring the FPU control registers. The patch was correct,

[COMMIT osv master] Add missing 'unzip' package to 'scripts/setup.py' for Ubuntu.

2018-01-09 Thread Commit Bot
From: hdht.y...@gmail.com Committer: Nadav Har'El Branch: master Add missing 'unzip' package to 'scripts/setup.py' for Ubuntu. Fixes #899. Signed-off-by: Hidehito Yabuuchi --- diff --git a/scripts/setup.py b/scripts/setup.py ---

[COMMIT osv master] Be more explicit when build process fails to run qemu

2018-01-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Be more explicit when build process fails to run qemu OSv's build process (scripts/build) needs to run OSv in qemu, to upload files to the new image. Currently, if qemu fails, run.py didn't

[COMMIT osv master] * remove todo directory

2018-01-16 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master * remove todo directory Message-Id: <1515705641-5705-1-git-send-email-geraldone...@gmail.com> --- diff --git a/todo/mm b/todo/mm --- a/todo/mm +++ b/todo/mm @@ -1,55 +0,0 @@ -1. Lazy

[COMMIT osv master] memory: respect _bitset length bounds in page_range_allocator

2018-01-16 Thread Commit Bot
From: Timmons C. Player Committer: Nadav Har'El Branch: master memory: respect _bitset length bounds in page_range_allocator The page_range_allocator attempts to merge neighbor page ranges when a page range is freed in order to minimize memory

[COMMIT osv master] memory: fix off by 1 error in page_range_allocator

2018-01-14 Thread Commit Bot
From: Timmons C. Player Committer: Nadav Har'El Branch: master memory: fix off by 1 error in page_range_allocator The page_range_allocator free() method neglected to subtract 1 from the index when checking the end of the page range in the

[COMMIT osv master] setup.py: add "--allowerasing" to yum command

2018-01-14 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master setup.py: add "--allowerasing" to yum command On recent Fedora, setup.py asks to install the compact-openssl10-devel package, but if the package openssl-devel is already installed, this

[COMMIT osv-apps master] fix jruby url

2018-01-15 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master fix jruby url Signed-off-by: geraldo netto Message-Id: <1515729142-1887-2-git-send-email-geraldone...@gmail.com> --- diff --git a/jruby-sinatra-example/GET

[COMMIT osv-apps master] update jruby version from 9.0.0.0 to 9.1.15.0

2018-01-15 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master update jruby version from 9.0.0.0 to 9.1.15.0 Signed-off-by: geraldo netto Message-Id: <1515729142-1887-3-git-send-email-geraldone...@gmail.com> --- diff --git

[COMMIT osv-apps master] fix zookeeper mirror url (error 404)

2018-01-15 Thread Commit Bot
From: geraldo netto Committer: Nadav Har'El Branch: master fix zookeeper mirror url (error 404) Signed-off-by: geraldo netto Message-Id: <1515725047-9836-1-git-send-email-geraldone...@gmail.com> --- diff --git

[COMMIT osv master] Enhanced procfs to support /proc/sys/kernel/hostname

2018-01-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Enhanced procfs to support /proc/sys/kernel/hostname This adds /proc/sys/kernel/hostname to procfs in order to support os.Hostname() implementation in golang. Please look at

[COMMIT osv master] Added number of syscalls to support golang

2018-01-17 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added number of syscalls to support golang This patch adds number of syscalls to that are needed to make Golang apps run on OSv. Most of this changes were produced by Benoit Canet.

[COMMIT osv master] Fix the bug in SYSCALL implementation when called with 6 arguments

2018-01-14 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Fix the bug in SYSCALL implementation when called with 6 arguments This patch fixes the bug identified during testing of golang support in OSv. More specifically invocations of SYSCALL

[COMMIT osv master] Fixed path resolution in futimesat and sys_utimensat functions

2018-01-31 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Fixed path resolution in futimesat and sys_utimensat functions When another filesystem is mounted at /tmp or similar mount point functions futimesat and utimensat do not resolve absolute

[COMMIT osv master] cloud-init: test first 10 disks for NoCloud configuration data

2018-01-28 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master cloud-init: test first 10 disks for NoCloud configuration data The ISO image with NoCloud configuration data is on some cloud management platforms attached at different position that

[COMMIT osv master] scripts/build: fix upload of unstrip-able shared objects

2018-01-28 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master scripts/build: fix upload of unstrip-able shared objects Before this patch, the upload process of scripts/build, when it sees a shared object (*.so), it is stripped before uploading - into a new

<    1   2   3   4   5   6   7   8   9   10   >