sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #86027
Re: No swap program
On Mon, 5 Dec 2005 09:45:30 +0100
Klaus wrote:
> Hvis det er pga. det sidste, så kan du bruge mlockall(2). Programmet
> skal dog køre med root-rettigheder, for at få lov til det.
Dejligt at der var et svar! Tak til Klaus. En anden gang vil jeg
søge sådan: "man -k paging".
Hvis det er real-time response er det mlockall(2).
Hvis det er for at UNDGÅ at følsomme oplysninger siger manual page:
[...] Crypto-
graphic security software often handles critical bytes like passwords
or secret keys as data structures. As a result of paging, these secrets
could be transfered onto a persistent swap store medium, where they
might be accessible to the enemy long after the security software has
erased the secrets in RAM and terminated. For security applications,
only small parts of memory have to be locked, for which mlock is avail-
able.
--
donald_j_axel donax snabela get2net.dk -- http://d-axel.dk/
References