From owner-freebsd-stable Tue Sep 26 7:22:20 2000 Delivered-To: freebsd-stable@freebsd.org Received: from verdi.jlc.net (verdi.jlc.net [199.201.159.1]) by hub.freebsd.org (Postfix) with ESMTP id 3CB5C37B43E for ; Tue, 26 Sep 2000 07:22:10 -0700 (PDT) Received: (from david@localhost) by verdi.jlc.net (8.9.3/8.9.0) id KAA96794 for freebsd-stable@freebsd.org; Tue, 26 Sep 2000 10:22:09 -0400 (EDT) Date: Tue, 26 Sep 2000 10:21:27 -0400 From: Dave Edmondson To: Markko Merzin Subject: Re: DOS in newpcm audio driver Message-ID: <20000926102127.A96500@verdi.jlc.net> Reply-To: david@jlc.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from markko@torn.eau.ee on Tue, Sep 26, 2000 at 02:16:27PM +0000 X-Real-OS: FreeBSD verdi.jlc.net 3.3-RELEASE FreeBSD 3.3-RELEASE X-Upgrade-OS: When I get around to it. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yep, I've encountered the same type of problem with the commercial OSS drivers. Running soundoff while something is using the audio device will cause a panic/reboot. However, that SHOULD only be executable by root. Still something to look out for. > Hi! > > Any user with read-write access to audio device files (/dev/audio, > /dev/dsp*) can cause system panic and reboot. > > Dont forget remount your filesystems, exept /, read-only before trying > this. > > It goes like this: > > # Play an au file: > [1] markko@leida:~$ cat soundfile.au >/dev/audio & > # while it plays, open /dev/dsp for reading. > [2] markko@leida:~$ cat /dev/null > # wait few seconds and hit control C > # panic, reboot ... > > Or: > > [1] markko@leida:~$ mpg123 -q mpegfile.mp3 & > [2] markko@leida:~$ cat /dev/null -- David Edmondson www.jlc.net/david GFA dpu s+: a17>? C++$ UB++++$ P+>+++ L- E--- W++>+++ N-(+) o- K-> w O? M-(--) V?>-- PS+ PE Y? PGP->+ t- 5 X(+) R tv>! b+>++ DI+++ D(+) G(--) e>* h!>+ r++ y? FreeBSD - The Best NT Upgrade To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message