the need for safe dynamic string libraries

Luigi Rizzo rizzo at iet.unipi.it
Mon Dec 7 12:56:14 UTC 2009


On Mon, Dec 07, 2009 at 11:56:18AM +0100, Dag-Erling Sm??rgrav wrote:
> Luigi Rizzo <rizzo at iet.unipi.it> writes:
> > What do you mean exactly ?
> 
> When libsbuf was ported to userland, sbuf_printf() was pessimized due to
> the limitations of libc's printf().  This makes certain parts of

but, isn't this an implementation detail ? What prevents the same
API to have two different implementation, one for kernel, one for userland ?

cheers
luigi

> pseudofs extremely inefficient: for instance, if you read from a
> /proc/whatever that's backed by an sbuf, it has to generate the entire
> file even if you only asked for a small chunk at a large offset.
> 
> DES
> -- 
> Dag-Erling Sm??rgrav - des at des.no


More information about the svn-src-head mailing list