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

Function biba_devfs_create_directory

freebsd/security/mac_biba/mac_biba.c:965–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

963}
964
965static void
966biba_devfs_create_directory(struct mount *mp, char *dirname, int dirnamelen,
967 struct devfs_dirent *de, struct label *delabel)
968{
969 struct mac_biba *mb;
970
971 mb = SLOT(delabel);
972
973 biba_set_effective(mb, MAC_BIBA_TYPE_HIGH, 0, NULL);
974}
975
976static void
977biba_devfs_create_symlink(struct ucred *cred, struct mount *mp,

Callers

nothing calls this directly

Calls 1

biba_set_effectiveFunction · 0.85

Tested by

no test coverage detected