Date: Wed, 14 Mar 2001 07:18:58 -0800 (PST) From: Cameron Grant <cg@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sound/pcm datatypes.h dsp.c sound.c Message-ID: <200103141518.f2EFIw910673@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
cg 2001/03/14 07:18:58 PST Modified files: (Branch: RELENG_4) sys/dev/sound/pcm datatypes.h dsp.c sound.c Log: MFC: 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 Approved by: jkh Revision Changes Path 1.8.2.7 +2 -2 src/sys/dev/sound/pcm/datatypes.h 1.15.2.7 +5 -1 src/sys/dev/sound/pcm/dsp.c 1.17.2.7 +7 -1 src/sys/dev/sound/pcm/sound.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103141518.f2EFIw910673>