summaryrefslogtreecommitdiffstats
path: root/sys/security/mac_none/mac_none.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-11-12 04:20:36 +0000
committerrwatson <rwatson@FreeBSD.org>2002-11-12 04:20:36 +0000
commit1e2f84951192b417cc73573a47605913d9b671f2 (patch)
treef77b4842f5fc009d2a4ec4c987fb24eb6b02fba1 /sys/security/mac_none/mac_none.c
parentafd12f968b077aa6c86bd0026507f84ade294f1f (diff)
downloadFreeBSD-src-1e2f84951192b417cc73573a47605913d9b671f2.zip
FreeBSD-src-1e2f84951192b417cc73573a47605913d9b671f2.tar.gz
Garbage collect mac_create_devfs_vnode() -- it hasn't been used since
we brought in the new cache and locking model for vnode labels. We now rely on mac_associate_devfs_vnode(). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_none/mac_none.c')
-rw-r--r--sys/security/mac_none/mac_none.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c
index 7039420..0550793 100644
--- a/sys/security/mac_none/mac_none.c
+++ b/sys/security/mac_none/mac_none.c
@@ -189,13 +189,6 @@ mac_none_create_devfs_symlink(struct ucred *cred, struct devfs_dirent *dd,
}
-static void
-mac_none_create_devfs_vnode(struct devfs_dirent *devfs_dirent,
- struct label *direntlabel, struct vnode *vp, struct label *vnodelabel)
-{
-
-}
-
static int
mac_none_create_vnode_extattr(struct ucred *cred, struct mount *mp,
struct label *fslabel, struct vnode *dvp, struct label *dlabel,
@@ -930,7 +923,6 @@ static struct mac_policy_ops mac_none_ops =
.mpo_create_devfs_device = mac_none_create_devfs_device,
.mpo_create_devfs_directory = mac_none_create_devfs_directory,
.mpo_create_devfs_symlink = mac_none_create_devfs_symlink,
- .mpo_create_devfs_vnode = mac_none_create_devfs_vnode,
.mpo_create_vnode_extattr = mac_none_create_vnode_extattr,
.mpo_create_mount = mac_none_create_mount,
.mpo_create_root_mount = mac_none_create_root_mount,
OpenPOWER on IntegriCloud