[osv-dev] [COMMIT osv-apps master] vertx: added runs for native java

2019-09-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master vertx: added runs for native java Signed-off-by: Waldemar Kozaczuk --- diff --git a/vertx/module.py b/vertx/module.py --- a/vertx/module.py +++ b/vertx/module.py @@ -2,4 +2,6 @@ api.require('java') -default = api.run('/ja

[osv-dev] [COMMIT osv master] capstan: add script to automate building capstan MPM packages

2019-09-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master capstan: add script to automate building capstan MPM packages This patch adds new script - build-capstan-mpm-packages - to help automate process of creating capstan packages intended to be used to assemble OSv images out of th

[osv-dev] [COMMIT osv-apps master] capstan: add package descriptor files

2019-09-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master capstan: add package descriptor files Signed-off-by: Waldemar Kozaczuk --- diff --git a/apache-derby/module.py b/apache-derby/module.py --- a/apache-derby/module.py +++ b/apache-derby/module.py @@ -6,4 +6,4 @@ _args = ["-

[osv-dev] [COMMIT osv master] Updated apps to the latest ones

2019-09-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated apps to the latest ones Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 21cbb0a740936212c8a345a02eb42b8bd1a9810e +Subproject commit 0a249e0fd0ebe72b1

[osv-dev] [COMMIT osv master] scripts: replace old build-capstan-img and build-capstan-images with single build-capstan-base-image

2019-09-14 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: replace old build-capstan-img and build-capstan-images with single build-capstan-base-image Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/build-capstan-base-image b/scripts/build-capstan-base-image

[osv-dev] [COMMIT osv master] Made small corrections and added paragraph clarifying state of OSv and seeking volunteers

2019-09-15 Thread Commit Bot
From: WALDEMAR KOZACZUK Committer: GitHub Branch: master Made small corrections and added paragraph clarifying state of OSv and seeking volunteers --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +***OSv was originally designed and implemented by Cloudi

[osv-dev] [COMMIT osv master] scripts/manifest_from_host.sh: write errors to stderr

2019-09-28 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master scripts/manifest_from_host.sh: write errors to stderr manifest_from_host.sh currently writes error messages (e.g., that the "lddtree" command is not installed) to the stdout. But users of this script - like our Lua makefile - redir

[osv-dev] [COMMIT osv master] loader: replace boost program_options with light options utility functions

2019-10-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master loader: replace boost program_options with light options utility functions This patch changes loader.cc to use light options utility instead of boost program options. This patch partially addresses #1014 and together with one of t

[osv-dev] [COMMIT osv master] httpserver: replace boost program_options with light options utility functions

2019-10-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master httpserver: replace boost program_options with light options utility functions Fixes #1053 Signed-off-by: Waldemar Kozaczuk Message-Id: <20191003042437.27978-5-jwkozac...@gmail.com> --- diff --git a/modules/httpserver-api/glo

[osv-dev] [COMMIT osv master] options: implement light and simple alternative to boost program options

2019-10-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master options: implement light and simple alternative to boost program options This patch provides simple and light alternative to boost program options library. It adds handful of utility functions that are aimed to help parse command l

[osv-dev] [COMMIT osv master] cpiod: reduce cpiod size by replacing boost program options with the custom light alternative

2019-10-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master cpiod: reduce cpiod size by replacing boost program options with the custom light alternative Fixes #980 Signed-off-by: Waldemar Kozaczuk Message-Id: <20191003042437.27978-4-jwkozac...@gmail.com> --- diff --git a/tools/cpiod/

[osv-dev] [COMMIT osv master] commands: remove program options

2019-10-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master commands: remove program options This patch partially addresses #1014 and removes usage of boost program_options library in core/commands.cc. More specifically it reimplements handling of runscript options: '--env=VAR=abc' by using

[osv-dev] [COMMIT osv master] elf.cc: if Boost libraries aren't visible to applications, don't report them

2019-10-03 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master elf.cc: if Boost libraries aren't visible to applications, don't report them We have in elf.cc a list of libraries which are already fully included inside the OSv kernel, so the user doesn't need to load another copy of them. We ha

[osv-dev] [COMMIT osv master] tests: Add boost_system.so from externals to test manifest

2019-10-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tests: Add boost_system.so from externals to test manifest With boost 1.69 all symbols are hidden and the kernel no longer exports boost_system.so. However some applications from modules - most notably unit tests - link agains

[osv-dev] [COMMIT osv master] build: stop including libboost_program_options

2019-10-03 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master build: stop including libboost_program_options libboost_program_options caused us a various problems such as differences in visibility between versions (issue #1040), significant code size (issue #980) and others, so in the previou

[osv-dev] [COMMIT osv-apps master] rust: added pie examples

2019-10-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master rust: added pie examples Signed-off-by: Waldemar Kozaczuk --- diff --git a/rust-pie-example/.gitignore b/rust-pie-example/.gitignore --- a/rust-pie-example/.gitignore +++ b/rust-pie-example/.gitignore @@ -0,0 +1,2 @@ +target

[osv-dev] [COMMIT osv-apps master] KeyDB: Multithreaded fork of Redis

2019-10-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master KeyDB: Multithreaded fork of Redis Signed-off-by: Waldemar Kozaczuk --- diff --git a/keydb/Makefile b/keydb/Makefile --- a/keydb/Makefile +++ b/keydb/Makefile @@ -0,0 +1,14 @@ +SRC = $(shell readlink -f ../..) + +upstream/Ke

[osv-dev] [COMMIT osv master] scripts: add automated testing framework

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: add automated testing framework This patch adds number of shell and Python scripts to help automate integration testing which involves running variety of test apps on OSv and validate their behavior. The motivation is

[osv-dev] [COMMIT osv master] scripts: make run.py behave correctly regardless where called from

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: make run.py behave correctly regardless where called from This patch tweaks run.py to make sure that it does NOT assume it is called as './scripts/run.py' from OSv root directory. Now it can be invoked from any place

[osv-dev] [COMMIT osv master] scripts: enhance build-capstan-mpm-packages

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: enhance build-capstan-mpm-packages This patch fixes this script to retain file attributes when copying from export directory to where capstan creates package from and also adds number of new packages: - tomcat - https

[osv-dev] [COMMIT osv master] scripts: enhance tests/testing.py

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: enhance tests/testing.py This patch enhances the script in following ways: - makes it work regardless which place on filesystem called from - allows piping the standard input to the guest input to help automate test

[osv-dev] [COMMIT osv-apps master] spring-boot: fixed incorrect command line

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master spring-boot: fixed incorrect command line Signed-off-by: Waldemar Kozaczuk --- diff --git a/spring-boot-example/module.py b/spring-boot-example/module.py --- a/spring-boot-example/module.py +++ b/spring-boot-example/module.p

[osv-dev] [COMMIT osv-apps master] nginx: upgraded to latest version

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master nginx: upgraded to latest version Signed-off-by: Waldemar Kozaczuk --- diff --git a/nginx/Makefile b/nginx/Makefile --- a/nginx/Makefile +++ b/nginx/Makefile @@ -1,4 +1,4 @@ -VERSION=1.12.2 +VERSION=1.17.4 SOURCE=http://ngi

[osv-dev] [COMMIT osv-apps master] add test scripts to over 30 apps to automate testing process

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master add test scripts to over 30 apps to automate testing process Signed-off-by: Waldemar Kozaczuk --- diff --git a/apache-derby/test.sh b/apache-derby/test.sh --- a/apache-derby/test.sh +++ b/apache-derby/test.sh @@ -0,0 +1,11 @

[osv-dev] [COMMIT osv-apps master] golang: made non-pie examples depend on osv.run-go package implicitly

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master golang: made non-pie examples depend on osv.run-go package implicitly Signed-off-by: Waldemar Kozaczuk --- diff --git a/golang-example/mpm/package.yaml b/golang-example/mpm/package.yaml --- a/golang-example/mpm/package.ya

[osv-dev] [COMMIT osv-apps master] node examples: fixed apps to build and run

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master node examples: fixed apps to build and run Signed-off-by: Waldemar Kozaczuk --- diff --git a/node-express-example/Makefile b/node-express-example/Makefile --- a/node-express-example/Makefile +++ b/node-express-example/Makefi

[osv-dev] [COMMIT osv-apps master] redis: tweaked configuration to enable in-traffic by default

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master redis: tweaked configuration to enable in-traffic by default Signed-off-by: Waldemar Kozaczuk --- diff --git a/redis-memonly/redis.conf b/redis-memonly/redis.conf --- a/redis-memonly/redis.conf +++ b/redis-memonly/redis.conf

[osv-dev] [COMMIT osv-apps master] elasticsearch: fix dependencies issues in the makefile

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master elasticsearch: fix dependencies issues in the makefile Signed-off-by: Waldemar Kozaczuk --- diff --git a/elasticsearch/Makefile b/elasticsearch/Makefile --- a/elasticsearch/Makefile +++ b/elasticsearch/Makefile @@ -4,7 +4,7

[osv-dev] [COMMIT osv-apps master] openjdk: fix script latest.sh to return latest working version of the jdk

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master openjdk: fix script latest.sh to return latest working version of the jdk Signed-off-by: Waldemar Kozaczuk --- diff --git a/openjdk8-zulu-compact-common/latest.sh b/openjdk8-zulu-compact-common/latest.sh --- a/openjdk8-zu

[osv-dev] [COMMIT osv-apps master] apache-derby: added native command line

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master apache-derby: added native command line Signed-off-by: Waldemar Kozaczuk --- diff --git a/apache-derby/module.py b/apache-derby/module.py --- a/apache-derby/module.py +++ b/apache-derby/module.py @@ -6,4 +6,4 @@ _args = [

[osv-dev] [COMMIT osv master] scripts: tweaked compose_and_test_selected_apps to simplify building some golang test examples

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: tweaked compose_and_test_selected_apps to simplify building some golang test examples Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/tests/compose_and_test_selected_apps.sh b/scripts/tests/compose_an

[osv-dev] [COMMIT osv master] Updated apps to the latest ones

2019-10-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Updated apps to the latest ones Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 0a249e0fd0ebe72b1d7dc3583cacf071ee3e4c56 +Subproject commit 9c31f4d50efe03fbb

[osv-dev] [COMMIT osv master] scripts: generate meta descriptor when creating kernel into capstan repo

2019-10-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: generate meta descriptor when creating kernel into capstan repo --- diff --git a/scripts/build-capstan-mpm-packages b/scripts/build-capstan-mpm-packages --- a/scripts/build-capstan-mpm-packages +++ b/scripts/build-

[osv-dev] [COMMIT osv master] Support local-exec TLS access

2019-10-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Support local-exec TLS access This patch enhances OSv dynamic loader to support pies and position dependant executables that use TLS (Thread Local Storage) in local-exec mode. It does so by reserving an extra slot in kernel s

[osv-dev] [COMMIT osv-apps master] keydb: make it testable

2019-10-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master keydb: make it testable Signed-off-by: Waldemar Kozaczuk --- diff --git a/keydb/Makefile b/keydb/Makefile --- a/keydb/Makefile +++ b/keydb/Makefile @@ -9,6 +9,7 @@ upstream/KeyDB/src/keydb-server: upstream/KeyDB/.git modul

[osv-dev] [COMMIT osv master] scripts: improved automated test scripts to explicitly report success

2019-10-24 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: improved automated test scripts to explicitly report success Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/tests/test_app.py b/scripts/tests/test_app.py --- a/scripts/tests/test_app.py +++ b/scripts/test

[osv-dev] [COMMIT osv master] firecracker: upgrade to the latest version 0.19.0 and enhance script to use api-less mode

2019-10-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master firecracker: upgrade to the latest version 0.19.0 and enhance script to use api-less mode This patch enhances firecracker.py to allow starting firecracker in "api-less" mode. In the api-less mode firecracker takes parameter

[osv-dev] [COMMIT osv master] aarch64: make it build again

2019-10-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master aarch64: make it build again Signed-off-by: Waldemar Kozaczuk --- diff --git a/arch/aarch64/arch-elf.cc b/arch/aarch64/arch-elf.cc --- a/arch/aarch64/arch-elf.cc +++ b/arch/aarch64/arch-elf.cc @@ -75,4 +75,9 @@ void object::

[osv-dev] [COMMIT osv-apps master] tests: enhanced some apps to be testable with firecracker

2019-11-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tests: enhanced some apps to be testable with firecracker Signed-off-by: Waldemar Kozaczuk --- diff --git a/elasticsearch/tests/load_data.sh b/elasticsearch/tests/load_data.sh --- a/elasticsearch/tests/load_data.sh +++ b/

[osv-dev] [COMMIT osv master] apps: updated to the latest ones

2019-11-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master apps: updated to the latest ones Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit 9c31f4d50efe03fbbc412cb85762c3b4a5e6 +Subproject commit d5ba975d22f7fac1

[osv-dev] [COMMIT osv master] firecracker: improve networking setup tools

2019-11-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master firecracker: improve networking setup tools This patch is slightly more enhanced version of the patch submitted originally by Zhiting Zhu. It mainly adds number of new scripts aiming to help setup proper networking environmen

[osv-dev] [COMMIT osv master] firecracker: enhance firecracker.py to save/restore terminal

2019-11-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master firecracker: enhance firecracker.py to save/restore terminal This patch borrows similar logic from run.py to save and restore terminal line settings to prevent firecracker.py mess up the terminal. Signed-off-by: Waldemar Koza

[osv-dev] [COMMIT osv master] libc: added __log2f_finite() alias

2019-11-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master libc: added __log2f_finite() alias Signed-off-by: Waldemar Kozaczuk --- diff --git a/libc/math/aliases.c b/libc/math/aliases.c --- a/libc/math/aliases.c +++ b/libc/math/aliases.c @@ -20,6 +20,11 @@ double __log2_finite(doubl

[osv-dev] [COMMIT osv master] procfs: implement /proc/self/exe

2019-11-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master procfs: implement /proc/self/exe This patch adds /proc/self/exe which symlinks to the application being executed. It also adds symlink support to procfs. Signed-off-by: Waldemar Kozaczuk --- diff --git a/fs/procfs/procfs_vn

[osv-dev] [COMMIT osv master] tls: parameterize static tls reservation

2019-11-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tls: parameterize static tls reservation This patch makes it possible to pass size of the app static TLS reservation as build parameter to makefile. It also adds logic calculate what value of this parameter should be if the r

[osv-dev] [COMMIT osv master] tls: make local-exec tls aligned

2019-11-20 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tls: make local-exec tls aligned The patch 70547a6c64c56cbdf4c5b5d0c7eaa1e85badb0f7 added support of local-exec TLS used by pies and position-dependant executables. Unfortunately it missed to make sure that static TLS in this

[osv-dev] [COMMIT osv master] Added patch/pull requests clarification to the main README

2019-11-21 Thread Commit Bot
From: WALDEMAR KOZACZUK Committer: GitHub Branch: master Added patch/pull requests clarification to the main README --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -***OSv was originally designed and implemented by Cloudius Systems (now ScyllaDB) howeve

[osv-dev] [COMMIT osv master] setup: added make dependency

2019-11-21 Thread Commit Bot
From: Matthew Pabst Committer: Nadav Har'El Branch: master setup: added make dependency Signed-off-by: Matthew Pabst Message-Id: <20191121145024.9338-1-pabstmatt...@gmail.com> --- diff --git a/scripts/setup.py b/scripts/setup.py --- a/scripts/setup.py +++ b/scripts/setup.py @@ -42,6 +42,7 @@

[osv-dev] [COMMIT osv master] virtio: adjust virtual queues initialization to adhere to the suggestions in the spec

2019-11-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master virtio: adjust virtual queues initialization to adhere to the suggestions in the spec This patch changes slighly how the virtual queues get detected and activated. Before this patch the all the queues would be first detect

[osv-dev] [COMMIT osv master] power down: cause triple fault if keyboard controller method did not work on non-acpi hypervisors

2019-11-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master power down: cause triple fault if keyboard controller method did not work on non-acpi hypervisors Signed-off-by: Waldemar Kozaczuk --- diff --git a/arch/x64/power.cc b/arch/x64/power.cc --- a/arch/x64/power.cc +++ b/arch/

[osv-dev] [COMMIT osv master] virtio-mmio: do not pretend OSv implements version other than 2

2019-11-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master virtio-mmio: do not pretend OSv implements version other than 2 Signed-off-by: Waldemar Kozaczuk --- diff --git a/drivers/virtio-mmio.cc b/drivers/virtio-mmio.cc --- a/drivers/virtio-mmio.cc +++ b/drivers/virtio-mmio.cc @@ -

[osv-dev] [COMMIT osv master] scripts: modify run.py to return easier to read output --dry-run

2019-11-22 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: modify run.py to return easier to read output --dry-run Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/run.py b/scripts/run.py --- a/scripts/run.py +++ b/scripts/run.py @@ -32,7 +32,10 @@ def format_args(

[osv-dev] [COMMIT osv master] scripts/run.py: allow to pass block device cache mode to qemu

2019-11-22 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts/run.py: allow to pass block device cache mode to qemu Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/run.py b/scripts/run.py --- a/scripts/run.py +++ b/scripts/run.py @@ -90,8 +90,10 @@ def is_direct_io_su

[osv-dev] [COMMIT osv master] scripts/run.py: support running OSv on new QEMU microvm machine

2019-11-22 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts/run.py: support running OSv on new QEMU microvm machine Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/run.py b/scripts/run.py --- a/scripts/run.py +++ b/scripts/run.py @@ -68,7 +68,13 @@ def set_imgargs(o

[osv-dev] [COMMIT osv master] makefile: introduce loader_options.ld as a better way to pass APP_LOCAL_EXEC_TLS_SIZE to the linker script

2019-11-22 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master makefile: introduce loader_options.ld as a better way to pass APP_LOCAL_EXEC_TLS_SIZE to the linker script Signed-off-by: Waldemar Kozaczuk --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -493,6 +493

[osv-dev] [COMMIT osv master] makefile: move loader_options.ld one level up

2019-11-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master makefile: move loader_options.ld one level up Signed-off-by: Waldemar Kozaczuk --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1889,16 +1889,17 @@ stage1_targets = $(out)/arch/$(arch)/boot.o $(out)/l

[osv-dev] [COMMIT osv-apps master] Add new Typescript/Javascript runtime - deno - example

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master Add new Typescript/Javascript runtime - deno - example Signed-off-by: Waldemar Kozaczuk --- diff --git a/deno/Makefile b/deno/Makefile --- a/deno/Makefile +++ b/deno/Makefile @@ -0,0 +1,19 @@ +src = $(shell readlink -f ../..

[osv-dev] [COMMIT osv-apps master] graalvm: added JS runtime

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master graalvm: added JS runtime Signed-off-by: Waldemar Kozaczuk --- diff --git a/graalvm-js/.gitignore b/graalvm-js/.gitignore --- a/graalvm-js/.gitignore +++ b/graalvm-js/.gitignore @@ -0,0 +1 @@ +usr.manifest diff --git a/graal

[osv-dev] [COMMIT osv-apps master] graalvm: updated to 19.3 and put common download logic in single sub makefile

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master graalvm: updated to 19.3 and put common download logic in single sub makefile Signed-off-by: Waldemar Kozaczuk --- diff --git a/graalvm-example/.gitignore b/graalvm-example/.gitignore --- a/graalvm-example/.gitignore +++

[osv-dev] [COMMIT osv-apps master] webassembly: add 3 WASM examples - lua, sqlite and nginx - to run on wasmer

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master webassembly: add 3 WASM examples - lua, sqlite and nginx - to run on wasmer Signed-off-by: Waldemar Kozaczuk --- diff --git a/webassembly/Makefile b/webassembly/Makefile --- a/webassembly/Makefile +++ b/webassembly/Makefile

[osv-dev] [COMMIT osv master] apps: update to the latest

2019-11-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master apps: update to the latest Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit d5ba975d22f7fac1d47dec92017cc2ecc8ce70ee +Subproject commit fe5be0d1717bb5cf799c00

[osv-dev] [COMMIT osv master] makefile: remove redundant linker script for vmlinuz.bin which causes gcc 9.2 linker error

2019-11-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master makefile: remove redundant linker script for vmlinuz.bin which causes gcc 9.2 linker error Signed-off-by: Waldemar Kozaczuk --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -447,7 +447,7 @@ $(out)/arc

[osv-dev] [COMMIT osv-apps master] mysql: enhance test script to run it with vhost/tap networking setup

2019-11-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master mysql: enhance test script to run it with vhost/tap networking setup Signed-off-by: Waldemar Kozaczuk --- diff --git a/mysql/test.sh b/mysql/test.sh --- a/mysql/test.sh +++ b/mysql/test.sh @@ -3,9 +3,15 @@ THIS_DIR=$(readli

[osv-dev] [COMMIT osv master] apps: updated to the latest

2019-11-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master apps: updated to the latest Signed-off-by: Waldemar Kozaczuk --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit fe5be0d1717bb5cf799c0015b1a2e401051379e1 +Subproject commit 32f58972f5521ea750006

[osv-dev] [COMMIT osv master] scripts: enhance test_app_with_test_script.py to allow running with vhost/tap networking

2019-11-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master scripts: enhance test_app_with_test_script.py to allow running with vhost/tap networking Signed-off-by: Waldemar Kozaczuk --- diff --git a/scripts/tests/test_app_with_test_script.py b/scripts/tests/test_app_with_test_sc

[osv-dev] [COMMIT osv master] httpserver-jvm-plugin: remove dependency on externals

2019-11-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master httpserver-jvm-plugin: remove dependency on externals This patch also makes httpserver-api tests pass on Fedora 30. Signed-off-by: Waldemar Kozaczuk Message-Id: <20191128053628.12836-1-jwkozac...@gmail.com> --- diff --git a/modu

[osv-dev] [COMMIT osv master] unit tests: replace deprecated BOOST_MESSAGE with BOOST_TEST_MESSAGE

2019-11-28 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master unit tests: replace deprecated BOOST_MESSAGE with BOOST_TEST_MESSAGE This patch resolves compilations errors with newer versions of boost. Signed-off-by: Waldemar Kozaczuk Message-Id: <20191128054258.13240-1-jwkozac...@gmail.com>

[osv-dev] [COMMIT osv master] tests: fix warning in tst-symlink

2019-11-28 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master tests: fix warning in tst-symlink The compiler correctly warns that we can't fill 4097 bytes of an array size 4096 (=PATH_MAX). I don't know why this code had 4097 in the first place. The test still passes with this fix, and the w

[osv-dev] [COMMIT osv master] tests: fix warning in tst-mmap.cc

2019-11-28 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master tests: fix warning in tst-mmap.cc When building tests, we get this warning: tst-mmap.hh:76:19: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 76 | char byte = **(volatile

[osv-dev] [COMMIT osv master] tests: fix compilation warning in tests/tst-run.cc

2019-11-28 Thread Commit Bot
From: Nadav Har'El Committer: Waldemar Kozaczuk Branch: master tests: fix compilation warning in tests/tst-run.cc It is generally a bad idea to catch exceptions by value, because it forces an unnecessary copy of the caught value. It's even worse when the type is polymorphic - in that case the

[osv-dev] [COMMIT osv master] osv: fix keyboard reset, add pci reset

2019-11-28 Thread Commit Bot
From: yuchenq Committer: Nadav Har'El Branch: master osv: fix keyboard reset, add pci reset The original keyboard reset does not wait a for short period, so we see the triple fault being triggered even if the keyboard reset is successful sometimes. Added a wait there to make sure the keyboard

[osv-dev] [COMMIT osv master] vfs: make fcntl() handle F_DUPFD_CLOEXEC

2019-12-01 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master vfs: make fcntl() handle F_DUPFD_CLOEXEC Signed-off-by: Waldemar Kozaczuk Message-Id: <20191130041217.13741-1-jwkozac...@gmail.com> --- diff --git a/fs/vfs/main.cc b/fs/vfs/main.cc --- a/fs/vfs/main.cc +++ b/fs/vfs/main.cc @@ -14

[osv-dev] [COMMIT osv master] Add bare .travis.yml for testing build

2019-12-05 Thread Commit Bot
From: Mason Davis Committer: Waldemar Kozaczuk Branch: master Add bare .travis.yml for testing build After this patch, subsequent commits to the osv GitHub Repo should trigger a build at https://travis-ci.org/cloudius-systems/osv. At the moment, the build consists of building the Ubuntu Docke

[osv-dev] [COMMIT osv master] osv: properly assign gsi number inside handler

2019-12-06 Thread Commit Bot
From: yuchenq Committer: Waldemar Kozaczuk Branch: master osv: properly assign gsi number inside handler Initialize the gsi number inside handler to an unreachable number. The gsi number was not properly initialized and default to 0 previously, and caused interrupt misfiring for level triggere

[osv-dev] [COMMIT osv master] tests: clean makefile to print quiet messages consistenly

2019-12-08 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tests: clean makefile to print quiet messages consistenly Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/tests/Makefile b/modules/tests/Makefile --- a/modules/tests/Makefile +++ b/modules/tests/Makefile @@ -65,13

[osv-dev] [COMMIT osv master] tst-truncate: replace tmpnam with mkstemp to fix compiler warnings

2019-12-08 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tst-truncate: replace tmpnam with mkstemp to fix compiler warnings Signed-off-by: Waldemar Kozaczuk --- diff --git a/tests/tst-truncate.c b/tests/tst-truncate.c --- a/tests/tst-truncate.c +++ b/tests/tst-truncate.c @@ -1,16

[osv-dev] [COMMIT osv master] tst-fallocate: replace mktemp with mkstemp to fix compiler warnings

2019-12-08 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tst-fallocate: replace mktemp with mkstemp to fix compiler warnings Signed-off-by: Waldemar Kozaczuk --- diff --git a/tests/tst-fallocate.cc b/tests/tst-fallocate.cc --- a/tests/tst-fallocate.cc +++ b/tests/tst-fallocate.cc

[osv-dev] [COMMIT osv master] elf: reverse unloading of objects in needed list

2019-12-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master elf: reverse unloading of objects in needed list New versions of boost like 1.69.0 have more complicated dependendencies and cause issues with some of the unit tests. ``` tst-rcu-list.so libboost_unit_test_framework.so.1.69.0

[osv-dev] [COMMIT osv master] tst-fs-link: replace mktemp with mkstemp to fix compiler warnings

2019-12-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master tst-fs-link: replace mktemp with mkstemp to fix compiler warnings Signed-off-by: Waldemar Kozaczuk Message-Id: <20191209010643.27127-1-jwkozac...@gmail.com> --- diff --git a/tests/tst-fs-link.cc b/tests/tst-fs-link.cc --- a/tests

[osv-dev] [COMMIT osv master] tst-zfs-mount: replace mktemp with mkstemp to fix compiler warnings

2019-12-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master tst-zfs-mount: replace mktemp with mkstemp to fix compiler warnings Signed-off-by: Waldemar Kozaczuk Message-Id: <20191209012233.30437-1-jwkozac...@gmail.com> --- diff --git a/tests/tst-zfs-mount.cc b/tests/tst-zfs-mount.cc --- a

[osv-dev] [COMMIT osv master] misc-fs-stress: replace mktemp with mkstemp to fix compiler warnings

2019-12-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master misc-fs-stress: replace mktemp with mkstemp to fix compiler warnings Signed-off-by: Waldemar Kozaczuk Message-Id: <20191209030913.1842-1-jwkozac...@gmail.com> --- diff --git a/tests/misc-fs-stress.cc b/tests/misc-fs-stress.cc ---

[osv-dev] [COMMIT osv master] tests: replace tmpnam() with mkdtemp() in implementation of TempDir

2019-12-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master tests: replace tmpnam() with mkdtemp() in implementation of TempDir This should be the last patch addressing compiler warnings in unit tests as reported by the issue #976. Refs #976 Signed-off-by: Waldemar Kozaczuk Message-Id: <

[osv-dev] [COMMIT osv master] libtools: make gcc compiler messages quiet

2019-12-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master libtools: make gcc compiler messages quiet Signed-off-by: Waldemar Kozaczuk Message-Id: <20191209044400.26532-1-jwkozac...@gmail.com> --- diff --git a/modules/libtools/Makefile b/modules/libtools/Makefile --- a/modules/libtools/M

[osv-dev] [COMMIT osv master] tests: stop using boost from externals

2019-12-15 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master tests: stop using boost from externals This patch makes necessary changes to th tests module Makefile to replace "antique" version of boost with its version in host. It is also another step in the effort to eliminate usage of

[osv-dev] [COMMIT osv master] elf: add debug statement aiming to help diagnose problems

2019-12-18 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master elf: add debug statement aiming to help diagnose problems Signed-off-by: Waldemar Kozaczuk --- diff --git a/core/elf.cc b/core/elf.cc --- a/core/elf.cc +++ b/core/elf.cc @@ -30,6 +30,14 @@ #include "arch.hh" +#define ELF_

[osv-dev] [COMMIT osv master] zfs: default device name to vblk0.1 if vdev_path different than /dev/vblk*

2019-12-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master zfs: default device name to vblk0.1 if vdev_path different than /dev/vblk* This patch allows mounting OSv zfs image on Linux host and/or modifying and using again to boot OSv. It also allows mounting ZFS disks created on Linux host

[osv-dev] [COMMIT osv master] zfs: do not import extra pools unless requested

2019-12-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master zfs: do not import extra pools unless requested This patch makes OSv not to try to import extra ZFS (beyond the root one) unless specifically requested by passing new '--extra-zfs-pools' boot parameter. This improves the OSv boot

[osv-dev] [COMMIT osv master] elf: when relocating do not lookup STB_LOCAL symbols by name

2019-12-23 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master elf: when relocating do not lookup STB_LOCAL symbols by name As the issue #1065 describes, some linkers (like gold) in certain scenarios generate ELF objects that end up with symbols with local binding (STB_LOCAL) that need to

[osv-dev] [COMMIT osv master] elf: do not lookup symbol twice in resolve_pltgot

2019-12-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master elf: do not lookup symbol twice in resolve_pltgot Signed-off-by: Waldemar Kozaczuk Message-Id: <20191227043028.12653-1-jwkozac...@gmail.com> --- diff --git a/arch/aarch64/arch-elf.cc b/arch/aarch64/arch-elf.cc --- a/arch/aar

[osv-dev] [COMMIT osv master] kvm: keep wall clock in sync with host

2019-12-27 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master kvm: keep wall clock in sync with host This patch is an updated version of the one originally authored by Rick Payne over year ago. It adds logic to start a thread to periodically update KVM wall clock so that date and time st

[osv-dev] [COMMIT osv master] arm: moved constructor init function in preparation for next patch

2019-12-30 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master arm: moved constructor init function in preparation for next patch Signed-off-by: Waldemar Kozaczuk --- diff --git a/arch/aarch64/arch-dtb.cc b/arch/aarch64/arch-dtb.cc --- a/arch/aarch64/arch-dtb.cc +++ b/arch/aarch64/arch-

[osv-dev] [COMMIT osv master] add pthread_setcanceltype implementation

2019-12-30 Thread Commit Bot
From: Zhiting Zhu Committer: Waldemar Kozaczuk Branch: master add pthread_setcanceltype implementation Signed-off-by: Zhiting Zhu Message-Id: <20191230193403.61022-1-zhiti...@cs.utexas.edu> --- diff --git a/libc/pthread.cc b/libc/pthread.cc --- a/libc/pthread.cc +++ b/libc/pthread.cc @@ -39,

[osv-dev] [COMMIT osv master] arm: do not relocate DTB, instead read it ahead of time

2020-01-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master arm: do not relocate DTB, instead read it ahead of time As noted in one of the email threads, the aarch64 build of OSv fails to boot with the following error: "dtb_setup: failed to move dtb (dtb too large?)". It turns out that

[osv-dev] [COMMIT osv master] elf: make symbols visible to the object itself from threads created by INIT functions

2020-01-06 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master elf: make symbols visible to the object itself from threads created by INIT functions As the issue #1067 explains, sometimes INIT functions create threads that reference symbols from the object being initialized. Current

[osv-dev] [COMMIT osv master] procfs: add meminfo pseudo-file

2020-01-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master procfs: add meminfo pseudo-file Signed-off-by: Waldemar Kozaczuk --- diff --git a/fs/procfs/procfs_vnops.cc b/fs/procfs/procfs_vnops.cc --- a/fs/procfs/procfs_vnops.cc +++ b/fs/procfs/procfs_vnops.cc @@ -182,6 +182,7 @@ proc

[osv-dev] [COMMIT osv master] libc: expose it as musl

2020-01-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master libc: expose it as musl This patch exposes the libc implementation which is greatly a subset of musl as such so that binaries built for musl-based Linux distributions like alpine do not complain about its absence. References

[osv-dev] [COMMIT osv master] glibc: add explicit_bzero() function

2020-01-09 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master glibc: add explicit_bzero() function Signed-off-by: Waldemar Kozaczuk --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -1585,6 +1585,7 @@ libc += stdlib/strtod.o libc += stdlib/wcstol.o libc += string

[osv-dev] [COMMIT osv master] Add dlsym tests

2020-01-11 Thread Commit Bot
From: Zhiting Zhu Committer: Waldemar Kozaczuk Branch: master Add dlsym tests This patch includes a module called dl_tests which clones the bionic and compile the needed library files. Signed-off-by: Zhiting Zhu Message-Id: <20200110071641.110196-1-zhiti...@cs.utexas.edu> --- diff --git a/.

[osv-dev] [COMMIT osv master] elf: fix thread visiblity issue

2020-01-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master elf: fix thread visiblity issue The commit fe37650fbbcd352806bab3e9e70949a65fadf29b to address the issue #1067 relaxed the elf visibility rules while being loaded to child threads so that they can resolve symbols if any threads are

[osv-dev] [COMMIT osv master] thread: make walking parent-child thread relationship safer

2020-01-12 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master thread: make walking parent-child thread relationship safer This patch replaces _parent_link/thread_list with a simple parent_thread_id field to make walking parent-child list safer in elf::visible() method. Signed-off-by: Waldema

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