[erlang-patches] spawn to rpc, filter, etc.

bile <>
Sun Feb 28 07:16:26 CET 2010


On Thu, 25 Feb 2010 09:02:07 +0100
Björn Gustavsson <> wrote:

> Thinks!
> 
> On Sun, Feb 21, 2010 at 11:13 AM,  <> wrote:
> > git fetch git://github.com/bile/otp.git spawn_rpc
> 
> This patch touches very sensitive code paths that should
> not be changed lightly. Therefore, we'll need very good
> commit messages and some clarifications before I will
> consider including it even in 'pu'.
> 
> Have you run the kernel test suite?

Yes. Everything passes as expected... particularly bif_SUITE.

I've reworked the patch and hopefully clarified the reasons for the
changes. The idea is to provide basic filtering / sandboxing abilities
to remote spawning and rpc. The merging of net_kernel:spawn with rpc
was to centralize both remote 'apply'ing logic as well as the
filtering. Due to the change older versions will be able to communicate
with newer ones but the other way as spawn requests would be sent to
rex instead of net_kernel.

I wasn't sure if it'd appropriate to have the filters effect local
calls given you ultimately have full control over the local node so
I've left them unfiltered at this time.

-Antonio


More information about the erlang-patches mailing list