]> err.no Git - linux-2.6/commit
[ALSA] Fix permissions in some /proc files
authorTakashi Iwai <tiwai@suse.de>
Tue, 12 Apr 2005 14:27:28 +0000 (16:27 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:00:39 +0000 (10:00 +0200)
commitbd7bf042e89941d4e693a0ec68c5093a2bb2adb3
tree4a00c65644765b415b504d4e52471ea232a6dbcf
parent0af68e5ed45e985b676edfbe4b8851dd46316502
[ALSA] Fix permissions in some /proc files

PCM Midlevel,CA0106 driver,EMU10K1/EMU10K2 driver
Fix by Guillaume Chazarain <guichaz@yahoo.fr>:

Some tunables in /proc have a write() function, but as their
permission does not reflect it, it can be confusing to the user.

So here is a patch that corrects the mode of those files. Note that I
have only tested the 'xrun_debug' entry.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm.c
sound/core/pcm_memory.c
sound/pci/ca0106/ca0106_proc.c
sound/pci/emu10k1/emu10k1x.c
sound/pci/emu10k1/emuproc.c