On Sun, Apr 30, 2023 at 6:17 AM Waldek Kozaczuk <[email protected]>
wrote:

> As you can see we have to explicitly tell OSv to run ld-linux-x86-64.so.2
> as a statically linked PIE and then give control over to it to launch the
> hello executable. But going forward we can add a new kernel option to do
> so.
>

Do we really need a special option? Also in Linux, you can explicitly run
the loader in the command line, e.g.,:

/usr/lib64/ld-linux-x86-64.so.2 /bin/echo hi


> First, this capability should make OSv even more compatible with Linux
> executables because we no longer have to implement every single libc
> function new app may need. We just need to handle enough of syscalls.
>

True. So maybe worth documenting this idea as one of the growing number of
ways to run things under OSv.


> All in all, this just makes OSv even more flexible by offering more ways
> to run Linux apps. And I am very excited about this new capability and
> ability to run static executables as well.
>

Very nice, indeed :-)

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/CANEVyjv6QeLgDSMVdZ8g_eaVXcrsxnUXq%3DtvGLHr5EtAU%3DHksg%40mail.gmail.com.

Reply via email to