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

Function mls_devfs_create_symlink

freebsd/security/mac_mls/mac_mls.c:942–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

940}
941
942static void
943mls_devfs_create_symlink(struct ucred *cred, struct mount *mp,
944 struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
945 struct label *delabel)
946{
947 struct mac_mls *source, *dest;
948
949 source = SLOT(cred->cr_label);
950 dest = SLOT(delabel);
951
952 mls_copy_effective(source, dest);
953}
954
955static void
956mls_devfs_update(struct mount *mp, struct devfs_dirent *de,

Callers

nothing calls this directly

Calls 1

mls_copy_effectiveFunction · 0.85

Tested by

no test coverage detected