[LAD] Realtime threads and security

Paul Davis paul at linuxaudiosystems.com
Thu Feb 17 21:55:27 UTC 2011


On Thu, Feb 17, 2011 at 4:53 PM, Robin Gareus <robin at gareus.org> wrote:

>> Aside of that, what about locks? I've many times been told that one mustn't do
>> anything that could block in a realtime thread. What are the consequences of
>> that? Could a malicious app freeze the system by blocking in a realtime thread?

it poses no risks to anything except itself if it does that. blocking
in an RT thread matters to the thread, not to anything else.

to demote RT threads that are doing too much you'd need a user-space
watchdog like das_watchdog



More information about the Linux-audio-dev mailing list