Disallow writes to filesystems mounted read-only via NULLFS. In this case
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 18 Sep 2006 17:42:28 +0000 (17:42 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 18 Sep 2006 17:42:28 +0000 (17:42 +0000)
commit468bb1f9df45e773cdb6662b27d609c0287ebe6d
tree1c200dba0517b33dd0480a324466f5a6cb8009bc
parent3b130d7f3110765ac26aedcf354c156730f9dd5c
Disallow writes to filesystems mounted read-only via NULLFS.  In this case
the ncp->nc_mount in the namecache must be checked since the vnode's
mount point is the actual filesystem and not the NULLFS mount.

Reported-by: Joerg Sonnenberger <joerg@britannica.bec.de>
sys/kern/kern_fp.c
sys/kern/vfs_syscalls.c
sys/kern/vfs_vnops.c
sys/sys/vnode.h