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

Function mls_devfs_create_directory

freebsd/security/mac_mls/mac_mls.c:932–940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930}
931
932static void
933mls_devfs_create_directory(struct mount *mp, char *dirname, int dirnamelen,
934 struct devfs_dirent *de, struct label *delabel)
935{
936 struct mac_mls *mm;
937
938 mm = SLOT(delabel);
939 mls_set_effective(mm, MAC_MLS_TYPE_LOW, 0, NULL);
940}
941
942static void
943mls_devfs_create_symlink(struct ucred *cred, struct mount *mp,

Callers

nothing calls this directly

Calls 1

mls_set_effectiveFunction · 0.85

Tested by

no test coverage detected