svn commit: r279932 - head/sys/vm

Ryan Stone rysto32 at gmail.com
Thu Mar 12 21:02:10 UTC 2015


On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore <ian at freebsd.org> wrote:

>   Nullterminate strings returned via sysctl.
>
>   PR:           195668
>

To quote the manpage:

> The *sbuf* family of functions allows one to safely
> allocate, construct and release bounded null-terminated
> strings in kernel space.

IMO the sbuf API is broken if we have to explicitly null-terminate the
string ourselves.


More information about the svn-src-head mailing list