[COMMIT osv master] Add `yaml-cpp' in package list for Arch Linux in README

2016-07-27 Thread Commit Bot
From: Iori YONEJI Committer: Iori YONEJI Branch: master Add `yaml-cpp' in package list for Arch Linux in README --- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ apt-get install build-essential

[COMMIT osv master] tests: add missing include in tst-rcu-hashtable.cc

2016-07-23 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master tests: add missing include in tst-rcu-hashtable.cc tests/tst-rcu-hashtable.cc uses std::default_random_engine but forgot to #include . Somehow it still worked in older versions of Gcc, but no

[COMMIT osv master] sched: ignore thread in wrong wakeup queue

2016-08-03 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master sched: ignore thread in wrong wakeup queue With this patch, if handle_incoming_wakeups() discovers in a CPU's wakeup queue a thread which does not actually belong to it, it simply ignores it. This

[COMMIT osv master] sched: add _pinned flag for threads

2016-08-03 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master sched: add _pinned flag for threads Threads currently have a _migration_lock_counter which, when positive, prevent the thread from being migrated to a different CPU. Using sched::thread::pin() can

[COMMIT osv master] scripts/setup.py: add support for Fedora 24

2016-08-11 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master scripts/setup.py: add support for Fedora 24 Add support for setup.py installing the prerequisite packages on Fedora 24. It appears that the same list of Fedora 23 works also on Fedora 24.

[COMMIT osv master] net: Allow SIOCGIFBRDADDR even without IFF_BROADCAST

2016-08-10 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master net: Allow SIOCGIFBRDADDR even without IFF_BROADCAST On Linux, one may query even a network interface that doesn't have the "BROADCAST" flag with SIOCGIFBRDADDR - for example, the loopback

[COMMIT osv master] Fix if_nameindex()

2016-08-10 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Fix if_nameindex() The if_nameindex() implementation we got from Musl is based on various ioctls explained in netdevice(7). As that manual page explains, these ioctls "can be used on any socket's

[COMMIT osv master] Delete libc/network/getifaddrs.c

2016-08-10 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Delete libc/network/getifaddrs.c The file libc/network/getifaddrs.c was not used - the Makefile was using the one from musl/. And it's not working anyway (issue #783). Signed-off-by: Nadav Har'El

[COMMIT osv master] Provide alternative java.so to start jvm without classloader and log manager isolation in order to run JRE compact profiles.

2016-08-15 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Avi Kivity Branch: master Provide alternative java.so to start jvm without classloader and log manager isolation in order to run JRE compact profiles. In order to run a JVM app using compact profile 1, 2 or 3 JRE

[COMMIT osv master] pthread: change type of pthread_t

2016-07-23 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master pthread: change type of pthread_t Our pthread_t type was a pointer, while in Linux it was an unsigned long. This was ok for binary compatibility, because both have the same size, but the

[COMMIT osv master] sched: fix key type of thread_map

2016-07-03 Thread Commit Bot
From: Nadav Har'El Committer: Avi Kivity Branch: master sched: fix key type of thread_map Justin Cinkelj noticed that there is no reason for the key of "thread_map" to be unsigned long, while our actual thread::id() is unsigned

[COMMIT osv master] - remove _KERNEL restriction

2017-01-30 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master - remove _KERNEL restriction In , all of the osv::application:: API was hidden with a '#ifdef _KERNEL', probably to avoid header file conflicts in applications which include the normal Linux

[COMMIT osv master] math: add nearbyint() and friends

2017-02-06 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master math: add nearbyint() and friends nearbyint() is just like rint(), with slightly different handling of "inexact" exceptions. Just use the Musl implementation (we need to ignore warnings on

[COMMIT osv master] sched::with_thread_by_id()

2017-02-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master sched::with_thread_by_id() The existing function sched::thread::find_by_id() efficiently finds a sched::thread object given a numerical id. However, if this call races with the thread's exit, the

[COMMIT osv master] httpserver: return thread ID of the started app

2017-02-02 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master httpserver: return thread ID of the started app The caller will use returned thread ID to check if that app finished. The check-if-finished will be implemented in a follow-up patch.

[COMMIT osv master] run.py: add option for additional cloud-init disk

2017-02-01 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master run.py: add option for additional cloud-init disk The additional disk has to be second device on (virtio) bus, as only /dev/vblk1 is tested for magic header. See also

[COMMIT osv master] gdb: allow to pass hostname:port to connect to

2017-02-01 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master gdb: allow to pass hostname:port to connect to Patch enables debugging VMs on remote hosts. When connecting to localhost on non-default port, a ':PORT' string can be used. So almost no

[COMMIT osv master] libc: add pthread_gettid_np to get thread ID of arbitrary pthread_t

2017-02-01 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master libc: add pthread_gettid_np to get thread ID of arbitrary pthread_t The added pthread_gettid_np is not portable, and differs even from pthread_getthreadid_np (that one works for current

[COMMIT osv master] Add RHEL 7.{1,2,3} support.

2017-02-05 Thread Commit Bot
From: Quentin Barnes' via OSv Development Committer: Nadav Har'El Branch: master Add RHEL 7.{1,2,3} support. Signed-off-by: Quentin Barnes Message-Id: <20170204015406.ef9a0c11e...@sanddesert.champ.corp.yahoo.com> --- diff

[COMMIT osv master] makefile: avoid known warning for exp2l.c

2017-02-05 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master makefile: avoid known warning for exp2l.c In musl/src/math/exp2l.c we have a known warning: musl/src/math/exp2l.c:206:22: warning: unused variable ‘v’ [-Wunused-variable] We already made sure

[COMMIT osv master] get rid of osv::run_background()

2017-02-05 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master get rid of osv::run_background() Remove the osv::run_background() function - nothing calls it now, and it is nothing more than an alias to osv::application::run(). Before commit

[COMMIT osv master] makefile: avoid known warning for lgamma*

2017-02-05 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master makefile: avoid known warning for lgamma* In musl/src/math/lgamma*.c we have a known warning wrongly complaining about a "maybe uninitialized" variable. We already made sure this warning doesn't

[COMMIT osv master] The mkostemp() function is missing in Makefile.

2017-02-06 Thread Commit Bot
From: Quentin Barnes' via OSv Development Committer: Nadav Har'El Branch: master The mkostemp() function is missing in Makefile. Fixes #604. Signed-off-by: Quentin Barnes Message-Id:

[COMMIT osv master] elf.cc: expect .note.osv-mlock section with no strings

2017-01-23 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master elf.cc: expect .note.osv-mlock section with no strings Code to remove \0 at end of string tried to copy strlen()-1 data bytes. It didn't expect the .note.osv-mlock section to contains only

[COMMIT osv master] libc: implement sched_getcpu

2017-01-23 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master libc: implement sched_getcpu Signed-off-by: Justin Cinkelj Message-Id: <20170123104417.14205-1-justin.cink...@xlab.si> --- diff --git a/libc/libc.cc b/libc/libc.cc

[COMMIT osv master] libc: implement gethostid and sethostid

2017-01-24 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master libc: implement gethostid and sethostid MAC address of first "real" ethernet interface is used as unique host identifier. Fixes #841. Signed-off-by: Justin Cinkelj

[COMMIT osv master] Added json -> application/json mapping in mime_types in httpserver module

2017-01-25 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added json -> application/json mapping in mime_types in httpserver module Added json -> application/json mapping in mime_types.cc in httpserver module to make it return correct

[COMMIT osv master] update osv-gui submodule

2017-01-25 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master update osv-gui submodule Signed-off-by: Nadav Har'El --- diff --git a/modules/httpserver/osv-gui b/modules/httpserver/osv-gui --- a/modules/httpserver/osv-gui +++

[COMMIT osv master] httpserver: unify string to bool parameter conversion

2017-02-19 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master httpserver: unify string to bool parameter conversion boolean parameter type is used in file, network and trace.json. Corresponding .cc files have diffrent string to bool conversions. And

[COMMIT osv master] httpserver: optionaly start app in new ELF namespace

2017-02-19 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master httpserver: optionaly start app in new ELF namespace Running multiple instances of same program at the same time (or even same program multiple times) can fail as ELF object and requied

[COMMIT osv master] Changed java.policy file to give all permissions to jolokia agent

2017-02-16 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Changed java.policy file to give all permissions to jolokia agent Some java applications like apache derby or elasticsearch 2.4.* enable java security manager. Java security manager uses

[COMMIT osv master] command line: report if runscript file is missing

2017-02-16 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: report if runscript file is missing Previously, if runscript file was missing, std::instream constructor silently failed to open the file. The filebuf descriptor likely

[COMMIT osv master] Merge pull request #842 from sa-kib/aarch64-xen-v2

2017-01-24 Thread Commit Bot
From: Nadav Har'El Committer: GitHub Branch: master Merge pull request #842 from sa-kib/aarch64-xen-v2 [RFC][V2] aarch64: basic Xen support Reviewed-by: Nadav Har'El --- diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile

[COMMIT osv master] osv: use __ASSEMBLY__ instead of ASSEMBLY

2017-01-24 Thread Commit Bot
From: Sergiy Kibrik Committer: Sergiy Kibrik Branch: master osv: use __ASSEMBLY__ instead of ASSEMBLY __ASSEMBLY__ definition is used extensively throughout bsd/ tree so make ASFLAGS compatible with its usage. Signed-off-by:

[COMMIT osv master] osv: add Xen console basic driver

2017-01-24 Thread Commit Bot
From: Sergiy Kibrik Committer: Sergiy Kibrik Branch: master osv: add Xen console basic driver Primitive driver that uses HYPERVISOR_console_io hypercall to provide early console. Signed-off-by: Sergiy Kibrik

[COMMIT osv master] bsd: xen: console_io hypercall accepts constant string

2017-01-24 Thread Commit Bot
From: Sergiy Kibrik Committer: Sergiy Kibrik Branch: master bsd: xen: console_io hypercall accepts constant string Modify HYPERVISOR_console_write() interface to accept const *char as argument, so it is compliant with

[COMMIT osv master] aarch64: detect Xen hypervisor

2017-01-24 Thread Commit Bot
From: Sergiy Kibrik Committer: Sergiy Kibrik Branch: master aarch64: detect Xen hypervisor Xen crafts and provides a DTB with special node by which we can know which hypervisor we're using and load corresponding drivers. is_xen()

[COMMIT osv master] aarch64: preboot: add magic Linux header

2017-01-24 Thread Commit Bot
From: Sergiy Kibrik Committer: Sergiy Kibrik Branch: master aarch64: preboot: add magic Linux header Add Linux-resembling header at the begining of image, so that it can be recognized and loaded by Xen ARM64 image loader, and

[COMMIT osv master] Changed json formatter to escape strings according to the spec

2017-01-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Changed json formatter to escape strings according to the spec Changed formatter::to_json methods that format string to JSON to properly escape according to http://www.json.org/. Fixes

[COMMIT osv master] sched::thread: add unpin() method

2017-01-19 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master sched::thread: add unpin() method This patch adds an unpin() method to undo a pin() operation on a thread (operating on either the current thread or on a different thread is supported). After an

[COMMIT osv master] cloud-init: allow multiple parameters in NFS mount options

2017-01-15 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master cloud-init: allow multiple parameters in NFS mount options NFS mount options can be in format "uid=NUM,gid=NUM". In this case, mount-nfs.so requires replacement of "," with "&", and whole

[COMMIT osv master] scripts/setup.py: separate openjdk versions for Ubuntu

2017-01-16 Thread Commit Bot
From: Sergiy Kibrik' via OSv Development Committer: Nadav Har'El Branch: master scripts/setup.py: separate openjdk versions for Ubuntu Move openjdk-7-jdk package from distro packages list to per-distro version packages, as newer distros already

[COMMIT osv master] scripts/setup.py: add support for Ubuntu 16.04

2017-01-16 Thread Commit Bot
From: Sergiy Kibrik' via OSv Development Committer: Nadav Har'El Branch: master scripts/setup.py: add support for Ubuntu 16.04 Signed-off-by: Sergiy Kibrik Message-Id:

[COMMIT osv master] mount: fix deadlock

2017-01-16 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master mount: fix deadlock This patch fixes a deadlock caused by lock order inversion. This deadlock, described in issue #817, sometimes hangs the entire VFS when a mount is attempted. Most of the VFS

[COMMIT osv master] mount: use OSv mutex instead of std::mutex

2017-01-16 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master mount: use OSv mutex instead of std::mutex There's no reason to use std::mutex where we can use Osv's "mutex". std::mutex basically wraps OSv's mutex by a Posix mutex and then C++'s mutex

[COMMIT osv master] scripts/test.py: forgive old files in build directory

2016-08-21 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master scripts/test.py: forgive old files in build directory This patch fixes a failure report in our Jenkins build machine, which includes a build directory that hasn't been "make clean"ed in 6 months:

[COMMIT osv master] Fixes failing tracing_smoke_test.

2016-08-21 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Fixes failing tracing_smoke_test. Changed Guest and SupervisedProcess classes in testing.py to allow for conditional detection of 'Failed to load object' error which needs to be handled

[COMMIT osv master] Update apps/

2016-08-21 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Update apps/ Adds golang-example (doesn't work yet, but it might be useful for debugging). Signed-off-by: Nadav Har'El --- diff --git a/apps b/apps --- a/apps +++ b/apps @@

[COMMIT osv master] tests/tst-tcp-siocoutq: don't forget to close listening socket

2017-02-26 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master tests/tst-tcp-siocoutq: don't forget to close listening socket If we keep the listening socket open at the end of the test, we can't run in the same VM another test which needs the same port

[COMMIT osv master] osv: xen: make shared structures arch-independent

2017-02-26 Thread Commit Bot
From: Sergiy Kibrik' via OSv Development Committer: Nadav Har'El Branch: master osv: xen: make shared structures arch-independent xen_shared_info & xen_vcpu_info are different on x64/aarch64, so couple of fixes needed so that shared data is

[COMMIT osv master] bsd: remove unused xenfunc.h header

2017-02-26 Thread Commit Bot
From: Sergiy Kibrik' via OSv Development Committer: Nadav Har'El Branch: master bsd: remove unused xenfunc.h header It contains definitions of non-existing (in OSv tree) routines, which had been used in original BSD code and have absolutely no

[COMMIT osv master] osv: xen_intr: use evtchn.h

2017-02-26 Thread Commit Bot
From: Sergiy Kibrik' via OSv Development Committer: Nadav Har'El Branch: master osv: xen_intr: use evtchn.h Replace local declaration of unmask_evtchn() and evtchn_from_irq() with inclusion of evtchn.h where they're declared. Additionally declare

[COMMIT osv master] signal: Make room for 64th signal

2016-08-30 Thread Commit Bot
From: Benoit Canet Committer: Nadav Har'El Branch: master signal: Make room for 64th signal The last signal of the list didn't have enough room for him because signal numbers start at 1. Make him some room so sigaction won't fail for him when

[COMMIT osv master] syscall: change stack alignment trick

2016-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master syscall: change stack alignment trick The stack alignment trick I used in syscall_entry() worked, but the CFI code was actually wrong and only worked in for certain alignments but not others. To

[COMMIT osv master] syscall: fix CFI information for debugging with GDB

2016-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master syscall: fix CFI information for debugging with GDB GDB uses DWARF CFI meta-instructions to know how to backtrace through function call frames, and which registers get saved where. This patch

[COMMIT osv master] syscall: fix (again) gdb support

2016-08-30 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master syscall: fix (again) gdb support The CFI code in syscall_entry still was not perfect (sorry...) - when the application uses -fomit-frame-pointer, and %rbp was not set by the caller, we didn't tell

[COMMIT osv master] Update apps/ submodule

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

[COMMIT osv-apps master] Added OpenJDK Zulu compact profile base images and example apps for each profile

2016-09-14 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added OpenJDK Zulu compact profile base images and example apps for each profile The three apps openjdk8-zulu-compact* provide base images for Java 8 compact profiles. Each of the 3

[COMMIT osv master] run.py: do not add port redirection for SSH

2016-10-05 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master run.py: do not add port redirection for SSH OSv does not include by default (or at all) an SSH server for a long time, so the forwarding of the guest's port 22 to port on the guest is pretty

[COMMIT osv master] update apps submodule

2016-08-28 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 211e58ba3e0f729b445f464cc9d09f42086d4124

[COMMIT osv master] x64: 'syscall' instruction support

2016-08-28 Thread Commit Bot
From: Benoit Canet Committer: Nadav Har'El Branch: master x64: 'syscall' instruction support Enable "fast system calls" via the 'syscall' instruction on OSv. The instruction is used by Go programs on Linux/x86-64 for system calls. Fixes #590

[COMMIT osv master] osv::run() - also restore thread's name

2016-08-23 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master osv::run() - also restore thread's name application::start_and_join(), and therefore osv::run(), now run the new application on the same thread. When the application ends, the thread resumes and we

[COMMIT osv master] Partial fix for syscall instruction

2016-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Pekka Enberg Branch: master Partial fix for syscall instruction We need to set up the LSTAR MSR and friends on each processor - it is not enough to do it on processor 0. Otherwise, a system call instruction will always

[COMMIT osv master] syscall: implement rt_sigprocmask

2016-08-29 Thread Commit Bot
From: Benoit Canet Committer: Nadav Har'El Branch: master syscall: implement rt_sigprocmask This is the next syscall required by the go hello world Signed-off-by: BenoÃt Canet Message-Id:

[COMMIT osv master] syscall: save also %rbp and align stack

2016-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master syscall: save also %rbp and align stack Not saving and restoring the rbp register causes tst-syscall to crash in the debug build. With this patch, the debug build of this test no longer crashes.

[COMMIT osv master] syscall: implement rt_sigaction

2016-08-29 Thread Commit Bot
From: Benoit Canet Committer: Nadav Har'El Branch: master syscall: implement rt_sigaction This is one of the first syscall used by go binaries. The kernel syscall have some custom layout that must be convert forth and back to and from libc.

[COMMIT osv master] syscall: set syscall_entry() symbol size to non-zero

2016-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master syscall: set syscall_entry() symbol size to non-zero With "readelf --dyn-syms" the syscall_entry symbol appears to have a zero size. This causes our print_backtrace() code to not display the name

[COMMIT osv master] pthread: implement pthread_key_delete()

2016-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master pthread: implement pthread_key_delete() Implement pthread_key_delete(). Currently, it will not mark the key available for re-use. The danger in allowing re-use is that if we leave data with that

[COMMIT osv master] osv::run(): run pthread TSD destructors before resetting app runtime

2016-08-29 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master osv::run(): run pthread TSD destructors before resetting app runtime The change to osv::run() (and friends) to reuse the calling thread rather than start a new one to run a new shared-object

[COMMIT osv-apps master] golang: Properly build the go hello world.

2016-10-27 Thread Commit Bot
From: Benoît Canet Committer: Nadav Har'El Branch: master golang: Properly build the go hello world. My toolchain path can be different than your toolchain path. Also take care of making the module a C module and exporting proper GoMain() as

[COMMIT osv master] dhcp: set src and dest IP in DHCP release packet

2016-11-23 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master dhcp: set src and dest IP in DHCP release packet DHCP release packet should have valid IP header. There is no need to use INADDR_ANY/INADDR_BROADCAST as src/dest address. Signed-off-by:

[COMMIT osv master] cloud-init: trigger dynamic DNS update on hostname change

2016-11-23 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master cloud-init: trigger dynamic DNS update on hostname change When cloud-init changes VM hostname, VM DNS name should be updated too. We try to do this by releasing DHCP lease and requesting new

[COMMIT osv master] Return list of all threads in given application

2016-11-22 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master Return list of all threads in given application Signed-off-by: Justin Cinkelj Message-Id: <1467703325-17598-1-git-send-email-justin.cink...@xlab.si> --- diff --git

[COMMIT osv master] dhcp: remove IP from interface when DHCP release is send

2016-11-24 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master dhcp: remove IP from interface when DHCP release is send Currently, when DHCP release was send, IP was not removed from VM. So VM was still responding to ping etc. Fix this by removing IP

[COMMIT osv master] dhcp: remove DNS resolvers when DHCP release is send

2016-11-24 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master dhcp: remove DNS resolvers when DHCP release is send Signed-off-by: Justin Cinkelj Message-Id: <20161124202854.23662-3-justin.cink...@xlab.si> --- diff --git

[COMMIT osv master] command line: allow runscript with multiple lines

2016-11-27 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: allow runscript with multiple lines Signed-off-by: Justin Cinkelj Message-Id: <1479825169-15499-5-git-send-email-justin.cink...@xlab.si> --- diff

[COMMIT osv master] tests: add test for commandline runscript option

2016-11-27 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master tests: add test for commandline runscript option Also, double 'return false' is removed from one function. Signed-off-by: Justin Cinkelj Message-Id:

[COMMIT osv master] shmget: Handle calls for non-existant object without IPC_CREAT

2016-11-28 Thread Commit Bot
From: Rick Payne Committer: Nadav Har'El Branch: master shmget: Handle calls for non-existant object without IPC_CREAT Signed-off-by: Rick Payne Message-Id: --- diff --git

[COMMIT osv-apps master] Ensure that the argument to osv_system() is saved in allocated memory before we spawn the pthread

2016-11-28 Thread Commit Bot
From: Rick Payne Committer: Nadav Har'El Branch: master Ensure that the argument to osv_system() is saved in allocated memory before we spawn the pthread Signed-off-by: Rick Payne Message-Id:

[COMMIT osv master] update apps/ submodule

2016-11-28 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 f8731d0253a7537a15c12321151ef8c6168ad902

[COMMIT osv master] dhcp: ignore empty hostname

2016-11-17 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master dhcp: ignore empty hostname If the DHCP server does not send back a hostname, the existing code called sethostname() with an empty host name. Do not do that. Signed-off-by: Nadav Har'El

[COMMIT osv master] cloud-init: mount specified mountpoints

2016-11-16 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master cloud-init: mount specified mountpoints cloud-init allows to specify mountpoints via its configuration. This commit implements actual mount action. Only NFS mountpoints are assumed, as so

[COMMIT osv master] Support building and running Java apps in non-isolated mode

2016-11-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Support building and running Java apps in non-isolated mode Added new java-non-isolated module and refactored scripts/module.py to provide isolated_jvm and non_isolated_jvm as a way to

[COMMIT osv-apps master] Added openjdk8-fedora-non-isolated and modified openjdk8-zulu-compact* to support running apps in non-isolated mode

2016-11-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added openjdk8-fedora-non-isolated and modified openjdk8-zulu-compact* to support running apps in non-isolated mode Added openjdk8-fedora-non-isolated and modified

[COMMIT osv master] Update apps/ to latest version

2016-11-02 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Update apps/ to latest version Signed-off-by: Nadav Har'El --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit

[COMMIT osv-apps master] Renamed openjdk9 app folder to a name without dot so that capstan image can be built

2016-11-03 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Renamed openjdk9 app folder to a name without dot so that capstan image can be built Fixed wrong folder name in module.py Signed-off-by: Waldemar Kozaczuk

[COMMIT osv master] Update apps/ to latest version

2016-11-03 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Update apps/ to latest version Signed-off-by: Nadav Har'El --- diff --git a/apps b/apps --- a/apps +++ b/apps @@ -1 +1 @@ -Subproject commit

[COMMIT osv-apps master] Added new Java apps and modified exiting OpenJDK 8 base apps to include new policy file and new location of runjava.jar

2016-11-02 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Nadav Har'El Branch: master Added new Java apps and modified exiting OpenJDK 8 base apps to include new policy file and new location of runjava.jar Added elasticsearch app. Added apache derby app. Added Java 9

[COMMIT osv master] uipc_socket.cc: prevent use after free bug in soisdisconnected

2016-10-26 Thread Commit Bot
From: Timmons C. Player Committer: Nadav Har'El Branch: master uipc_socket.cc: prevent use after free bug in soisdisconnected Simultaneously closing a socket from both the network and user space sides can trigger a use after free bug in

[COMMIT osv master] libc/getifaddrs: Also return ifaddrs with ether hw addresses

2016-10-26 Thread Commit Bot
From: Benoît Canet Committer: Nadav Har'El Branch: master libc/getifaddrs: Also return ifaddrs with ether hw addresses Before this patch, OSv's getifaddrs() returns for each network interface a single entry, with the AF_INET address family

[COMMIT osv master] libc/getifaddrs: Extract and use allocate_and_add_ifaddrs

2016-10-26 Thread Commit Bot
From: Benoît Canet Committer: Nadav Har'El Branch: master libc/getifaddrs: Extract and use allocate_and_add_ifaddrs The code will need to allocate twice as much ifaddr_storage structure to be able to return mac addresses in their own ifaddrs

[COMMIT osv master] ttyname_r/ttyname: Add OSV-specific ttyname_r and ttyname implementation + test

2016-12-12 Thread Commit Bot
From: rean' via OSv Development Committer: Nadav Har'El Branch: master ttyname_r/ttyname: Add OSV-specific ttyname_r and ttyname implementation + test nodejs prep (pt.1) Signed-off-by: rean Message-Id:

[COMMIT osv master] command line: allow --env in runscript

2017-01-09 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master command line: allow --env in runscript If multiple scripts try to set the same environment variable, then the last one wins. Fixes #819 Signed-off-by: Justin Cinkelj

[COMMIT osv master] cloud-init: use Linux-compatible syntax for mounts

2017-01-09 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master cloud-init: use Linux-compatible syntax for mounts Previous syntax was for mounts was slightly different as for Linux. In particular, the first entry was tailor made for libnfs

[COMMIT osv master] test for feenableexcept() and friends

2017-01-12 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master test for feenableexcept() and friends A test for feeenableexcept() and SIGFPE. Works on both Linux and OSv. Signed-off-by: Nadav Har'El Message-Id:

[COMMIT osv master] Implement feenableexcept() and friends

2017-01-12 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Implement feenableexcept() and friends Implement the functions feenableexcept(), fedisableexcept() and fegetexcept(), non-standard glibc functions which allows controlling which FPU events generate

[COMMIT osv master] exceptions: support #XM

2017-01-12 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master exceptions: support #XM The #XM exception ("SIMD exception") may be generated when we request (via feenableexcept()) to trap exceptional FPU cases such as floating point division by zero. We should

[COMMIT osv master] signal: remove "nested signals" protection

2017-01-12 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master signal: remove "nested signals" protection This reverts commit 4af3677117a5bb2f4660d750fa4eddc6ef44e7f2 which aborted on a "nested signal" (handling a signal handler while inside a signal handler).

[COMMIT osv master] Add feenableexcept() and friends to fenv.h

2017-01-12 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Add feenableexcept() and friends to fenv.h Our include/api/fenv.h (copied from Musl) was missing those functions. Signed-off-by: Nadav Har'El Message-Id:

[COMMIT osv master] loader: start do_main_thread unpinned

2016-11-30 Thread Commit Bot
From: Justin Cinkelj Committer: Nadav Har'El Branch: master loader: start do_main_thread unpinned main_cont is pinned to CPU 0. The #761 asks for pthread_create to use caller thread CPU pinning for new thread (in case there is no explicit pinning

  1   2   3   4   5   6   7   8   9   10   >