Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev



Module Name:    src
Committed By:   riastradh
Date:           Mon Oct  3 19:13:09 UTC 2022

Modified Files:
        src/sys/dev: cons.c

Log Message:
cons(9): Check the unit number on close too.

Races between multiple opens, some of which fail, might lead to
closing a bad unit number -- not clear there's a good way to prevent
this.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/cons.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index