Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752973AbcDFTTg (ORCPT ); Wed, 6 Apr 2016 15:19:36 -0400 Received: from mail.skyhub.de ([78.46.96.112]:43093 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572AbcDFTTf (ORCPT ); Wed, 6 Apr 2016 15:19:35 -0400 Date: Wed, 6 Apr 2016 21:19:29 +0200 From: Borislav Petkov To: Yves-Alexis Perez Cc: Linus Torvalds , "kernel-hardening@lists.openwall.com" , Kees Cook , Emrah Demir , Dan Rosenberg , Dave Jones , Linux Kernel Mailing List Subject: Re: [kernel-hardening] Re: [PATCH] KERNEL: resource: Fix bug on leakage in /proc/iomem file Message-ID: <20160406191929.GA12088@pd.tnic> References: <1459947782-5071-1-git-send-email-ed@abdsec.com> <5e5e7c7ced7bede343530ed1447d7453@abdsec.com> <1459968792.2818.22.camel@debian.org> <1459969867.2818.28.camel@debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1459969867.2818.28.camel@debian.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 800 Lines: 23 On Wed, Apr 06, 2016 at 09:11:07PM +0200, Yves-Alexis Perez wrote: > On mer., 2016-04-06 at 12:02 -0700, Linus Torvalds wrote: > > So yeah, maybe swap partitions are still more common than I thought. > > And I didn't even consider the possibility that people would hibernate > > a desktop like you do. > > To be fair, it's *my* use case, because suspend won't work but I'm lazy and > don't like to reopen everything I was doing, but still have to shut the > machine down once in a while (or to save power). I'm doing exactly the same thing with my workstation: echo 3 > /proc/sys/vm/drop_caches echo "shutdown" > /sys/power/disk echo "disk" > /sys/power/state *exactly* because I don't want to restart everything. :-) -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.