Index | Thread | Search

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

Download raw body.

Thread
  • Emiel Kollof:

    another yubikey diff

  • Miod Vallat <miod@online.fr> wrote:
    
    > > 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.
    > 
    > Are you sure about that? Looking at subr_autoconf.c,
    > hotplug_device_attach() only gets invoked after the device attach
    > routine has returned.
    
    Then maybe it is deferred actions that screw things up.
    
    We've heard numerous cases of hotplug not behaving like people expect.
    
    
  • Emiel Kollof:

    another yubikey diff