[osv-dev] [COMMIT osv-apps master] Rename sqlite to it's current name in Ubuntu 18.04

2019-03-10 Thread Commit Bot
From: pshem Committer: GitHub Branch: master Rename sqlite to it's current name in Ubuntu 18.04 --- diff --git a/sqlite/GET b/sqlite/GET --- a/sqlite/GET +++ b/sqlite/GET @@ -9,4 +9,4 @@ wget -c http://www.sqlite.org/$YEAR/sqlite-amalgamation-$VERSION.zip unzip -x

[osv-dev] [COMMIT osv-apps master] Update usr.manifest

2019-03-10 Thread Commit Bot
From: pshem Committer: GitHub Branch: master Update usr.manifest --- diff --git a/sqlite/usr.manifest b/sqlite/usr.manifest --- a/sqlite/usr.manifest +++ b/sqlite/usr.manifest @@ -1 +1 @@ -/tools/sqlite.so: ${MODULE_DIR}/sqlite.so +/usr/lib/libsqlite3.so.0: ${MODULE_DIR}/libsqlite3.so.0 --

[osv-dev] [COMMIT osv-apps master] Update Makefile to clear the new object

2019-03-10 Thread Commit Bot
From: pshem Committer: GitHub Branch: master Update Makefile to clear the new object --- diff --git a/sqlite/Makefile b/sqlite/Makefile --- a/sqlite/Makefile +++ b/sqlite/Makefile @@ -6,4 +6,4 @@ upstream: .PHONY: clean clean: - rm -rf upstream *.so + rm -rf upstream *.so

[osv-dev] [COMMIT osv-apps master] Merge pull request #64 from pshem/patch-3

2019-03-10 Thread Commit Bot
From: WALDEMAR KOZACZUK Committer: GitHub Branch: master Merge pull request #64 from pshem/patch-3 Fix sqlite in python3 --- diff --git a/python3x/GET b/python3x/GET --- a/python3x/GET +++ b/python3x/GET @@ -89,6 +89,9 @@ then echo "ERROR some libraries required by python might be

[osv-dev] [COMMIT osv-apps master] Use cp instead of rsync

2019-03-10 Thread Commit Bot
From: pshem Committer: GitHub Branch: master Use cp instead of rsync when there are no benefits to rsync --- diff --git a/python3x/GET b/python3x/GET --- a/python3x/GET +++ b/python3x/GET @@ -57,7 +57,7 @@ then fi #replace sqlite with a non-MREMAP version -rsync -a

[osv-dev] [COMMIT osv-apps master] Replace sqlite with a non-MREMAP version

2019-03-10 Thread Commit Bot
From: pshem Committer: GitHub Branch: master Replace sqlite with a non-MREMAP version --- diff --git a/python3x/GET b/python3x/GET --- a/python3x/GET +++ b/python3x/GET @@ -55,6 +55,9 @@ then echo "ERROR some libraries required by python might be missing" exit 1 fi +

[osv-dev] [COMMIT osv master] Updated apps

2019-03-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated apps Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit da4f9dd96b0ece6175e1372dbdce3530dc6aca90 +Subproject commit

[osv-dev] [COMMIT osv-apps master] Made more files and directoris git-ignored

2019-03-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Made more files and directoris git-ignored Signed-off-by: Waldemar Kozaczuk --- diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/.gitignore @@ -5,10 +5,17 @@ ROOTFS install # Downloaded compressed archives

[osv-dev] [COMMIT osv-apps master] Tweaked python3x app to filter out static libraries to lower image size to 22MB from 77MB

2019-03-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Tweaked python3x app to filter out static libraries to lower image size to 22MB from 77MB Signed-off-by: Waldemar Kozaczuk --- diff --git a/python3x/GET b/python3x/GET --- a/python3x/GET +++ b/python3x/GET @@ -66,7 +66,7

[osv-dev] [COMMIT osv master] Fix virtio-blk disk size reporting

2019-03-07 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Fix virtio-blk disk size reporting This patch tweaks virtio blk disk size calculation by using 512 as the size of the sector instead of _config.blk_size which might not be even negotiated. Per virtio 1.0 spec, 5.2.5, step 2:

[osv-dev] [COMMIT osv master] tracepoints: fix build error in debug mode on recent gcc

2019-03-07 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master tracepoints: fix build error in debug mode on recent gcc This patch fixes a link error in debug mode with gcc 8.3.1 (e.g, Fedora 29). The error lists several cases of tracepoint code which refers to a "discarded section". Good

[osv-dev] [COMMIT osv master] elf: support PT_GNU_PROPERTY segment type

2019-03-08 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master elf: support PT_GNU_PROPERTY segment type Recently, binutils added yet another segment type, called "PT_GNU_PROPERTY": https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0a59decbb81676ac30deede1bb6b6e241cd75502 Since OSv's

[osv-dev] [COMMIT osv-apps master] Update Kafka verison to 2.12-2.1.1 (#65)

2019-03-11 Thread Commit Bot
From: Vinícius Fraga Committer: WALDEMAR KOZACZUK Branch: master Update Kafka verison to 2.12-2.1.1 (#65) Previous Kafka version was 4 years old and not compatible with some clients, e.g., Python confluent_kafka lib. Also adds a few instructions on how to build and run OSv Kafka to README.

[osv-dev] [COMMIT osv-apps master] Changed httpserver-html5-cli conf location to /etc

2019-03-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Changed httpserver-html5-cli conf location to /etc Signed-off-by: Waldemar Kozaczuk --- diff --git a/httpserver-html5-cli/module.py b/httpserver-html5-cli/module.py --- a/httpserver-html5-cli/module.py +++

[osv-dev] [COMMIT osv-apps master] Added app that combined html5 dashboard and cli

2019-03-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added app that combined html5 dashboard and cli Signed-off-by: Waldemar Kozaczuk --- diff --git a/httpserver-html5-gui-and-cli/httpserver.conf b/httpserver-html5-gui-and-cli/httpserver.conf ---

[osv-dev] [COMMIT osv master] Changed httpserver-html5-gui conf location to /etc

2019-03-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Changed httpserver-html5-gui conf location to /etc Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/httpserver-html5-gui/module.py b/modules/httpserver-html5-gui/module.py ---

[osv-dev] [COMMIT osv master] Adjusted REST api server to print it listen on port

2019-03-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Adjusted REST api server to print it listen on port Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/httpserver-api/global_server.cc b/modules/httpserver-api/global_server.cc ---

[osv-dev] [COMMIT osv master] Refactor virtio layer to support modern PCI and mmio devices

2019-02-06 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Refactor virtio layer to support modern PCI and mmio devices This patch refactors virtio layer in order to support modern PCI and mmio devices. It is also a step 0 on the list of tasks to make OSv boot on AWS firecracker. This

[osv-dev] [COMMIT osv master] Implemented modern virtio PCI device

2019-02-06 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Implemented modern virtio PCI device This patch implements modern virtio PCI device and makes necessary changes to virtio drivers to behave slighlt differently whether it is a modern or legacy device. Please note that QEMU can

[osv-dev] [COMMIT osv master] Add option to run OSv with legacy or modern virtio

2019-02-06 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Add option to run OSv with legacy or modern virtio Signed-off-by: Waldemar Kozaczuk Message-Id: <20190206035327.5052-1-jwkozac...@gmail.com> --- diff --git a/scripts/run.py b/scripts/run.py --- a/scripts/run.py +++

[osv-dev] [COMMIT osv master] Enhance scripts/test.py to pass extra arguments to run.py

2019-02-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Enhance scripts/test.py to pass extra arguments to run.py This patch enhances scripts/test.py to allow passing extra arguments to run.py. This allows executing running unit tests with different than default parameters. See

[osv-dev] [COMMIT osv master] Fix compilation of aarch64 target

2019-02-06 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Fix compilation of aarch64 target Signed-off-by: Waldemar Kozaczuk --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -844,6 +844,7 @@ ifeq ($(arch),aarch64) drivers += drivers/pl011.o drivers +=

[osv-dev] [COMMIT osv master] Reset FPU state after saving it and upon context switch

2019-01-28 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Reset FPU state after saving it and upon context switch This patch adds "emms" instruction in critical places of OSv thread scheduler code to reset FPU state after it is saved upon involuntary context switch (for example

[osv-dev] [COMMIT osv master] Add missing syscall for fstatat used by Golang

2019-01-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Add missing syscall for fstatat used by Golang Signed-off-by: Waldemar Kozaczuk --- diff --git a/linux.cc b/linux.cc --- a/linux.cc +++ b/linux.cc @@ -420,6 +420,7 @@ long syscall(long number, ...)

[osv-dev] [COMMIT osv master] Tweaked nbd_client.py to properly handle handshake and transport flags in new handshake protocol

2019-05-16 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Tweaked nbd_client.py to properly handle handshake and transport flags in new handshake protocol Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/nbd_client.py b/scripts/nbd_client.py --- a/scripts/nbd_client.py

[osv-dev] [COMMIT osv master] Tweak open() and sys_open() to return EFAULT error when pathname null

2019-05-16 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Tweak open() and sys_open() to return EFAULT error when pathname null Signed-off-by: Waldemar Kozaczuk --- diff --git a/fs/vfs/main.cc b/fs/vfs/main.cc --- a/fs/vfs/main.cc +++ b/fs/vfs/main.cc @@ -120,6 +120,11 @@ int

[osv-dev] [COMMIT osv master] Updated firecracker.py to download latest version 0.16.0

2019-05-16 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated firecracker.py to download latest version 0.16.0 Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/firecracker.py b/scripts/firecracker.py --- a/scripts/firecracker.py +++ b/scripts/firecracker.py @@ -133,10

[osv-dev] [COMMIT osv master] Update to the latest apps

2019-05-17 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Update to the latest apps Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit cb5464b5b29078aa2431300a6f3992145bf22675 +Subproject commit

[osv-dev] [COMMIT osv-apps master] Converted iperf3 to pie

2019-05-17 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Converted iperf3 to pie Signed-off-by: Waldemar Kozaczuk --- diff --git a/iperf3/Makefile b/iperf3/Makefile --- a/iperf3/Makefile +++ b/iperf3/Makefile @@ -17,7 +17,7 @@ iperf3: $(iperfv)/src/.libs/iperf3

[osv-dev] [COMMIT osv master] imgedit.py: do not open a port to the entire world

2019-05-26 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master imgedit.py: do not open a port to the entire world Since commit 464f4e0, imgedit.py opens runs qemu-nbd on a random port, but qemu-nbd needlessly listens to all interfaces - including potentially to connections from the outside

[osv-dev] [COMMIT osv master] Provide full implementation of epoll_pwait

2019-06-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Provide full implementation of epoll_pwait This patch provides full implementation of epoll_pwait and exposes it as a public function which is needed by Node.JS 10. The implementation is modeled after pselect/select.

[osv-dev] [COMMIT osv master] Start using memory below kernel

2019-06-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Start using memory below kernel This patch improves memory utilization by making OSv use area below where kernel is loaded. This normally saves only 1M + 640K (low memory) howewer makes bigger difference when kernel_base in

[osv-dev] [COMMIT osv master] Make RAMFS not to free file data when file is still opened

2019-06-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Make RAMFS not to free file data when file is still opened Even though it is valid to delete a file its data (i-node) should not be deleted until all file descriptors are closed. This patch fixes the bug in file deletion

[osv-dev] [COMMIT osv master] Fix slow write/append to files on ramfs

2019-06-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Fix slow write/append to files on ramfs This patch improves performance and memory utilization when writing/appending to files on ramfs. Before this patch every write to a file when size needed to increase required

[osv-dev] [COMMIT osv master] Fixed indentation in xen.cc

2019-06-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Fixed indentation in xen.cc Signed-off-by: Waldemar Kozaczuk --- diff --git a/arch/x64/xen.cc b/arch/x64/xen.cc --- a/arch/x64/xen.cc +++ b/arch/x64/xen.cc @@ -169,37 +169,37 @@ gsi_level_interrupt *xen_set_callback(int

[osv-dev] [COMMIT osv master] sched.hh: add missing include

2019-06-20 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master sched.hh: add missing include sched.hh now uses strlcpy(), which is defined in so we should include it directly instead of hoping that the code including sched.hh will also include string.h. Refs #1022. Signed-off-by: Nadav Har'El

[osv-dev] [COMMIT osv master] Allow running non-PIE executables that do not collide with kernel

2019-06-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Allow running non-PIE executables that do not collide with kernel This patch provides necessary changes to OSv dynamic linker to allow running non-PIEs (Position Dependant Executables) as long as they do not collide in virtual

[osv-dev] [COMMIT osv master] Move kernel to 0x40200000 address (1 GiB higher) in virtual memory

2019-06-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Move kernel to 0x4020 address (1 GiB higher) in virtual memory This patch provides all necessary changes to move OSv kernel by 1 GiB higher in virtual memory space to start at 0x4020. Most changes involve adding or

[osv-dev] [COMMIT osv master] Move getopt* files to libc folder and convert to C++

2019-05-13 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Move getopt* files to libc folder and convert to C++ Signed-off-by: Waldemar Kozaczuk Message-Id: <20190501034939.12436-2-jwkozac...@gmail.com> --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1329,8

[osv-dev] [COMMIT osv-apps master] memached: go back to PIE

2019-05-13 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master memached: go back to PIE Because of issue #689 (getopt() issue with PIE) we had to change memcached compilation from PIE (which is cool because also runs as-is on Linux) to shared object. Now that #689 is solved, we can go back to PIE.

[osv-dev] [COMMIT osv master] Enhance getopt family of functions to work with PIEs

2019-05-13 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Enhance getopt family of functions to work with PIEs This patch enhances implementation of getopt() and getopt_long() functions to work with PIEs. Newer GCC compiler optimizes PIEs by emitting machine code with so called copy

[osv-dev] [COMMIT osv master] acpi: ignore new gcc 9 warning

2019-05-19 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master acpi: ignore new gcc 9 warning gcc 9 started to give us the following warnings: external/x64/acpica/source/components/tables/tbfind.c:162:5: error: ‘strncpy’ specified bound 6 equals destination size

[osv-dev] [COMMIT osv master] sched: fix gcc 9 warning

2019-05-19 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master sched: fix gcc 9 warning gcc 9.1.1 warns about strncpy() which can lead to a missing null at the end of the destination. Let's use strlcpy(), which doesn't have this problem. Signed-off-by: Nadav Har'El Message-Id:

[osv-dev] [COMMIT osv master] tracepoints: fix for compiling on gcc 9

2019-05-19 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master tracepoints: fix for compiling on gcc 9 In gcc 9.1.1, strictly following the C++ standard, one is no longer allowed to specify attributes, e.g., [[gnu::cold]], on function definitions - only on function declaration. As an annoying

[osv-dev] [COMMIT osv master] libc: avoid weak_alias() warnings from gcc 9.

2019-05-19 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master libc: avoid weak_alias() warnings from gcc 9. gcc 9 started to warn about alias created with different "attributes" (__attribute__(...)) from the source symbol. Unfortunately, in a couple of cases gcc also started to add a

[osv-dev] [COMMIT osv master] elf: handle new DT_RUNPATH

2019-05-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master elf: handle new DT_RUNPATH This patch enhances dynamic linker to resolve dependent objects that rely on DT_RUNPATH entry to specify directories to search for. Some ELFs have both DT_RUNPATH and DT_RPATH in which case our linker

[osv-dev] [COMMIT osv master] Enhanced __fxstata to handle AT_SYMLINK_NOFOLLOW

2019-05-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Enhanced __fxstata to handle AT_SYMLINK_NOFOLLOW This patch also effectively makes unmodified coreutils find work as expected: ./scripts/manifest_from_host.sh -w find && ./scripts/build fs=rofs --append-manifest

[osv-dev] [COMMIT osv master] Added option suffix "!" to force termination of remaining application threads

2019-05-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added option suffix "!" to force termination of remaining application threads Some applications like JVM leave other threads running after main thread terminates. OSv is pedantic about it and likes to keep application running

[osv-dev] [COMMIT osv master] Move _post_main invocation to run_main

2019-05-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Move _post_main invocation to run_main This patch also fixes __libc_start_main() used for example by java to terminate any remaining app threads by _post_main. Signed-off-by: Waldemar Kozaczuk Message-Id:

[osv-dev] [COMMIT osv master] vfs: Harden task_conv() to return EFAULT when cpath argument is null

2019-05-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master vfs: Harden task_conv() to return EFAULT when cpath argument is null This patch also reverts the commit a0dcf8530c352536ab6633952b6f614f73eed154. Signed-off-by: Waldemar Kozaczuk Message-Id:

[osv-dev] [COMMIT osv master] Add GNU libc extension variables __progname and __progname_full

2019-05-01 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Add GNU libc extension variables __progname and __progname_full This patch adds GNU libc extension variables __progname and __progname_full used by coreutils. These seem to come from BSD as 'BSD' paragraph explains -

[osv-dev] [COMMIT osv-apps master] openjdk8-zulu-full: fix build when new openjdk version comes out

2019-04-30 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master openjdk8-zulu-full: fix build when new openjdk version comes out Our Makefile uses "wget -c" to avoid re-downloading the very large openjdk package on every build, or allow the build to continue if interrupted in the middle of the long

[osv-dev] [COMMIT osv master] Update apps submodule

2019-04-30 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Update apps submodule The openjdk8-zulu-full module's Makefile didn't properly handle new versions of openjdk, causing builds on old directories (as Jenkins does) to fail. This update should fix the Jenkins build. Signed-off-by: Nadav

[osv-dev] [COMMIT osv master] Add GNU libc extension function error()

2019-04-28 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Add GNU libc extension function error() This patch adds GNU libc extension function error() as specified at https://linux.die.net/man/3/error. This function is used by core utils programs on Linux. Signed-off-by: Waldemar

[osv-dev] [COMMIT osv master] Enhanced setup.py to support Ubuntu 18.10 and 19.04

2019-04-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Enhanced setup.py to support Ubuntu 18.10 and 19.04 Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/setup.py b/scripts/setup.py --- a/scripts/setup.py +++ b/scripts/setup.py @@ -244,7 +244,6 @@ class

[osv-dev] [COMMIT osv master] Enhanced manifest_from_host.sh to support building apps from host and docker images

2019-07-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Enhanced manifest_from_host.sh to support building apps from host and docker images Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/manifest_from_host.sh b/scripts/manifest_from_host.sh ---

[osv-dev] [COMMIT osv-apps master] Added java-from-host app

2019-07-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added java-from-host app Signed-off-by: Waldemar Kozaczuk --- diff --git a/java-from-host/Makefile b/java-from-host/Makefile --- a/java-from-host/Makefile +++ b/java-from-host/Makefile @@ -0,0 +1,14 @@ +.PHONY: module clean

[osv-dev] [COMMIT osv-apps master] Added node-from-host app

2019-07-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added node-from-host app Signed-off-by: Waldemar Kozaczuk --- diff --git a/node-from-host/Makefile b/node-from-host/Makefile --- a/node-from-host/Makefile +++ b/node-from-host/Makefile @@ -0,0 +1,12 @@ +.PHONY: module clean

[osv-dev] [COMMIT osv-apps master] Added openjdk12 app

2019-07-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added openjdk12 app Signed-off-by: Waldemar Kozaczuk --- diff --git a/openjdk12-zulu-java-base/Makefile b/openjdk12-zulu-java-base/Makefile --- a/openjdk12-zulu-java-base/Makefile +++ b/openjdk12-zulu-java-base/Makefile

[osv-dev] [COMMIT osv-apps master] Added openjdk12 app that builds from docker image

2019-07-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added openjdk12 app that builds from docker image Signed-off-by: Waldemar Kozaczuk --- diff --git a/openjdk12-jre-from-docker/Makefile b/openjdk12-jre-from-docker/Makefile --- a/openjdk12-jre-from-docker/Makefile +++

[osv-dev] [COMMIT osv-apps master] Refined java-example to run with any java app

2019-07-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Refined java-example to run with any java app Signed-off-by: Waldemar Kozaczuk --- diff --git a/java-example/module.py b/java-example/module.py --- a/java-example/module.py +++ b/java-example/module.py @@ -2,4 +2,4 @@

[osv-dev] [COMMIT osv master] Updated apps

2019-07-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated apps Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 36bc528cd0e450ef677fc37bc7a56f979b025e87 +Subproject commit

[osv-dev] [COMMIT osv-apps master] Update graalvm-example to use latest version 19.1.0

2019-07-08 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Update graalvm-example to use latest version 19.1.0 This patch also converts the app to build as a regular self-contained Linux executable that runs as-is on OSv. The previous version of this example built it as a shared

[osv-dev] [COMMIT osv-apps master] Add graalvm netty plot example to demonstrate more complex example using isolates

2019-07-08 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Add graalvm netty plot example to demonstrate more complex example using isolates Signed-off-by: Waldemar Kozaczuk --- diff --git a/graalvm-netty-plot/Makefile b/graalvm-netty-plot/Makefile ---

[osv-dev] [COMMIT osv-apps master] Added GraalVM version of native java httpserver app

2019-07-08 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added GraalVM version of native java httpserver app Signed-off-by: Waldemar Kozaczuk --- diff --git a/graalvm-httpserver/Makefile b/graalvm-httpserver/Makefile --- a/graalvm-httpserver/Makefile +++

[osv-dev] [COMMIT osv master] Support PVH/HVM direct kernel boot

2019-07-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Support PVH/HVM direct kernel boot QEMU 4.0 and later supports new way of booting Linux by specifying 64-bit vmlinux ELF. Please see this for details - https://patchwork.kernel.org/patch/10741013/. This patch enhances OSv boot

[osv-dev] [COMMIT osv master] update apps submodule

2019-07-09 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 1807b4dbf14df922269d08f20153d7fc4ca4dd75 +Subproject commit 36bc528cd0e450ef677fc37bc7a56f979b025e87

[osv-dev] [COMMIT osv master] Make OSv boot as vmlinuz

2019-07-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Make OSv boot as vmlinuz This patch adds new type of build artifact - vmlinuz.bin - that allows OSv boot as vmlinuz image. Essentialy the vmlinuz.bin wraps the uncompressed version of OSv loader.elf by prepending it with

[osv-dev] [COMMIT osv master] hpet: Support 32-bit counter

2019-06-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master hpet: Support 32-bit counter This patch adds very limited support of hpets with 32-bit main counter. For now it does not handle wrap-around (typically around 7 minutes) but is enough to run 'hello world' example on platforms that

[osv-dev] [COMMIT osv master] mprotect: page-align len parameter instead of returning error

2019-06-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master mprotect: page-align len parameter instead of returning error Signed-off-by: Waldemar Kozaczuk Message-Id: <20190629040727.9569-1-jwkozac...@gmail.com> --- diff --git a/libc/mman.cc b/libc/mman.cc --- a/libc/mman.cc +++

[osv-dev] [COMMIT osv master] procfs: populate maps file with i-node numbers

2019-07-01 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master procfs: populate maps file with i-node numbers This patch refines the implementation of procfs to generate maps file that contains correct file i-node numbers instead of 0s for file VMAs as shown below: 0-0 ---p 00:00 0

[osv-dev] [COMMIT osv master] syscall: add getpid

2019-07-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master syscall: add getpid Signed-off-by: Waldemar Kozaczuk --- diff --git a/linux.cc b/linux.cc --- a/linux.cc +++ b/linux.cc @@ -418,6 +418,7 @@ long syscall(long number, ...) SYSCALL4(fstatat, int, const char *, struct

[osv-dev] [COMMIT osv master] procfs: Add device ID information to the maps file

2019-07-01 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master procfs: Add device ID information to the maps file Signed-off-by: Waldemar Kozaczuk --- diff --git a/core/mmu.cc b/core/mmu.cc --- a/core/mmu.cc +++ b/core/mmu.cc @@ -1687,6 +1687,7 @@ file_vma::file_vma(addr_range range,

[osv-dev] [COMMIT osv master] firecracker: bumped the version to 0.17.0

2019-07-01 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master firecracker: bumped the version to 0.17.0 Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/firecracker.py b/scripts/firecracker.py --- a/scripts/firecracker.py +++ b/scripts/firecracker.py @@ -93,7 +93,8 @@ def

[osv-dev] [COMMIT osv master] signal: tag user handler thread as an application one

2019-07-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master signal: tag user handler thread as an application one Signed-off-by: Waldemar Kozaczuk --- diff --git a/libc/signal.cc b/libc/signal.cc --- a/libc/signal.cc +++ b/libc/signal.cc @@ -345,6 +345,9 @@ int kill(pid_t pid, int

[osv-dev] [COMMIT osv master] Add docker files to help setup OSv build environment for Ubuntu/Fedora

2019-08-13 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Add docker files to help setup OSv build environment for Ubuntu/Fedora Signed-off-by: Waldemar Kozaczuk --- diff --git a/docker/Dockerfile b/docker/Dockerfile --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -0,0 +1 @@

[osv-dev] [COMMIT osv master] Reverted some changes related to upgrading openssl that got checked in prematurely

2019-07-31 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Reverted some changes related to upgrading openssl that got checked in prematurely Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/setup.py b/scripts/setup.py --- a/scripts/setup.py +++ b/scripts/setup.py @@

[osv-dev] [COMMIT osv master] Removed remains of externals reference from httpserver-api Makefile

2019-07-29 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Removed remains of externals reference from httpserver-api Makefile Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/httpserver-api/Makefile b/modules/httpserver-api/Makefile ---

[osv-dev] [COMMIT osv master] Added initial version of README under scripts directory

2019-08-02 Thread Commit Bot
From: WALDEMAR KOZACZUK Committer: GitHub Branch: master Added initial version of README under scripts directory --- diff --git a/scripts/README.md b/scripts/README.md --- a/scripts/README.md +++ b/scripts/README.md @@ -0,0 +1,37 @@ +This directory contains number of scripts aimed to help

[osv-dev] [COMMIT osv-apps master] Revised main README.md

2019-08-02 Thread Commit Bot
From: WALDEMAR KOZACZUK Committer: GitHub Branch: master Revised main README.md --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -4,8 +4,16 @@ OSv Applications Introduction -This repository contains the necessary glue to compile a bunch of

[osv-dev] [COMMIT osv master] Made maven more quiet and only show errors

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Made maven more quiet and only show errors Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/httpserver-jolokia-plugin/Makefile b/modules/httpserver-jolokia-plugin/Makefile ---

[osv-dev] [COMMIT osv master] java: tweaked openjdk7 to add /usr/bin/java symlink

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master java: tweaked openjdk7 to add /usr/bin/java symlink Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/openjdk7/module.py b/modules/openjdk7/module.py --- a/modules/openjdk7/module.py +++ b/modules/openjdk7/module.py

[osv-dev] [COMMIT osv-apps master] Tweaked java-from-host to filter out libX* libraries

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Tweaked java-from-host to filter out libX* libraries Signed-off-by: Waldemar Kozaczuk --- diff --git a/java-from-host/Makefile b/java-from-host/Makefile --- a/java-from-host/Makefile +++ b/java-from-host/Makefile @@ -9,7

[osv-dev] [COMMIT osv master] java: add basic java test that does NOT use OSv wrapper

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master java: add basic java test that does NOT use OSv wrapper Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/java-tests/tests/src/main/java/io/osv/BasicTest.java

[osv-dev] [COMMIT osv-apps master] Added python-from-host app

2019-08-14 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added python-from-host app Signed-off-by: Waldemar Kozaczuk --- diff --git a/python-from-host/.gitignore b/python-from-host/.gitignore --- a/python-from-host/.gitignore +++ b/python-from-host/.gitignore @@ -0,0 +1 @@

[osv-dev] [COMMIT osv master] Upgrade cli, lua and httpserver-api modules to use OpenSSL 1.1 and Lua 5.3

2019-08-15 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Upgrade cli, lua and httpserver-api modules to use OpenSSL 1.1 and Lua 5.3 As the issue #1022 explains, building the default OSv image that implicitly adds cli module that in turn implicitly pulls httpserver-api and cli modules,

[osv-dev] [COMMIT osv master] dynamic linker: adjust message when symbol missing

2019-08-15 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master dynamic linker: adjust message when symbol missing This patch adjusts the message displayed by dynamic linker to better reflect the case when symbol is missing and should be ignored when loading ELF objects with BIND_NOW.

[osv-dev] [COMMIT osv-apps master] Added version of lighttpd that takes files from host

2019-08-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Added version of lighttpd that takes files from host Signed-off-by: Waldemar Kozaczuk --- diff --git a/lighttpd-from-host/Makefile b/lighttpd-from-host/Makefile --- a/lighttpd-from-host/Makefile +++

[osv-dev] [COMMIT osv-apps master] Upgraded jetty to the latest 9.4.19.v20190610

2019-08-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Upgraded jetty to the latest 9.4.19.v20190610 Signed-off-by: Waldemar Kozaczuk --- diff --git a/jetty/GET b/jetty/GET --- a/jetty/GET +++ b/jetty/GET @@ -2,8 +2,8 @@ set -ex mkdir upstream cd upstream

[osv-dev] [COMMIT osv-apps master] Merge branch 'master' of https://github.com/cloudius-systems/osv-apps

2019-08-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Merge branch 'master' of https://github.com/cloudius-systems/osv-apps --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -4,8 +4,16 @@ OSv Applications Introduction -This repository

[osv-dev] [COMMIT osv-apps master] java: add standard /usr/bin/java executable to jdk apps

2019-08-10 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master java: add standard /usr/bin/java executable to jdk apps This patch tweaks openjdk* makefiles to retain bin/java executable and makes module.py create a symlink /usr/bin/java pointing to the JDK java executable.

[osv-dev] [COMMIT osv master] setup: add pax-utils package for Ubuntu and Fedora

2019-08-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master setup: add pax-utils package for Ubuntu and Fedora Fairly recently added script - manifest_from_host.sh - uses lddtree tool which can recursively scan ELF files for dependencies. This patch adds the package that provides

[osv-dev] [COMMIT osv master] semaphores: fix sem_trywait

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master semaphores: fix sem_trywait This patch fixes a subtle but critical bug in sem_trywait() underlying implementation (semaphore.cc) which for example prevented new version of Java 12 and above hang on startup in infinite loop. It

[osv-dev] [COMMIT osv master] pthreads: implement pthread_attr_getdetachstate

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master pthreads: implement pthread_attr_getdetachstate This function is used by Java when enabling logging at trace level Signed-off-by: Waldemar Kozaczuk Message-Id: <20190810042907.16905-1-jwkozac...@gmail.com> --- diff --git

[osv-dev] [COMMIT osv-apps master] java: removed usr.manifest from java-from-host app

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master java: removed usr.manifest from java-from-host app Signed-off-by: Waldemar Kozaczuk --- diff --git a/java-from-host/.gitignore b/java-from-host/.gitignore --- a/java-from-host/.gitignore +++ b/java-from-host/.gitignore @@

[osv-dev] [COMMIT osv master] Updated apps

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated apps Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit d6d37ccb03cd51603c681c3527c2c03ebef83b2e +Subproject commit

[osv-dev] [COMMIT osv master] pthreads: make implementation of pthread_attr_getdetachstate more correct

2019-08-11 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master pthreads: make implementation of pthread_attr_getdetachstate more correct Signed-off-by: Waldemar Kozaczuk --- diff --git a/libc/pthread.cc b/libc/pthread.cc --- a/libc/pthread.cc +++ b/libc/pthread.cc @@ -642,7 +642,7 @@

[osv-dev] [COMMIT osv master] hpet: handle wrap-around with 32-bit counter

2019-08-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master hpet: handle wrap-around with 32-bit counter This patch enhances the hpet clock with 32-bit main counter to handle wrap-arounds. It does it by maintaining separate upper 32-bit counter per-cpu and incrementing it when wrap

[osv-dev] [COMMIT osv master] docs: Updated main README to make it better reflect current state of OSv

2019-08-18 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master docs: Updated main README to make it better reflect current state of OSv Signed-off-by: Waldemar Kozaczuk --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -1,115 +1,103 @@ # OSv -OSv is a new

[osv-dev] [COMMIT osv master] Fix bug in arch_setup_free_memory

2019-08-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Fix bug in arch_setup_free_memory The commit 97fe8aa3d2d8f2c938fcaa379c44ae5a80dfbf33 adjusted logic in arch_setup_free_memory() to improve memory utilization by making OSv use memory below kernel (<= 2MB). Ironically the new

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