Re: Fast vdso syscall compatibility library

2018-03-14 Thread Waldek Kozaczuk
Nadav, So regardless if the "kernel _base" issue is a bug or not an then possibly how easy/difficult it is to fix it, I was wondering how strongly you are opposed to the original libvdso patch @benoit authored. As I read your review comments ( https://groups.google.com/forum/#!searchin/osv-dev/De

Re: Fast vdso syscall compatibility library

2018-03-12 Thread Waldek Kozaczuk
Sorry for the late reply. These are some debug statements I captured: void* align(void* addr, ulong align, ulong offset) { return align_up(addr - offset, align) + offset; } } void object::set_base(void* base) { auto p = std::min_element(_phdrs.begin(), _phdrs.end(),

Re: Fast vdso syscall compatibility library

2018-02-18 Thread Nadav Har'El
On Thu, Feb 15, 2018 at 12:01 AM, Waldek Kozaczuk wrote: > I have bee trying to prepare new patch to add libvdso support needed by > golang based on the work of @benoit. I came across this discussion here > https://groups.google.com/forum/#!searchin/osv-dev/Delay$20elf$20object$ > 20initializatio