server-skynet-source-3rd-je.../test/unit/guard.sh
Qi Wang deb8e62a83 Implement guard pages.
Adding guarded extents, which are regular extents surrounded by guard pages
(mprotected).  To reduce syscalls, small guarded extents are cached as a
separate eset in ecache, and decay through the dirty / muzzy / retained pipeline
as usual.
2021-09-26 16:30:15 -07:00

4 lines
68 B
Bash

#!/bin/sh
export MALLOC_CONF="san_guard_large:1,san_guard_small:1"