WSL2-Linux-Kernel/sound/oss
Nick Piggin 2f98735c9c vm audit: add VM_DONTEXPAND to mmap for drivers that need it
Drivers that register a ->fault handler, but do not range-check the
offset argument, must set VM_DONTEXPAND in the vm_flags in order to
prevent an expanding mremap from overflowing the resource.

I've audited the tree and attempted to fix these problems (usually by
adding VM_DONTEXPAND where it is not obvious).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-04 07:55:38 -08:00
..
dmasound The next round of scheduled OSS code removal 2007-10-18 14:37:26 -07:00
.gitignore kbuild: ignore all generated files for make allmodconfig (x86_64) 2006-02-26 20:15:58 +01:00
CHANGELOG Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Fix file references in documentation and Kconfig 2008-01-22 10:43:36 -08:00
Makefile The next round of scheduled OSS code removal 2007-10-18 14:37:26 -07:00
README.FIRST Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ac97_codec.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
ad1848.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ad1848.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ad1848_mixer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
aedsp16.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1550_ac97.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
audio.c fix file specification in comments 2006-10-03 23:01:26 +02:00
bin2hex.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
btaudio.c oss: strlcpy is smart enough 2007-05-08 11:15:01 -07:00
coproc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cs4232.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
dev_table.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dev_table.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dmabuf.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
hal2.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
hal2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hex2hex.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_audio.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
kahlua.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
midi_ctrl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
midi_synth.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
midi_synth.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
midibuf.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
mpu401.c mpu401 warning fixes 2007-07-16 09:05:42 -07:00
mpu401.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
msnd.c [PATCH] msnd section fix 2006-06-25 10:01:04 -07:00
msnd.h OSS msnd: fix array overflows 2008-01-14 08:52:23 -08:00
msnd_classic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msnd_classic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
msnd_pinnacle.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
msnd_pinnacle.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
opl3.c more scheduled OSS driver removal 2007-07-16 09:05:40 -07:00
opl3_hw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
os.h [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
pas2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pas2_card.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pas2_midi.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pas2_mixer.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pas2_pcm.c sound: convert "sound" subdirectory to UTF-8 2007-05-09 08:58:22 +02:00
pss.c fix file specification in comments 2006-10-03 23:01:26 +02:00
sb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sb_audio.c fix file specification in comments 2006-10-03 23:01:26 +02:00
sb_card.c ALSA: more section mismatches 2007-07-01 12:29:44 -07:00
sb_card.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sb_common.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_ess.c spelling fixes 2006-06-26 18:35:02 +02:00
sb_ess.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sb_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
sequencer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sh_dac_audio.c sh: hp6xx driver compile fixes. 2007-05-07 02:10:54 +00:00
sound_calls.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sound_config.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sound_firmware.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sound_timer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
soundcard.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
soundvers.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sscape.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
swarm_cs4297a.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_timer.c fix file specification in comments 2006-10-03 23:01:26 +02:00
trident.c OSS trident: replace deprecated pci_find_device with pci_get_device 2007-07-17 10:23:10 -07:00
trident.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
trix.c fix file specification in comments 2006-10-03 23:01:26 +02:00
tuning.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
uart401.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
uart6850.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ulaw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
v_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
v_midi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via82cxxx_audio.c vm audit: add VM_DONTEXPAND to mmap for drivers that need it 2008-02-04 07:55:38 -08:00
vidc.c [PATCH] misc arm pt_regs fixes 2006-10-08 12:32:36 -07:00
vidc.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
vidc_fill.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vwsnd.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
waveartist.c [ARM] Remove pointless casts from void pointers, 2008-01-26 14:50:00 +00:00
waveartist.h fix file specification in comments 2006-10-03 23:01:26 +02:00

README.FIRST

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