From: Alan C. <al...@lx...> - 2009-06-02 19:35:57
|
> And then there is TIOCGSOFTCAR, which is just insane, and apparently gets > the lock in order to just test _one_ bit (C_CLOCAL). Never mind that if If you don't take it there are cases where it gets cleared by drivers momentarily and put back so you would give the wrong answer. > something is changing it, we really don't care _which_ case we return, so > the lock is likely pointless to begin with (can "termios" actually change > as a pointer?). But then does the user space access with the lock held. I'll fix those over the next few days to copy first, its pretty trivial stuff |