On 08/14/2013 04:57 PM, Matthew Garrett wrote:
On Wed, 2013-08-14 at 11:27 +0200, David Henningsson wrote:
The privacy issue is interesting, but I don't see a practical way of implementing things that would protect us against compromised userspaces.
That's pretty easy - just tie the LED control to the HDA device in-kernel.
Well, my point was that the compromised userspace could still record from other possibly connected microphones (such as USB or bluetooth headsets).
But I guess one compromise could be to refuse userspace turn the mic mute LED on, if the internal mic is unmuted. Userspace would still be able to turn the mic mute LED off, to indicate that recording can happen from other sources. It will be slightly more complex for userspace though.