Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 27 Aug 2014 17:04:35 -0400
From: Rich Felker <>
Subject: Re: static build and dlopen

On Wed, Aug 27, 2014 at 09:59:55PM +0100, Laurent Bercot wrote:
> >I've done a dumb /init program that just exec the dynamically linked
> >Node.js with the real /init in Javascript and it worked. Ugly hack,
> >but at least it does its job :-)
>  By doing this, you are effectively using Node.js as process 1, since
> it is your Javascript interpreter. So there is no reason you cannot
> run it directly without your hack.
>  I'm still concerned about Node.js' ability to shutdown your machine
> properly though.

It could probably be done with the right modules. The goal here seems
to be to have a "pure javascript" system, so I would assume there are
Node.js modules allowing all the system-level stuff to be written in


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.