freebsd-nq/sys/dev/sound/pcm
Cameron Grant 9a1ec7ebfd 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
2001-03-13 18:43:22 +00:00
..
ac97_if.m MFS: add '# KOBJ' as the first line of each .m file to reduce diffs from 2001-03-05 16:42:06 +00:00
ac97.c compensate for broken codecs that return 0xffff on unimplemented registers 2000-12-24 03:33:21 +00:00
ac97.h kobjify. 2000-12-18 01:36:41 +00:00
buffer.c MFS: don't pagefault in sndbuf_clear 2001-03-05 16:45:38 +00:00
buffer.h update code dealing with snd_dbuf objects to do so using a functional interface 2000-12-23 03:16:13 +00:00
channel_if.m MFS: add '# KOBJ' as the first line of each .m file to reduce diffs from 2001-03-05 16:42:06 +00:00
channel.c make attempts to set unsupported speeds or formats non-sticky. this should 2001-02-13 21:57:34 +00:00
channel.h update code dealing with snd_dbuf objects to do so using a functional interface 2000-12-23 03:16:13 +00:00
datatypes.h fix a panic triggerable by anyone with read/write access to the audio 2001-03-13 18:43:22 +00:00
dsp.c fix a panic triggerable by anyone with read/write access to the audio 2001-03-13 18:43:22 +00:00
dsp.h
fake.c kobjify. 2000-12-18 01:36:41 +00:00
feeder_fmt.c add a format feeder for conversion from alaw to ulaw and vice versa. 2001-02-13 22:00:57 +00:00
feeder_if.m MFS: add '# KOBJ' as the first line of each .m file to reduce diffs from 2001-03-05 16:42:06 +00:00
feeder.c kobjify. 2000-12-18 01:36:41 +00:00
feeder.h kobjify. 2000-12-18 01:36:41 +00:00
mixer_if.m MFS: add '# KOBJ' as the first line of each .m file to reduce diffs from 2001-03-05 16:42:06 +00:00
mixer.c MFS: 4.x/5.x compatibility #ifdefs 2001-02-27 07:01:49 +00:00
mixer.h - Move all of the hwvol functions into a mixer_hwvol_* namespace, and make 2001-01-11 23:26:16 +00:00
sound.c fix a panic triggerable by anyone with read/write access to the audio 2001-03-13 18:43:22 +00:00
sound.h MFS: add kobj.h to reduce diffs from -stable 2001-03-05 16:47:35 +00:00