| 965 | } |
| 966 | |
| 967 | static void |
| 968 | mls_devfs_vnode_associate(struct mount *mp, struct label *mplabel, |
| 969 | struct devfs_dirent *de, struct label *delabel, struct vnode *vp, |
| 970 | struct label *vplabel) |
| 971 | { |
| 972 | struct mac_mls *source, *dest; |
| 973 | |
| 974 | source = SLOT(delabel); |
| 975 | dest = SLOT(vplabel); |
| 976 | |
| 977 | mls_copy_effective(source, dest); |
| 978 | } |
| 979 | |
| 980 | static int |
| 981 | mls_ifnet_check_relabel(struct ucred *cred, struct ifnet *ifp, |
nothing calls this directly
no test coverage detected