The following reply was made to PR kern/163076; it has been noted by GNATS.

From: m...@freebsd.org
To: Jaakko Heinonen <j...@freebsd.org>
Cc: =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <d...@des.no>, 
        Poul-Henning Kamp <p...@phk.freebsd.dk>, Petr Salinger 
<petr.salin...@seznam.cz>, bug-follo...@freebsd.org
Subject: Re: kern/163076: It is not possible to read in chunks from linprocfs
 and procfs.
Date: Fri, 9 Dec 2011 07:33:46 -0800

 2011/12/9 Jaakko Heinonen <j...@freebsd.org>:
 > On 2011-12-09, Dag-Erling Sm=F8rgrav wrote:
 >> > Could we just remove the error check from sbuf_len()? (patch below) I
 >> > have Cc'd more people.
 >>
 >> Why?
 >
 > As I wrote existing code depends on sbuf_len() to return the actual
 > length regardless of the error status after sbuf_finish(). I am not
 > willing to through all code using sbufs to check where it causes
 > problems. phk@ asserts that r222004 is correct.
 
 What is causing sbuf to have an error in the first place?  The size of
 flies in /proc are generally small and malloc(3) errors are rare.
 
 Thanks,
 matthew
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to