commit | 18dd0aa5afea7dc33953aa87de696e39074bbf78 | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Mon Aug 17 12:28:09 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Aug 17 12:48:21 2009 +0200 |
tree | 59c3304f340c8ba180002c99c8961b388bf84fb0 | |
parent | f217ac59b6dd73105abc13da3fe656391fa6d135 [diff] |
sound: snd_ctl_remove_user_ctl: prevent removal of kernel controls Ensure that userspace can remove only user controls. Controls created by kernel drivers must not be removed because they might be referenced in calls to snd_ctl_notify(). Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>