]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: Do not access other cards than specified for init
authorJaroslav Kysela <perex@perex.cz>
Wed, 9 May 2012 06:45:47 +0000 (08:45 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 12 Sep 2012 13:56:12 +0000 (15:56 +0200)
commit4e112aad9baff3f927d90225bdd594d327f4ee50
treea8b696ca24ff4a5f9d96db32d8555710be7b05bc
parentf55561381b999d3d56bcfb8dac2201f06c7a9b0e
alsactl: Do not access other cards than specified for init

When the global state does not exist, alsactl tries to
initialize all soundcards. It is not good when alsactl
is called multiple times from udev. Also, selinux can deny
access to non-existent devices.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/state.c