Build failed in Jenkins: osv-build-nightly #1585

2018-09-06 Thread jenkins
See -- [...truncated 139.05 KB...] Adding /tests/misc-wake.so... Adding /tests/tst-epoll.so... Adding /tests/misc-lfring.so... Adding /tests/misc-fsx.so... Adding

[PATCH V4] Changed syscall stack implementation to use mmap

2018-09-06 Thread Waldemar Kozaczuk
This patch changes syscall stack implementation to use mmap/munmap/mprotect combination instead of malloc/free for large syscall stack. This makes it possible to add guard page to detect stack overflow scenarios. Lastly new implementation also detects if tiny stack is not overflown when executing

Re: [PATCH] Changed syscall stack implementation to use mmap

2018-09-06 Thread Waldek Kozaczuk
On Thu, Sep 6, 2018 at 9:57 AM Nadav Har'El wrote: > > On Thu, Sep 6, 2018 at 3:11 PM, Waldek Kozaczuk > wrote: > >> >> On Thu, Sep 6, 2018 at 4:36 AM Nadav Har'El wrote: >> >>> >>> On Thu, Sep 6, 2018 at 5:32 AM, Waldemar Kozaczuk >>> wrote: >>> This patch changes syscall stack

Re: [PATCH] Changed syscall stack implementation to use mmap

2018-09-06 Thread Nadav Har'El
On Thu, Sep 6, 2018 at 3:11 PM, Waldek Kozaczuk wrote: > > On Thu, Sep 6, 2018 at 4:36 AM Nadav Har'El wrote: > >> >> On Thu, Sep 6, 2018 at 5:32 AM, Waldemar Kozaczuk >> wrote: >> >>> This patch changes syscall stack implementation to use >>> mmap/munmap/mprotect combination instead of

Re: [PATCH V3] Changed syscall stack implementation to use mmap

2018-09-06 Thread Waldek Kozaczuk
V3 has some comments tweaks comparing to V2. On Thursday, September 6, 2018 at 8:32:50 AM UTC-4, Waldek Kozaczuk wrote: > > This patch changes syscall stack implementation to use > mmap/munmap/mprotect combination instead of malloc/free > for large syscall stack. This makes it possible to add

[PATCH V3] Changed syscall stack implementation to use mmap

2018-09-06 Thread Waldemar Kozaczuk
This patch changes syscall stack implementation to use mmap/munmap/mprotect combination instead of malloc/free for large syscall stack. This makes it possible to add guard page to detect stack overflow scenarios. Lastly new implementation also detects if tiny stack is not overflown when executing

Re: [PATCH] Changed syscall stack implementation to use mmap

2018-09-06 Thread Waldek Kozaczuk
On Thu, Sep 6, 2018 at 4:36 AM Nadav Har'El wrote: > > On Thu, Sep 6, 2018 at 5:32 AM, Waldemar Kozaczuk > wrote: > >> This patch changes syscall stack implementation to use >> mmap/munmap/mprotect combination instead of malloc/free >> for large syscall stack. This makes it possible to add

Re: [PATCH] Implemented almost-in-place kernel decompression

2018-09-06 Thread Nadav Har'El
On Wed, Sep 5, 2018 at 8:05 PM, Waldek Kozaczuk wrote: > > >>> +# Below we are employing pretty nasty hack using dd to get rid of 1MB >>> hole in lzloader.elf. >>> +# It is necessary to make sure that code and data is in correct places >>> in memory >>> +# after file is loaded by logic in