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

Function mls_devfs_update

freebsd/security/mac_mls/mac_mls.c:955–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953}
954
955static void
956mls_devfs_update(struct mount *mp, struct devfs_dirent *de,
957 struct label *delabel, struct vnode *vp, struct label *vplabel)
958{
959 struct mac_mls *source, *dest;
960
961 source = SLOT(vplabel);
962 dest = SLOT(delabel);
963
964 mls_copy_effective(source, dest);
965}
966
967static void
968mls_devfs_vnode_associate(struct mount *mp, struct label *mplabel,

Callers

nothing calls this directly

Calls 1

mls_copy_effectiveFunction · 0.85

Tested by

no test coverage detected