On 14 September 2013 12:12, Alexander Motin <m...@freebsd.org> wrote:

>   Add unmapped BIO support to GEOM ZERO if kern.geom.zero.clear is cleared.

> +               if (g_zero_clear && (bp->bio_flags & BIO_UNMAPPED) == 0)
>                         memset(bp->bio_data, g_zero_byte, bp->bio_length);


Umm, I might be wrong, but won't this basically export random kernel
memory to anyone reading from /dev/gzero?
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to