From: Anonymous <mixmaster@alpha.c2.org>
To: cypherpunks@toad.com
Message Hash: 11afc5e5de08844b7bb72852114165e6b9ba98f98dc2890d08a0f3141c8d5d1e
Message ID: <199602010730.XAA09785@infinity.c2.org>
Reply To: N/A
UTC Datetime: 1996-02-01 16:24:37 UTC
Raw Date: Fri, 2 Feb 1996 00:24:37 +0800
From: Anonymous <mixmaster@alpha.c2.org>
Date: Fri, 2 Feb 1996 00:24:37 +0800
To: cypherpunks@toad.com
Subject: NoneUnix swapfile security issues...
Message-ID: <199602010730.XAA09785@infinity.c2.org>
MIME-Version: 1.0
Content-Type: text/plain
I'm working on a unix application where I want to store a key in memory and
don't want it to get written out to a swap file. If the key is in any of
the application's memory pages, it could be swapped out at any time, and
potentially left in the swap file when the computer is turned off.
But, what if the program creates a pipe() and writes the key into it, then
reads the key out when necessary? A pipe has a 4K buffer, but that buffer
is in the kernel's memory, not in the application's pages. Could a kernel
buffer get written out to a swapfile?
Return to February 1996
Return to “Steven L Baur <steve@miranova.com>”