Re: [linux-audio-dev] [SOURCE] rt monitor to kill runaway RT processes

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] [SOURCE] rt monitor to kill runaway RT processes
From: Paul Davis (pbd_AT_op.net)
Date: Wed Aug 28 2002 - 17:15:54 EEST


>One problem with audio systems that
>a) runs as RT processes
>b) allows user loaded plugins
>
>Is that it is very simple to make a DOS (Denial of service) attack.
>This has resulted in that the feature to run arts in RT mode has been
>disabled... see artswrapper.c, search for NO_MORE_LOCAL_DOS_HOLE
>
>I made this code as a proof of concept for a monitor that catches and
>reduces priority for processes that misuse this feature.
>(this version reduces the priority for all RT processes at once...)

a side note: JACK, when run in RT mode, launches its own maximal
priority thread to perform exactly this function. all other RT threads
run at lower priorities. i believe that it is not possible to use JACK
to perform DOS attacks like this unless the client modifies its
scheduling priority itself.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed Aug 28 2002 - 17:11:25 EEST