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
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
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 r
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 st
Nadav,
As I understand (but I am not ELF-expert), the AT directives are used to
drive so-called LMA (load address) which typically is equal to virtual
address (VMA) -
http://www.scoberlin.de/content/media/http/informatik/gcc_docs/ld_3.html#SEC6.
More specifically it drives values of *p_addr* f
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
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
>>> suppo
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 +
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 obje