nullfs - Add 'noexec' flag support.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 25 Oct 2010 15:04:37 +0000 (17:04 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Mon, 25 Oct 2010 15:16:08 +0000 (17:16 +0200)
commit246693acf8309ec9b86116ad739d385afccdcdaa
tree3ba9c569b4cc390aa22c157224313e3e29c3a5c5
parent1dfbc7b8c4b79822edc3d882c41701e0532f5d8e
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