[patch] prevent ash executing non-files

walter harms wharms at bfs.de
Wed Sep 13 15:35:44 UTC 2006


basicly no problem to include devices.
there is a second patch to prevent read waiting -X seconds.
will you include them also ?


re,
 wh


Denis Vlasenko wrote:
> On Wednesday 13 September 2006 15:23, walter harms wrote:
>> Denis Vlasenko wrote:
>>> On Monday 11 September 2006 23:37, Rob Landley wrote:
>>>>> my target is to make a test environment like that of bash
>>>>> working for ash. therefore i/we need some understanding what
>>>>> right. i understand i should discuss that mainly with denis and berhard.
>>> Rest assured that shell is currently the weakest spot of bbox
>>> and your work is very much appreciated. Really.
>>> --
>> hi vda,
>> i did not hear anything from Bernhard, so will you collect my fixes for ash ?
>> I do not see any attempt to validate the ash for posix/sh compatibility
>> beside my humble efforts.
> 
> Yes, I will (try to).
> 
> fix for "ash /" was not completely bash-compatible. bash allows
> special files, not just regular files:
> 
> # bash /dev/tty
> echo HELLO
> HELLO
> exit
> 
> Can you supply patch which disallows directories only? Like this
> 
> # bash /
> /: /: is a directory
> 
> --
> vda
> 
> 
> 



More information about the busybox mailing list