Received: by 10.223.164.202 with SMTP id h10csp990052wrb; Tue, 7 Nov 2017 19:13:29 -0800 (PST) X-Google-Smtp-Source: ABhQp+RRZIUaSdIcHvN7F0g2/Icxg0rP2PQOSY2+6UFqnzhYUQtw71hyvmIaLmdwHcsRcQmIGa4i X-Received: by 10.101.77.75 with SMTP id j11mr520725pgt.141.1510110809338; Tue, 07 Nov 2017 19:13:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510110809; cv=none; d=google.com; s=arc-20160816; b=GbaEQXGd6WJFRSdbxVxJQeDP0EyvKjo9Bjkxtc+mO7dMnRdwAr3HU3gyacE8ph6Qud ZjOiKt826JoDOHRHC5qLYDfszZG6llYgUOChcp+NMNo9bIoebK46z2MJhhMOCpuhRgvI Ns+UBVpSFl1e3FTBP5NBaRafHnJoMSpzr3tmV75UHC/oR83zj3aIbjp+/S7ST8hMN+AB jn0rX3wf9LocnicTIASlMfjFM8FAmaVaFhWq6QBm3Ln3SNZGmAtKdmcfOYxW7QH6AqHY /c4Sml00NNGePYySCGyzQ+93U5h2i7wtSH6qcwrOTm+1wNVtYYnP3QkgIM4nU0RR55vm lAwg== 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-transfer-encoding :mime-version:subject:cc:to:references:in-reply-to:from:organization :dmarc-filter:arc-authentication-results; bh=kQ/q7m9UgWMSL4Wx/HcEELWwP4hCJwRfyT4ccY00Oq4=; b=EJbA2oDqwzeMmAYRunF/zYu3dem5AP1UWri4KPPOJ0C5JEg5YPT2hSmyfdobRsXQDV 4E22MMvg/EAWQL1yRmiDEdNXhwVAXAUxKp8GdFC4YtmZeOKaptwprQyqFGINyOzMlXiw 4vzMi5amgmgKOm/lICf6Eii2v8xtDlPgQu8a+38N/JRnzoTYKcVzGg6wCo7RxPxgTFbL ziLIu6sEuixeGri+MOO//D2rxzqMeU//CAojMqaiTdWGpyzISoKPHD2xpZhLirnCIkni Ww7u8ERg5jFCFudy120xGXcUbCd+QJjGHt+GclkCzp08G0veqpkIp9N2f9ONg8R+gbyK odww== 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 v10si2410489plz.591.2017.11.07.19.13.16; Tue, 07 Nov 2017 19:13:29 -0800 (PST) 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 S1756164AbdKGW4z convert rfc822-to-8bit (ORCPT + 90 others); Tue, 7 Nov 2017 17:56:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35972 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755305AbdKGW4y (ORCPT ); Tue, 7 Nov 2017 17:56:54 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E9C84883C9; Tue, 7 Nov 2017 22:56:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com E9C84883C9 Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx02.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dhowells@redhat.com Received: from warthog.procyon.org.uk (ovpn-121-14.rdu2.redhat.com [10.10.121.14]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C761620A0; Tue, 7 Nov 2017 22:56:52 +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: <877ev2rnt1.fsf@linux.vnet.ibm.com> References: <877ev2rnt1.fsf@linux.vnet.ibm.com> <150842463163.7923.11081723749106843698.stgit@warthog.procyon.org.uk> <150842464774.7923.7951986297563109339.stgit@warthog.procyon.org.uk> To: Thiago Jung Bauermann Cc: dhowells@redhat.com, linux-security-module@vger.kernel.org, gnomes@lxorguk.ukuu.org.uk, linux-efi@vger.kernel.org, matthew.garrett@nebula.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, jforbes@redhat.com Subject: Re: [PATCH 02/27] Add a SysRq option to lift kernel lockdown MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Date: Tue, 07 Nov 2017 22:56:51 +0000 Message-ID: <32418.1510095411@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Tue, 07 Nov 2017 22:56:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thiago Jung Bauermann wrote: > On non-x86 platforms (tested on powerpc) this fails to build with: > > security/lock_down.c: In function ‘lockdown_lift_sysrq’: > security/lock_down.c:100:40: error: ‘LOCKDOWN_LIFT_KEY’ undeclared (first use in this function) > lockdown_lift_sysrq_op.help_msg[5] = LOCKDOWN_LIFT_KEY; > ^~~~~~~~~~~~~~~~~ > security/lock_down.c:100:40: note: each undeclared identifier is reported only once for each function it appears in I've added an arch dependency in the Kconfig file in my local branch. I'll try to get it pushed again. David From 1583461664472095658@xxx Wed Nov 08 02:05:20 +0000 2017 X-GM-THRID: 1581705988971189585 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread