Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268147AbUI2Bta (ORCPT ); Tue, 28 Sep 2004 21:49:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268148AbUI2Bta (ORCPT ); Tue, 28 Sep 2004 21:49:30 -0400 Received: from mail-relay-4.tiscali.it ([213.205.33.44]:63711 "EHLO mail-relay-4.tiscali.it") by vger.kernel.org with ESMTP id S268147AbUI2Bt2 (ORCPT ); Tue, 28 Sep 2004 21:49:28 -0400 Date: Wed, 29 Sep 2004 03:48:10 +0200 From: Andrea Arcangeli To: Alan Cox Cc: Stefan Seyfried , Bernd Eckenfels , Chris Wright , Jeff Garzik , Linux Kernel Mailing List , Andrew Morton , Nigel Cunningham Subject: Re: mlock(1) Message-ID: <20040929014810.GI4084@dualathlon.random> References: <1096071873.3591.54.camel@desktop.cunninghams> <20040925011800.GB3309@dualathlon.random> <4157B04B.2000306@suse.de> <20040927141652.GF28865@dualathlon.random> <1096291898.9911.25.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1096291898.9911.25.camel@localhost.localdomain> X-GPG-Key: 1024D/68B9CB43 13D9 8355 295F 4823 7C49 C012 DFA1 686E 68B9 CB43 X-PGP-Key: 1024R/CB4660B9 CC A0 71 81 F4 A0 63 AC C0 4B 81 1D 8C 15 C8 E5 User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 19 On Mon, Sep 27, 2004 at 02:31:39PM +0100, Alan Cox wrote: > On Llu, 2004-09-27 at 15:16, Andrea Arcangeli wrote: > > because I never use suspend/resume on my desktop, I never shutdown my > > desktop. I don't see why should I spend time typing a password when > > there's no need to. Every single guy out there will complain at linux > > hanging during boot asking for password before reaching kdm. > > So attempt a decrypt with a null password before asking. Not sure to understand, sorry. I was talking about the cryptoswap above. there's no reason to type a password from userspace as far as cryptoswap is concerned, nor to attempt a decrypt. A long random key choosen by the kernel is more secure, that will be a single key used for both encrypt and decrypt, and it'll always work. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/