Received: by 10.192.165.156 with SMTP id m28csp1222921imm; Wed, 11 Apr 2018 14:58:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Au/3JUhlCZZpUqY5pHie613/SdFQS6GjY0etRwbYZ60sYvUYepYRktoJoMOQvqxn0ebEf X-Received: by 10.98.133.212 with SMTP id m81mr5431077pfk.61.1523483892210; Wed, 11 Apr 2018 14:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523483892; cv=none; d=google.com; s=arc-20160816; b=ISpBszG8TxAxWUxRfCL5PLwYXK26Ywb/PbeHHUFaoufEWhaEuFL87uTUlJVPbP3xQO OJDDElhUTJbCY2LoDwZaMPki8TkuQqODiUiviA131PqLZW4KKKPJX1W1oDsVUN5/NPEC 1gTOrilhtr1Sph0CuZtXlDRCHKA/ikVec+DIwFs51sRz8nhwsE9RNrXOuy6XEjtnGSmk dn5ARrvyv1q/iMHUdWLuK3s5PNXUJ6PaiH7UmdwyYEB3ox0/9pvkewZRVofXuDuSG5HG WVcXXRRVBuX3V4qmT6PhK3QBzKS5tTnzip23gKiQBnV5Rz/YXfb+ZV3Sef12fXjH8LL6 P5cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=aNqLMJFoyvKhtJ4mPm15EkeeN0XTB8r4n/JnNpCnzJk=; b=JEJ3WEFBh6MeaGCwC8aQ+FL5NvKXkXMqfaHPexbTyYxpi3h6K5J6pPU/CsP3eHFKB+ EKpgz6vOtg4Evm8wwh8FfdHHbmf1527ZXVbVy3VH8oNnGb6PZr2rOQ5EVOwWWRL4X8NZ Y6MciQ6KSx72TTnbEc5EzXX3taXEuYJqG5JjosJRI//JU91YUghJpbfy07WoTFZY+W5W udDJWhTMiNVjWFzDJv4/RpCHK8PWTvjYrWj41Ewn6iAqGVGE7DnSOzCVqNjoYAaqthLI FklhXLsBPk9ZmXbO3W8tDvygnyEgVwqo0KGfVJDJEUjR78JgC0qQDtRYH+ry18/+ZDNI 2teA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si1306539pgt.574.2018.04.11.14.57.35; Wed, 11 Apr 2018 14:58:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757293AbeDKUGC (ORCPT + 99 others); Wed, 11 Apr 2018 16:06:02 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:34264 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756281AbeDKUF7 (ORCPT ); Wed, 11 Apr 2018 16:05:59 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1FD394023156; Wed, 11 Apr 2018 20:05:59 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-8.rdu2.redhat.com [10.10.120.8]) by smtp.corp.redhat.com (Postfix) with ESMTP id 57C3710AF9F2; Wed, 11 Apr 2018 20:05:57 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <87po35k1q6.fsf@xmission.com> References: <87po35k1q6.fsf@xmission.com> <152346387861.4030.4408662483445703127.stgit@warthog.procyon.org.uk> <152346391877.4030.6270466586590461223.stgit@warthog.procyon.org.uk> To: ebiederm@xmission.com (Eric W. Biederman) Cc: dhowells@redhat.com, torvalds@linux-foundation.org, linux-man@vger.kernel.org, linux-api@vger.kernel.org, jmorris@namei.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH 06/24] kexec_load: Disable at runtime if the kernel is locked down MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12600.1523477156.1@warthog.procyon.org.uk> Date: Wed, 11 Apr 2018 21:05:56 +0100 Message-ID: <12601.1523477156@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 11 Apr 2018 20:05:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Wed, 11 Apr 2018 20:05:59 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'dhowells@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eric W. Biederman wrote: > Maybing I am missing it but I am not seeing anything that would require > kexec_file_load be configured such that it checks the loaded kernel. > > Without that I don't see the point of disabling kexec_load. I meant to remove this patch too. David