Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 09/19/2006 16:41:57
Module Name: src
Committed By: elad
Date: Tue Sep 19 16:41:57 UTC 2006
Modified Files:
src/sys/miscfs/specfs: spec_vnops.c
src/sys/secmodel/bsd44: secmodel_bsd44_securelevel.c
Log Message:
For the VBLK case, we always check vfs_mountedon() and it has nothing
to do with the security model used. Move back the call to spec_open(),
which can now return the real return value from vfs_mountedon() (EBUSY)
and not EPERM, changing semantics.
To generate a diff of this commit:
cvs rdiff -r1.89 -r1.90 src/sys/miscfs/specfs/spec_vnops.c
cvs rdiff -r1.3 -r1.4 src/sys/secmodel/bsd44/secmodel_bsd44_securelevel.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.