]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uselib: add missing MNT_NOEXEC check
authorChristoph Hellwig <hch@lst.de>
Wed, 23 May 2007 20:57:53 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:13 +0000 (20:14 -0700)
commit492c8b332e3af279ffadf49b85967d5e43810923
tree401977e562937b80385cbace842aae01a8dd2ad2
parent5a1b63914815e4223ceb3d079286e18f9ee92b4b
uselib: add missing MNT_NOEXEC check

We don't allow loading ELF shared library from noexec points so the
same should apply to sys_uselib aswell.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Ulrich Drepper <drepper@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/exec.c