aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-11-12 04:20:36 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-11-12 04:20:36 +0000
commit63b6f478ecc7e0a87ee8d9a7148ec0f2dab9dde6 (patch)
treef77b4842f5fc009d2a4ec4c987fb24eb6b02fba1 /sys/sys
parent1cb53a1828d69adccde518926d2dc13cba5600b5 (diff)
downloadsrc-63b6f478ecc7e0a87ee8d9a7148ec0f2dab9dde6.tar.gz
src-63b6f478ecc7e0a87ee8d9a7148ec0f2dab9dde6.zip
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
Notes
Notes: svn path=/head/; revision=106788
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/mac.h1
-rw-r--r--sys/sys/mac_policy.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/mac.h b/sys/sys/mac.h
index 3d56a17c3820..17cf52ece479 100644
--- a/sys/sys/mac.h
+++ b/sys/sys/mac.h
@@ -174,7 +174,6 @@ void mac_create_devfs_directory(char *dirname, int dirnamelen,
struct devfs_dirent *de);
void mac_create_devfs_symlink(struct ucred *cred, struct devfs_dirent *dd,
struct devfs_dirent *de);
-void mac_create_devfs_vnode(struct devfs_dirent *de, struct vnode *vp);
int mac_create_vnode_extattr(struct ucred *cred, struct mount *mp,
struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
void mac_create_mount(struct ucred *cred, struct mount *mp);
diff --git a/sys/sys/mac_policy.h b/sys/sys/mac_policy.h
index 23ea56b11c25..20988faddb49 100644
--- a/sys/sys/mac_policy.h
+++ b/sys/sys/mac_policy.h
@@ -147,9 +147,6 @@ struct mac_policy_ops {
void (*mpo_create_devfs_symlink)(struct ucred *cred,
struct devfs_dirent *dd, struct label *ddlabel,
struct devfs_dirent *de, struct label *delabel);
- void (*mpo_create_devfs_vnode)(struct devfs_dirent *de,
- struct label *direntlabel, struct vnode *vp,
- struct label *vnodelabel);
int (*mpo_create_vnode_extattr)(struct ucred *cred,
struct mount *mp, struct label *fslabel,
struct vnode *dvp, struct label *dlabel,