Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: another yubikey diff
To:
Mike Larkin <mlarkin@nested.page>
Cc:
Brandon Mercer <bmercer@eutonian.com>, Mark Kettenis <mark.kettenis@xs4all.nl>, Miod Vallat <miod@online.fr>, tech@openbsd.org
Date:
Fri, 22 Aug 2025 10:50:05 -0600

Download raw body.

Thread
> > Amazing suggestion to add the hotplug device-tree race problem to this :)
>
> never seen any issues personally; what race problem is this?

hotplug creates events when devices match.  This is before the attach
functions have completed.  If hotplug tries to play with a device, and the
attach routine encounters extended sleeps, the hotplug action will not
succeed.

hotplug is designed wrong.