linux/arch/blackfin
Davidlohr Bueso b951242a4f blackfin/ptrace: call find_vma with the mmap_sem held
Performing vma lookups without taking the mm->mmap_sem is asking for
trouble.  While doing the search, the vma in question can be modified or
even removed before returning to the caller.  Take the lock (shared) in
order to avoid races while iterating through the vmacache and/or rbtree.

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Steven Miao <realmz6@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-06 16:08:16 -07:00
..
boot blackfin: Ignore generated uImages 2013-09-13 10:42:39 +08:00
configs USB: delete CONFIG_USB_DEVICEFS from defconfig 2014-05-27 16:07:13 -07:00
include - Optimised assembly string/memory routines (based on the AArch64 Cortex 2014-06-06 10:43:28 -07:00
kernel blackfin/ptrace: call find_vma with the mmap_sem held 2014-06-06 16:08:16 -07:00
lib blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
mach-bf518 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf527 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf533 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf537 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf538 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf548 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf561 blackfin: cleanup board files 2014-04-12 08:48:01 +08:00
mach-bf609 spi: spi-adi-v3: convert to use common clk framework 2014-04-14 17:45:25 +01:00
mach-common blackfin: Support L1 SRAM parity checking feature on bf60x 2014-01-29 15:12:20 +08:00
mm mm/blackfin: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:35 -07:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Clear_BSD.txt blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
Kconfig Blackfin: remove "config IP_CHECKSUM_L1" 2014-04-11 23:41:52 +08:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile blackfin: rename vmImage to uImage after we move to buildroot 2013-05-07 18:26:39 +08:00