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

Function mls_vnode_relabel

freebsd/security/mac_mls/mac_mls.c:3161–3171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3159}
3160
3161static void
3162mls_vnode_relabel(struct ucred *cred, struct vnode *vp,
3163 struct label *vplabel, struct label *label)
3164{
3165 struct mac_mls *source, *dest;
3166
3167 source = SLOT(label);
3168 dest = SLOT(vplabel);
3169
3170 mls_copy(source, dest);
3171}
3172
3173static int
3174mls_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp,

Callers

nothing calls this directly

Calls 1

mls_copyFunction · 0.85

Tested by

no test coverage detected