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/mac_syscalls.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/mac_syscalls.c')
-rw-r--r-- | sys/security/mac/mac_syscalls.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/security/mac/mac_syscalls.c b/sys/security/mac/mac_syscalls.c index e5fb6ef..e9a00cfa 100644 --- a/sys/security/mac/mac_syscalls.c +++ b/sys/security/mac/mac_syscalls.c @@ -2708,13 +2708,6 @@ mac_ioctl_ifnet_set(struct ucred *cred, struct ifreq *ifr, } void -mac_create_devfs_vnode(struct devfs_dirent *de, struct vnode *vp) -{ - - MAC_PERFORM(create_devfs_vnode, de, &de->de_label, vp, &vp->v_label); -} - -void mac_create_devfs_device(dev_t dev, struct devfs_dirent *de) { |