Kernel-Crash when working with ubt0

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Tue Aug 27 13:03:59 UTC 2019


> > Hmm... interesting....
> >
> > I only took a brief look at it. I suppose I can ensure user space address is wired and then copyout() can be called with mutex held
>
> >No, you cannot do this, at least without making the kernel to panic.
> User might unmap the wired mapping at any time still.

Kostik,

i was thinking along the lines of vslock/vsunlock and copyout_nofault.
basically similar to the sysctl code. do you think this would not
work?

thanks,
max


More information about the freebsd-current mailing list