security: protect from stack expantion into low vm addresses
authorEric Paris <eparis@redhat.com>
Mon, 26 Nov 2007 23:47:26 +0000 (18:47 -0500)
committerJames Morris <jmorris@namei.org>
Wed, 5 Dec 2007 13:24:48 +0000 (00:24 +1100)
commit8869477a49c3e99def1fcdadd6bbc407fea14b45
treea3f77dcac695a12986715b119750f85f124179bb
parentab5a91a8364c3d6fc617abc47cc81d162c01d90a
security: protect from stack expantion into low vm addresses

Add security checks to make sure we are not attempting to expand the
stack into memory protected by mmap_min_addr

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
mm/mmap.c