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

Function lomac_devfs_create_symlink

freebsd/security/mac_lomac/mac_lomac.c:1061–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1059}
1060
1061static void
1062lomac_devfs_create_symlink(struct ucred *cred, struct mount *mp,
1063 struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
1064 struct label *delabel)
1065{
1066 struct mac_lomac *source, *dest;
1067
1068 source = SLOT(cred->cr_label);
1069 dest = SLOT(delabel);
1070
1071 lomac_copy_single(source, dest);
1072}
1073
1074static void
1075lomac_devfs_update(struct mount *mp, struct devfs_dirent *de,

Callers

nothing calls this directly

Calls 1

lomac_copy_singleFunction · 0.85

Tested by

no test coverage detected