Globbing (was Re: HAMMER update 10-Feb-2008)

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Feb 11 16:27:37 PST 2008


Justin C. Sherrill wrote:
On Mon, February 11, 2008 5:40 pm, Dave Hayes wrote:
One can also argue that the mechanism is broken becuase it doesn't
dynamically allocate enough memory to handle the result of an argument
expansion in these days where 64KB is not a lot of memory.
While you could easily dynamically alocate/copy this data, it opens the 
doors for much bigger problems:  A caller could pass so much data to DoS 
the kernel (can be fixed), or push the callee into a low memory situation 
(mmap/malloc failing), exposing other problems.

And seriously, why?  Just for some shell scripts which then will be 
incompatible with the rest of the world?  Not a good idea.

We have a solution (file limit) that doesn't address the problem (rm just
doesn't work sometimes).
Wasn't one of the slogans for DragonFly "Dragging BSD Unix, kicking and
screaming, into the 21st century"?
Sorry, I don't follow you there.  Could you elaborate?

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \





More information about the Kernel mailing list