ClusterLabs / ClusterLabs/libqb
[testing] Techniques for testing robustness
- Dominant language
- C
- Stars
- 171
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
Just noticed `MADV_HWPOISON` flag for `madvise`:
> Poison the pages in the range specified by addr and length and
> handle subsequent references to those pages like a hardware memory
> corruption. This operation is available only for privileged
> (`CAP_SYS_ADMIN`) processes. This operation may result in the
> calling process receiving a `SIGBUS` and the page being unmapped.
>
> This feature is intended for _testing of memory error-handling code_;
> itis available only if the kernel was configured with
> `CONFIG_MEMORY_FAILURE`.
(the flag is enabled in Fedora kernels)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.