kern/127446: [patch] fix race in sys/dev/kbdmux/kbdmux.c
Eygene Ryabinkin
rea-fbsd at codelabs.ru
Thu Sep 18 09:15:15 UTC 2008
Me again.
Thu, Sep 18, 2008 at 11:10:17AM +0400, Eygene Ryabinkin wrote:
> OK, I had tried substituting KBDMUX_LOCK/UNLOCK with Giant operations --
> it works as expected.
Tried my initial patch on some 7.0-PRERELEASE -- it locks keyboard when
geli asks for the password. Had not much time to dig it out, will try
to do it as soon as I can. Substituting KBDMUX_LOCK/UNLOCK with Giant
locking helps even on this FreeBSD version.
More testing needed, may be there are some other issues that aren't
revealing themselves...
--
Eygene
_ ___ _.--. #
\`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard
/ ' ` , __.--' # to read the on-line manual
)/' _/ \ `-_, / # while single-stepping the kernel.
`-'" `"\_ ,_.-;_.-\_ ', fsc/as #
_.-'_./ {_.' ; / # -- FreeBSD Developers handbook
{_.-``-' {_/ #
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080918/6c4238bd/attachment.pgp
More information about the freebsd-hackers
mailing list