diff options
author | cg <cg@FreeBSD.org> | 2001-03-13 18:43:22 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2001-03-13 18:43:22 +0000 |
commit | 9c788987ab59a0c164c06cfdc1cf40d4aac1499a (patch) | |
tree | 0b40c40b1fe88a28124fc5dd4507ea4c68e4d9f7 /etc | |
parent | 75b400ba6bf9e2632a1321fc43de874ec6cb49b5 (diff) | |
download | FreeBSD-src-9c788987ab59a0c164c06cfdc1cf40d4aac1499a.zip FreeBSD-src-9c788987ab59a0c164c06cfdc1cf40d4aac1499a.tar.gz |
fix a panic triggerable by anyone with read/write access to the audio
devices. opening /dev/{dsp,dspW,audio}0 and then opening a different device
from that list and closing it resulted in a panic when any operation is
performed on the first fd.
we prevent this happening by denying the second open unless it uses the same
minor device as the first.
PR: kern/25519
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions