Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp309703imm; Mon, 2 Jul 2018 11:56:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe7cE8aITwGaMeNz98jEz40tEZyuCFZaGbQWme0garj372AttCGlBpb90mH9pCx6egGI4Mn X-Received: by 2002:a62:2541:: with SMTP id l62-v6mr26792263pfl.0.1530557791817; Mon, 02 Jul 2018 11:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530557791; cv=none; d=google.com; s=arc-20160816; b=KvDi/hlRo+0d+xcZUS+2d61U4FmWOFOUuywpGXrKcahKiEaAUwrn7UkM9uCZYv73me 0JHywLXdCbayWBiXVwBsMRQMI7/cT2Agof2DJYG57bQz5ugwLDXdjnuQt/PjIIQP6iAc ztfmSYQg1vhnd/qF+tfqiP7O1z+CUvl5QBNLuULU8ZvhkaVkc+SHDeMuJBJrWBiiENWO OBY7z5mgnxS9/sMNZ8rBurFqz6jxgDsJ6EQbVEGxNeXJtlMo8qxwQgjVAi8GKYhvdaQ8 gel7EOFxERpACijfFbGLl4kbjDjD6lnYNrwNzhcNQ/EiwccpIISOexyV1zL8NBEqkbcL VOvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject:reply-to :arc-authentication-results; bh=7XQkQoFO4YrfDeZ0CLhaGdaH1vhe48PzMydnfXhXdOg=; b=BuSduLOmU1zNG9O2zKknDstEUL+wrXU7dQu/N4krukPcOn54AB+fcz+2c+1j71C4ce 2JblxO5qRh1Aq6QaJOcDB9okcRt+INPEBaJQ4qsheh+BQ09uKRDiIHgk9Pw+yo/npIX2 gmbwr1u1vfsCTyoqRis8tcFrEqpTmQsDfQm17nUNEeiDZBLVTllmaZ0J8GeZ7lRNe59F tdbRZlvGHmnivACYECNVi3CgDW5RRgu+qSATulWfnETYSadVCgzocXv58F8Ot3GcRwAX KYA6mMFFOuedrIbP7UuTqRQTQKZI3Zjvg4aEuog6xE9ZKsC9CxlP00GUGNEHN9EanwP6 3aIA== 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 e17-v6si14749497pgo.144.2018.07.02.11.56.17; Mon, 02 Jul 2018 11:56:31 -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 S1753424AbeGBSzj (ORCPT + 99 others); Mon, 2 Jul 2018 14:55:39 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:35980 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753263AbeGBSzi (ORCPT ); Mon, 2 Jul 2018 14:55:38 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A22DB406E87A; Mon, 2 Jul 2018 18:55:37 +0000 (UTC) Received: from crecklin.bos.csb (ovpn-120-13.rdu2.redhat.com [10.10.120.13]) by smtp.corp.redhat.com (Postfix) with ESMTP id B3ED31C55F; Mon, 2 Jul 2018 18:55:36 +0000 (UTC) Reply-To: crecklin@redhat.com Subject: Re: [PATCH v3] add param that allows bootline control of hardened usercopy To: Kees Cook Cc: Laura Abbott , Paolo Abeni , LKML , Linux-MM , Kernel Hardening , Josh Poimboeuf , Peter Zijlstra References: <1530101255-13988-1-git-send-email-crecklin@redhat.com> <5506a72f-99ac-b47c-4ace-86c43b17b5c5@redhat.com> From: Christoph von Recklinghausen Organization: Red Hat Message-ID: <0076b929-4785-0665-0e08-789c504f6b78@redhat.com> Date: Mon, 2 Jul 2018 14:55:35 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Mon, 02 Jul 2018 18:55:37 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Mon, 02 Jul 2018 18:55:37 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'crecklin@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/2018 02:43 PM, Kees Cook wrote: > On Sat, Jun 30, 2018 at 1:43 PM, Christoph von Recklinghausen > wrote: >> The last issue I'm chasing is build failures on ARCH=m68k. The error is >> atomic_read and friends needed by the jump label code not being found. >> The config has CONFIG_BROKEN_ON_SMP=y, so the jump label calls I added >> will only be made #ifndef CONFIG_BROKEN_ON_SMP. Do you think that's >> worth a mention in the blurb that's added to >> Documentation/admin-guide/kernel-parameters.txt? > Uhm, that's weird -- I think the configs on m68k need fixing then? I > don't want to have to sprinkle that ifdef in generic code. > > How are other users of static keys and jump labels dealing with m68k weirdness? > > -Kees > There's also CONFIG_JUMP_LABEL which is defined in x86_64 but not defined in the m68k configs. I'll use that instead. In hindsight I should have spotted that but didn't. Thanks, Chris