]> git.baikalelectronics.ru Git - kernel.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)
commitb20304c3b72603b9ad819943cd6c236bd9c3da83
tree401977e562937b80385cbace842aae01a8dd2ad2
parentf35491730b8402e6f821a2676a1debb3eb894053
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