diff options
| author | Linus Torvalds <[email protected]> | 2010-08-20 23:49:40 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-21 15:50:00 +0000 |
| commit | 0e8e50e20c837eeec8323bba7dcd25fe5479194c (patch) | |
| tree | 12c7ec767a4a8508be33442c6fb55c28a26c94cd /net/unix/af_unix.c | |
| parent | mm: make the mlock() stack guard page checks stricter (diff) | |
| download | kernel-0e8e50e20c837eeec8323bba7dcd25fe5479194c.tar.gz kernel-0e8e50e20c837eeec8323bba7dcd25fe5479194c.zip | |
mm: make stack guard page logic use vm_prev pointer
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
