From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFF37C433F5 for ; Fri, 24 Sep 2021 09:21:21 +0000 (UTC) Received: from mail.server123.net (mail.server123.net [78.46.64.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C5116103B for ; Fri, 24 Sep 2021 09:21:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4C5116103B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=wagner.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=saout.de X-Virus-Scanned: amavisd-new at saout.de Received-SPF: None (mailfrom) identity=mailfrom; client-ip=84.19.178.47; helo=v1.tansi.org; envelope-from=arno@wagner.name; receiver= X-Greylist: delayed 434 seconds by postgrey-1.37 at siona; Fri, 24 Sep 2021 11:18:32 CEST Received: from v1.tansi.org (mail.tansi.org [84.19.178.47]) by mail.server123.net (Postfix) with ESMTP for ; Fri, 24 Sep 2021 11:18:31 +0200 (CEST) Received: from gatewagner.dyndns.org (81-6-44-245.init7.net [81.6.44.245]) by v1.tansi.org (Postfix) with ESMTPA id 78D49140125; Fri, 24 Sep 2021 11:11:14 +0200 (CEST) Received: by gatewagner.dyndns.org (Postfix, from userid 1000) id E164C17A22C; Fri, 24 Sep 2021 11:11:15 +0200 (CEST) Date: Fri, 24 Sep 2021 11:11:15 +0200 From: Arno Wagner To: Jeremiah Moree Message-ID: <20210924091115.GB1446@tansi.org> Mail-Followup-To: Jeremiah Moree , dmcrypt References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Message-ID-Hash: PRDSF3ABUZVPIBW3E4K622ZMNINTNSGT X-Message-ID-Hash: PRDSF3ABUZVPIBW3E4K622ZMNINTNSGT X-MailFrom: arno@wagner.name X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dm-crypt.saout.de-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: dmcrypt X-Mailman-Version: 3.3.2 Precedence: list Subject: [dm-crypt] Re: --disable-locks List-Id: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Well, I would say that header corruption is covered under "concurrent user access problems", as the header is under user control here. But I see that items 1.9/1.10/1.11 are really in the wrong section. They belong under "Setup" and "Common Problems". I can move them and clarify the locking question. Also 1.9/1.10 should really be one item. Regards, Arno On Thu, Sep 23, 2021 at 15:01:29 CEST, Jeremiah Moree wrote: > While searching through the source code I came upon > docs/LUKS-locking.txt. > From previous discussions on this list I understood the locking to be > only for protection against concurrent user access. This is how I > wrote the FAQ entry that is now in the docs. > From this new-to-me doc it seems that locking is to also prevent header > corruption. I am surprised no one pointed this out in discussions so > there is a chance I may be misunderstanding. > Specifically, this was in a discussion about --disable-locks. Am I > correct in stating: > Using --disable-locks I risk > * concurrent user access problems > * header corruption > -- > JT > _______________________________________________ > dm-crypt mailing list -- dm-crypt@saout.de > To unsubscribe send an email to dm-crypt-leave@saout.de -- Arno Wagner, Dr. sc. techn., Dipl. Inform., Email: arno@wagner.name GnuPG: ID: CB5D9718 FP: 12D6 C03B 1B30 33BB 13CF B774 E35C 5FA1 CB5D 9718 ---- A good decision is based on knowledge and not on numbers. -- Plato If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier _______________________________________________ dm-crypt mailing list -- dm-crypt@saout.de To unsubscribe send an email to dm-crypt-leave@saout.de