Bug in geom_ctl errors handling.
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Apr 7 16:44:36 PDT 2005
Hi.
I finally tracked down a bug which I was seeing from time to time.
If you saw 'Bad address' as an result of some geom(8) command, you saw
the bug.
The problem we got here, is that copyout(9) was done not from user
process, but from eg. g_event thread, where address space is different.
Here is the patch to fix it:
http://people.freebsd.org/~pjd/patches/geom_ctl.c.patch
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20050408/22159d91/attachment.bin
More information about the freebsd-geom
mailing list