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

Function mac_mount_check_stat

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

Source from the content-addressed store, hash-verified

963 "struct mount *");
964
965int
966mac_mount_check_stat(struct ucred *cred, struct mount *mount)
967{
968 int error;
969
970 MAC_POLICY_CHECK_NOSLEEP(mount_check_stat, cred, mount, mount->mnt_label);
971 MAC_CHECK_PROBE2(mount_check_stat, error, cred, mount);
972
973 return (error);
974}
975
976void
977mac_devfs_create_device(struct ucred *cred, struct mount *mp,

Callers 3

kern_do_statfsFunction · 0.85
kern_getfsstatFunction · 0.85
kern_fhstatfsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected