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

Function lomac_devfs_vnode_associate

freebsd/security/mac_lomac/mac_lomac.c:1086–1097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1084}
1085
1086static void
1087lomac_devfs_vnode_associate(struct mount *mp, struct label *mplabel,
1088 struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
1089 struct label *vplabel)
1090{
1091 struct mac_lomac *source, *dest;
1092
1093 source = SLOT(delabel);
1094 dest = SLOT(vplabel);
1095
1096 lomac_copy_single(source, dest);
1097}
1098
1099static int
1100lomac_ifnet_check_relabel(struct ucred *cred, struct ifnet *ifp,

Callers

nothing calls this directly

Calls 1

lomac_copy_singleFunction · 0.85

Tested by

no test coverage detected