MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mls_devfs_vnode_associate

Function mls_devfs_vnode_associate

freebsd/security/mac_mls/mac_mls.c:967–978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965}
966
967static void
968mls_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
980static int
981mls_ifnet_check_relabel(struct ucred *cred, struct ifnet *ifp,

Callers

nothing calls this directly

Calls 1

mls_copy_effectiveFunction · 0.85

Tested by

no test coverage detected