diff options
author | kib <kib@FreeBSD.org> | 2016-01-25 16:47:20 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-01-25 16:47:20 +0000 |
commit | 8d218f7844b26d40a38d2b850b787d05aa3cdce0 (patch) | |
tree | 4a4dad63be36d33fe77cb756acaf4bea8d00340a /contrib/llvm/lib/Support/StringPool.cpp | |
parent | 1c17300d1dcdf3d060b9ffb3d59ac06094bd936f (diff) | |
download | FreeBSD-src-8d218f7844b26d40a38d2b850b787d05aa3cdce0.zip FreeBSD-src-8d218f7844b26d40a38d2b850b787d05aa3cdce0.tar.gz |
Don't allow opening the callout device when the callin device is already
open (in disguise as the console device). The only allowed combination
was supposed to be the callin device with the console.
Fix the assertion in ttydev_close() that was meant to detect this (it
only detected all 3 devices being open). Assert this in ttydev_open()
too.
Submitted by: bde
MFC after: 2 weeks
Diffstat (limited to 'contrib/llvm/lib/Support/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions