From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SPhfN-0005yY-0O for garchives@archives.gentoo.org; Wed, 02 May 2012 22:04:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CCE2AE079D; Wed, 2 May 2012 22:04:41 +0000 (UTC) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 76C5EE08AC for ; Wed, 2 May 2012 22:02:38 +0000 (UTC) Received: by lbbgk8 with SMTP id gk8so950211lbb.40 for ; Wed, 02 May 2012 15:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=ulHyZo7BRI4cgASZJyv0gVCfC5UfzlxOIikpgBSMUEU=; b=PlB3LSDkq8Xiscoxrinwzsg5+kNqiXZNW4wBcCHnYjrsfeTcjIHAVRcv8vdN5dPRDr LfeegXKidhLbOxl9uZ+8UHhD6sEHGiq77ZwvVTudvnlQkGdWBuZAM4mAFFPJUxiJ86e8 HQEcuRSmptTaxigrdxQ1ePm1n9+xUcPOgiczY5rVfH5iHoZEyyItKNGM8kJJRTVm6C2X Cr61ihOxYlWBdStnLWqPbIarMmy4qmz0hcUaLAj/bJiHMNPljuDqiomKln6OMs1qsaOZ 26ukdx50TSDqJRQsBa+gH/EW1VDnfLoGgN7RydYhQmmUi1AGir+8Jo1vxVkj5U0IBYTE 9w+g== Received: by 10.152.146.163 with SMTP id td3mr15199122lab.25.1335996157440; Wed, 02 May 2012 15:02:37 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.112.35.108 with HTTP; Wed, 2 May 2012 15:02:17 -0700 (PDT) In-Reply-To: References: From: Paul Hartman Date: Wed, 2 May 2012 17:02:17 -0500 X-Google-Sender-Auth: raOC3brLE0tA6YPEXAmisnsQXxo Message-ID: Subject: Re: [gentoo-user] Re: Any experience with swapfiles? To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 469b6a06-1f7a-422e-ba5b-dc29d7e501ce X-Archives-Hash: fa5f22ea5ae6c60715f338d659dd556b On Wed, May 2, 2012 at 4:50 PM, walt wrote: > On 05/02/2012 01:58 PM, Simon wrote: > > > >> Except for issue pointed out by Paul about hibernation > > That's an interesting point, and the reason for the problem is definitely > not obvious to me. =A0Anyone know the technical details? > >> As for security, having a swap is less >> secure than having none: =A0a malicious persion could extract >> information from programs memory which was swapped > > BTW, man mkswap says nothing about proper file permissions for a swapfile= . > I'm guessing that only root should be able to read the file? > > Actually it looks like it may be possible, depending on which method you use for suspending. Here's a kernel document talking about using swap files and swsusp: https://www.kernel.org/doc/Documentation/power/swsusp-and-swap-files.txt