diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-11-12 04:20:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-11-12 04:20:36 +0000 |
commit | 1e2f84951192b417cc73573a47605913d9b671f2 (patch) | |
tree | f77b4842f5fc009d2a4ec4c987fb24eb6b02fba1 /sys/security/mac_test/mac_test.c | |
parent | afd12f968b077aa6c86bd0026507f84ade294f1f (diff) | |
download | FreeBSD-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_test/mac_test.c')
-rw-r--r-- | sys/security/mac_test/mac_test.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index 7ab30d0..0dc09a9 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -538,13 +538,6 @@ mac_test_create_devfs_symlink(struct ucred *cred, struct devfs_dirent *dd, } -static void -mac_test_create_devfs_vnode(struct devfs_dirent *devfs_dirent, - struct label *direntlabel, struct vnode *vp, struct label *vnodelabel) -{ - -} - static int mac_test_create_vnode_extattr(struct ucred *cred, struct mount *mp, struct label *fslabel, struct vnode *dvp, struct label *dlabel, @@ -1257,7 +1250,6 @@ static struct mac_policy_ops mac_test_ops = .mpo_create_devfs_device = mac_test_create_devfs_device, .mpo_create_devfs_directory = mac_test_create_devfs_directory, .mpo_create_devfs_symlink = mac_test_create_devfs_symlink, - .mpo_create_devfs_vnode = mac_test_create_devfs_vnode, .mpo_create_vnode_extattr = mac_test_create_vnode_extattr, .mpo_create_mount = mac_test_create_mount, .mpo_create_root_mount = mac_test_create_root_mount, |