nullfs - Add 'noexec' flag support.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 25 Oct 2010 15:04:37 +0000 (17:04 +0200)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 28 Oct 2010 23:06:07 +0000 (16:06 -0700)
commit29761b8087bf316e4cdce50c83a2150c3f72b0c0
tree3b8a64a081e43b91734264a4b582327b8f882938
parentf4878ef339e32ea77a5a5dc8d987264975df3ca0
nullfs - Add 'noexec' flag support.

* Make possible to mount a null-mount with 'noexec' option.

* If the underlying filesystem is mounted as 'noexec' and no options
were given at mount-time, the null mount will automatically
have 'noexec'.

Pointed-out-by: @dillon
sys/kern/imgact_elf.c
sys/kern/kern_exec.c
sys/sys/imgact.h
sys/vfs/nullfs/null_vfsops.c