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

Function clustering_anon_allowed

freebsd/vm/vm_map.c:2014–2027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2012 "Cluster anonymous mappings: 0 = no, 1 = yes if no hint, 2 = always");
2013
2014static bool
2015clustering_anon_allowed(vm_offset_t addr)
2016{
2017
2018 switch (cluster_anon) {
2019 case 0:
2020 return (false);
2021 case 1:
2022 return (addr == 0);
2023 case 2:
2024 default:
2025 return (true);
2026 }
2027}
2028
2029static long aslr_restarts;
2030SYSCTL_LONG(_vm, OID_AUTO, aslr_restarts, CTLFLAG_RD,

Callers 1

vm_map_findFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected