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
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
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 =
["-
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
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 @
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
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
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
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
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
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 =
[
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
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
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-
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
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
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
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
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::
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/
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
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
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
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
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
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
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
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
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 @@
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
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/
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
@@ -
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(
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
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
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
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
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 ../..
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
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
+++
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
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
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
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
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
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
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
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>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
---
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: <
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
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
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_
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
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
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
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
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
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-
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,
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
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
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
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
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
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/.
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
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
201 - 300 of 1725 matches
Mail list logo