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

Function lomac_devfs_update

freebsd/security/mac_lomac/mac_lomac.c:1074–1084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072}
1073
1074static void
1075lomac_devfs_update(struct mount *mp, struct devfs_dirent *de,
1076 struct label *delabel, struct vnode *vp, struct label *vplabel)
1077{
1078 struct mac_lomac *source, *dest;
1079
1080 source = SLOT(vplabel);
1081 dest = SLOT(delabel);
1082
1083 lomac_copy(source, dest);
1084}
1085
1086static void
1087lomac_devfs_vnode_associate(struct mount *mp, struct label *mplabel,

Callers

nothing calls this directly

Calls 1

lomac_copyFunction · 0.85

Tested by

no test coverage detected