mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
232b0b0829
When the kernel is running in secure boot mode, we lock down the kernel to prevent userspace from modifying the running kernel image. Whilst this includes prohibiting access to things like /dev/mem, it must also prevent access by means of configuring driver modules in such a way as to cause a device to access or modify the kernel image. To this end, annotate module_param* statements that refer to hardware configuration and indicate for future reference what type of parameter they specify. The parameter parser in the core sees this information and can skip such parameters with an error message if the kernel is locked down. The module initialisation then runs as normal, but just sees whatever the default values for those parameters is. Note that we do still need to do the module initialisation because some drivers have viable defaults set in case parameters aren't specified and some drivers support automatic configuration (e.g. PNP or PCI) in addition to manually coded parameters. This patch annotates drivers in sound/oss/. Suggested-by: Alan Cox <gnomes@lxorguk.ukuu.org.uk> Signed-off-by: David Howells <dhowells@redhat.com> cc: Jaroslav Kysela <perex@perex.cz> cc: Takashi Iwai <tiwai@suse.com> cc: Andrew Veliath <andrewtv@usa.net> cc: alsa-devel@alsa-project.org |
||
---|---|---|
.. | ||
dmasound | ||
.gitignore | ||
ad1848_mixer.h | ||
ad1848.c | ||
ad1848.h | ||
aedsp16.c | ||
audio.c | ||
bin2hex.c | ||
CHANGELOG | ||
coproc.h | ||
dev_table.c | ||
dev_table.h | ||
dmabuf.c | ||
hex2hex.c | ||
kahlua.c | ||
Kconfig | ||
Makefile | ||
midi_ctrl.h | ||
midi_synth.c | ||
midi_synth.h | ||
midibuf.c | ||
mpu401.c | ||
mpu401.h | ||
msnd_classic.c | ||
msnd_classic.h | ||
msnd_pinnacle.c | ||
msnd_pinnacle.h | ||
msnd.c | ||
msnd.h | ||
opl3_hw.h | ||
opl3.c | ||
os.h | ||
pas2_card.c | ||
pas2_midi.c | ||
pas2_mixer.c | ||
pas2_pcm.c | ||
pas2.h | ||
pss.c | ||
README.FIRST | ||
sb_audio.c | ||
sb_card.c | ||
sb_card.h | ||
sb_common.c | ||
sb_ess.c | ||
sb_ess.h | ||
sb_midi.c | ||
sb_mixer.c | ||
sb_mixer.h | ||
sb.h | ||
sequencer.c | ||
sleep.h | ||
sound_calls.h | ||
sound_config.h | ||
sound_firmware.h | ||
sound_timer.c | ||
soundcard.c | ||
soundvers.h | ||
swarm_cs4297a.c | ||
sys_timer.c | ||
trix.c | ||
tuning.h | ||
uart401.c | ||
uart6850.c | ||
ulaw.h | ||
v_midi.c | ||
v_midi.h | ||
vidc_fill.S | ||
vidc.c | ||
vidc.h | ||
waveartist.c | ||
waveartist.h |
The modular sound driver patches were funded by Red Hat Software (www.redhat.com). The sound driver here is thus a modified version of Hannu's code. Please bear that in mind when considering the appropriate forums for bug reporting. Alan Cox