<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5"><br>
&gt;<br>
&gt; On Tue, Aug 16, 2011 at 6:46 PM, Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 16 August 2011 16:42, laurent laffont &lt;<a href="mailto:laurent.laffont@gmail.com">laurent.laffont@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; for SmallHarbour I&#39;ve cloned cogvm/blessed and then add security patches from SeasideHosting. See<br>
&gt;&gt; &gt; - <a href="https://gitorious.org/~laurentlaffont/cogvm/smallharbour" target="_blank">https://gitorious.org/~laurentlaffont/cogvm/smallharbour</a><br>
&gt;&gt; &gt; - <a href="https://gitorious.org/~laurentlaffont/cogvm/smallharbour/commit/7f45e401f8c805021e3ef06e110e3f079fe6ecc3" target="_blank">https://gitorious.org/~laurentlaffont/cogvm/smallharbour/commit/7f45e401f8c805021e3ef06e110e3f079fe6ecc3</a><br>


&gt;&gt; &gt;<br>
&gt;&gt; &gt; What&#39;s the best way to stay synchronized with cogvm/blessed commits ?<br>
&gt;&gt;<br>
&gt;&gt; Fist you need to add blessed as remote repository:<br>
&gt;&gt;<br>
&gt;&gt; git remote add blessed git://<a href="http://gitorious.org/cogvm/blessed.git" target="_blank">gitorious.org/cogvm/blessed.git</a><br>
&gt;&gt;<br>
&gt;&gt; Then you can simply pull changes to your branch:<br>
&gt;&gt;<br>
&gt;&gt; git pull blessed<br>
&gt;&gt;<br>
&gt;&gt; and it will merge changes automatically. (of course if there&#39;s no conflicts).<br>
&gt;&gt;<br>
&gt;&gt; And then<br>
&gt;&gt;<br>
&gt;&gt; git push<br>
&gt;&gt;<br>
&gt;&gt; to push updates to your own repository.<br>
&gt;&gt;<br>
&gt;&gt; &gt; Is it interesting to adapt this patch for integration in cogvm/blessed ?<br>
&gt;&gt;<br>
&gt;&gt; Absolutely. All contributions is welcome :)<br>
&gt;&gt;<br>
&gt;&gt; &gt; Is this patch good ?<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; I am a bit out of context. Where i can read a description of what you did?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; First the changes are quite small, originally made by Nestyle (I suppose) for SesideHosting.<br>
&gt; This introduce the use of environment variables to restrict filesystem and port access. For example we don&#39;t want the hosted image to be able to access /etc/passwd or another account files. We don&#39;t want that 2 images use the same port.<br>


&gt; So this patch read these environment variables:<br>
&gt; export SQUEAK_PORT_LO=16400<br>
&gt; export SQUEAK_PORT_HI=16407<br>
&gt; export SQUEAK_ROOT_DIR=&quot;/service/myaccount/files&quot;<br>
&gt;<br>
&gt; so only port between 16400 and 16407 can be opened, only /service/myaccount/files can be read/written.<br>
&gt; Note that in the patch port 25 (SMTP) is always accessible.<br>
&gt; This is very specific to SeasideHosting/SmallHarbour, so I don&#39;t think the patch should be apply as it is now in cogvm/blessed, but having such functionalities in the VM would be nice IMO.<br>
&gt;<br>
&gt; The commit is here - quite easy to read: <a href="https://gitorious.org/~laurentlaffont/cogvm/smallharbour/commit/7f45e401f8c805021e3ef06e110e3f079fe6ecc3" target="_blank">https://gitorious.org/~laurentlaffont/cogvm/smallharbour/commit/7f45e401f8c805021e3ef06e110e3f079fe6ecc3</a><br>


&gt; Laurent.<br>
&gt;<br>
<br>
</div></div>Wait. First you asking if those can be integrated, and then you saying<br>
that its too specific..<br>
Do you mean that we should discuss/think about integrating a more<br>
general form of this functionality?<br></blockquote><div><br></div><div><br></div><div>Yes. Sorry for confusion :)</div><div><br></div><div>Laurent.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<div class="im"><br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; Laurent Laffont - @lolgzs<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Pharo Smalltalk Screencasts: <a href="http://www.pharocasts.com/" target="_blank">http://www.pharocasts.com/</a><br>
&gt;&gt; &gt; Blog: <a href="http://magaloma.blogspot.com/" target="_blank">http://magaloma.blogspot.com/</a><br>
&gt;&gt; &gt; Developer group: <a href="http://cara74.seasidehosting.st" target="_blank">http://cara74.seasidehosting.st</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Igor Stasenko AKA sig.<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div>--<br>
<div><div></div><div class="h5">Best regards,<br>
Igor Stasenko AKA sig.<br>
</div></div></blockquote></div><br>