usb4bsd patch review

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Aug 23 17:15:43 UTC 2008


In message <20080823.100155.1310242209.imp at bsdimp.com>, "M. Warner Losh" writes
:

>While this may be a good idea, I'm hesitant about races that it may
>introduce.  This is the classic point of attack: do something between
>steps of a formerly atomic operation that was made non-atomic.  I
>can't think of anything off the top of my head, but I'm still
>concerned.

We have ways of closing the race if need be, but they're all slightly
kludgy, but I am not overly concerned about those races as long as
the default is to not give access.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-usb mailing list