https://github.com/torvalds/linux
Revision 0e8e50e20c837eeec8323bba7dcd25fe5479194c authored by Linus Torvalds on 20 August 2010, 23:49:40 UTC, committed by Linus Torvalds on 21 August 2010, 15:50:00 UTC
Like the mlock() change previously, this makes the stack guard check
code use vma->vm_prev to see what the mapping below the current stack
is, rather than have to look it up with find_vma().

Also, accept an abutting stack segment, since that happens naturally if
you split the stack with mlock or mprotect.

Tested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7798330
History
Tip revision: 0e8e50e20c837eeec8323bba7dcd25fe5479194c authored by Linus Torvalds on 20 August 2010, 23:49:40 UTC
mm: make stack guard page logic use vm_prev pointer
Tip revision: 0e8e50e
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 172.6 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top