aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_loop.txt.warn
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2025-07-30 10:44:47 +0200
committerAlexander Potapenko <glider@google.com>2025-07-31 12:27:19 +0000
commit9a518853aaea13e0a60411b7be7d3ff1f05962de (patch)
tree646ae2c9dc6f44b86ddf90fe2c90a89b7236fe06 /sys/linux/dev_loop.txt.warn
parentdc769bad4c765a3c7b54150be90664e7a01caf40 (diff)
pkg/flatrpc, pkg/vminfo, executor: introduce readonly coverage
Add a new vminfo feature, FeatureKcovResetIoctl, that is true if the kernel supports ioctl(KCOV_RESET_TRACE) making it possible to reset the coverage buffer on the kernel side. This, in turn, allows us to map the coverage buffer read-only, which will prevent all sorts of userspace-generated corruptions at a cost of an extra syscall per program execution. The corresponding exec env flag, ExecEnv::ReadOnlyCoverage, turns on read-only coverage in the executor. It is enabled by default if FeatureKcovResetIoctl is on.
Diffstat (limited to 'sys/linux/dev_loop.txt.warn')
0 files changed, 0 insertions, 0 deletions