search for: madv_wipeonfork

Displaying 3 results from an estimated 3 matches for "madv_wipeonfork".

2023 Feb 09
11
[Bug 3537] New: OpenSSH build failed
https://bugzilla.mindrot.org/show_bug.cgi?id=3537 Bug ID: 3537 Summary: OpenSSH build failed Product: Portable OpenSSH Version: -current Hardware: amd64 OS: Linux Status: NEW Severity: major Priority: P5 Component: Miscellaneous Assignee: unassigned-bugs at mindrot.org
2020 Jul 03
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...all process pages that fall in VMAs marked as MADV_WIPEONSUSPEND > and thus allow applications and libraries be notified and regenerate > their sensitive data. Marking VMAs as MADV_WIPEONSUSPEND results in > the VMAs being empty in the process after any suspend/wake cycle. > Similar to MADV_WIPEONFORK, if the process accesses memory that was > wiped on suspend, it will get zeroes. The address ranges are still > valid, they are just empty. > > This patch adds logic to the kernel power code to zero out contents of > all MADV_WIPEONSUSPEND VMAs present in the system during its trans...
2020 Jul 07
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...learn that its memory got wiped? S2disk is an > > async operation and it can happen at any time during the task execution. > > So how does the application work to prevent from corrupted state - e.g. > > when suspended between two memory loads? > > The usual trick when using MADV_WIPEONFORK, or BSD?s MAP_INHERIT_ZERO, is to > store a guard variable in the page and to check the variable any time that > random data is generated. Well, MADV_WIPEONFORK is a completely different beast because the forking is under a full control of the parent process and the information about the for...