From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754521AbcDFWmA (ORCPT ); Wed, 6 Apr 2016 18:42:00 -0400 Received: from lb1-smtp-cloud3.xs4all.net ([194.109.24.22]:50351 "EHLO lb1-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754473AbcDFWl6 (ORCPT ); Wed, 6 Apr 2016 18:41:58 -0400 Message-ID: <1459982506.30545.13.camel@tiscali.nl> Subject: Re: [PATCH] Prefer kASLR over Hibernation From: Paul Bolle To: Kees Cook , "Rafael J. Wysocki" Cc: Ingo Molnar , Linus Torvalds , Ard Biesheuvel , Matt Redfearn , Yves-Alexis Perez , Emrah Demir , Jonathan Corbet , "x86@kernel.org" , "Rafael J. Wysocki" , Len Brown , Pavel Machek , Borislav Petkov , Andy Lutomirski , "open list:DOCUMENTATION" , "linux-pm@vger.kernel.org" , Linux Kernel Mailing List , "kernel-hardening@lists.openwall.com" Date: Thu, 07 Apr 2016 00:41:46 +0200 In-Reply-To: References: <20160406194404.GA11150@www.outflux.net> <20160406215638.GA25539@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5 (3.16.5-3.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On wo, 2016-04-06 at 15:16 -0700, Kees Cook wrote: > And it seems like Fedora either doesn't either, or has a lot of people > for whom it doesn't work: > https://bugzilla.redhat.com/show_bug.cgi?id=1206936 > https://bugzilla.redhat.com/show_bug.cgi?id=1224151 > http://blog.kriptonium.com/2015/12/fedora-23-hibernate.html Which are all variations on a theme: add "resume=$SWAP" to your kernel commandline, aren't they? (No idea why that's needed since Fedora 22, but it cost me quite a bit of head scratching to find out.) Once that parameter was set hibernate functioned again on the few laptops I, well, manage that run Fedora 22. Thanks, Paul Bolle