]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When MAC is enabled, warn if getnewvnode() is asked to produce a vnode
authorrwatson <rwatson@FreeBSD.org>
Fri, 22 Oct 2004 11:04:58 +0000 (11:04 +0000)
committerrwatson <rwatson@FreeBSD.org>
Fri, 22 Oct 2004 11:04:58 +0000 (11:04 +0000)
commitf046b536920c8b21efc158ad1ec9050595be4676
treeb240e65c387fd004d2ded2773ceeb18fc6fa88d4
parent2c3e47b66843948385e7152055338c67f3c6a0a0
When MAC is enabled, warn if getnewvnode() is asked to produce a vnode
without a mountpoint.  In this scenario, there's no useful source for
a label on the vnode, since we can't query the mountpoint for the
labeling strategy or default label.
sys/kern/vfs_subr.c