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_stub | |
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_stub')
-rw-r--r-- | sys/security/mac_stub/mac_stub.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c index 7039420..0550793 100644 --- a/sys/security/mac_stub/mac_stub.c +++ b/sys/security/mac_stub/mac_stub.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, |