Re: [osv-dev] [PATCH V2] Allow running non-PIE executables that do not collide with kernel

2019-06-20 Thread Waldek Kozaczuk
I have sent a new patch. On Thursday, June 20, 2019 at 4:32:07 PM UTC-4, Nadav Har'El wrote: > > > On Thu, Jun 20, 2019 at 9:33 PM Waldek Kozaczuk > wrote: > >> >> >> On Thursday, June 20, 2019 at 1:15:29 PM UTC-4, Nadav Har'El wrote: >>> >>> -// We currently only support running ET_DYN

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

2019-06-20 Thread Waldemar Kozaczuk
This patch provides necessary changes to OSv dynamic linker to allow running non-PIEs (Position Dependant Executables) as long as they do not collide in virtual memory with kernel. Fixes #190 Signed-off-by: Waldemar Kozaczuk --- Makefile | 3 ++- core/elf.cc| 45

Re: [osv-dev] [PATCH V2] Allow running non-PIE executables that do not collide with kernel

2019-06-20 Thread Nadav Har'El
On Thu, Jun 20, 2019 at 9:33 PM Waldek Kozaczuk wrote: > > > On Thursday, June 20, 2019 at 1:15:29 PM UTC-4, Nadav Har'El wrote: >> >> -// We currently only support running ET_DYN objects (shared library >> or >> >>> -// position-independent executable). In the future we can add >>>

Re: [osv-dev] [PATCH V2] Allow running non-PIE executables that do not collide with kernel

2019-06-20 Thread Waldek Kozaczuk
On Thursday, June 20, 2019 at 1:15:29 PM UTC-4, Nadav Har'El wrote: > > On Thu, Jun 20, 2019 at 3:21 PM Waldemar Kozaczuk > wrote: > >> This patch provides necessary changes to OSv dynamic linker >> to allow running non-PIEs (= Position Dependant Executables) >> as long as they do not collide

Re: [osv-dev] [PATCH V2] Allow running non-PIE executables that do not collide with kernel

2019-06-20 Thread Nadav Har'El
On Thu, Jun 20, 2019 at 3:21 PM Waldemar Kozaczuk wrote: > This patch provides necessary changes to OSv dynamic linker > to allow running non-PIEs (= Position Dependant Executables) > as long as they do not collide in virtual memory with kernel. > Thanks. Nice progress in making OSv run these

Re: [osv-dev] [PATCH V2] Move kernel to 0x40200000 address (1 GiB higher) in virtual memory

2019-06-20 Thread Nadav Har'El
Hi, thanks. I committed this patch because I think it is indeed a step in the right direction, and you did impressive work in getting everything to work on all these different hypervisors. But now as a followup, I'd like you to please reconsider the changes to loader.ld, and whether all of it is

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

2019-06-20 Thread Waldemar Kozaczuk
This patch provides necessary changes to OSv dynamic linker to allow running non-PIEs (= Position Dependant Executables) as long as they do not collide in virtual memory with kernel. Fixes #190 Signed-off-by: Waldemar Kozaczuk --- Makefile | 3 ++- core/elf.cc| 35

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

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