Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751215AbdHXBQr (ORCPT ); Wed, 23 Aug 2017 21:16:47 -0400 Received: from namei.org ([65.99.196.166]:47902 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbdHXBQq (ORCPT ); Wed, 23 Aug 2017 21:16:46 -0400 Date: Thu, 24 Aug 2017 11:16:38 +1000 (AEST) From: James Morris To: John Johansen cc: Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH] apparmor: fix build failure on sparc caused by undeclared, signals In-Reply-To: <40445189-181f-fc19-3c44-8fa2ab23d2f9@canonical.com> Message-ID: References: <20170823211213.0b014b1e@canb.auug.org.au> <40445189-181f-fc19-3c44-8fa2ab23d2f9@canonical.com> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1214 Lines: 29 On Wed, 23 Aug 2017, John Johansen wrote: > > In file included from security/apparmor/ipc.c:23:0: > security/apparmor/include/sig_names.h:26:3: error: 'SIGSTKFLT' undeclared here (not in a function) > [SIGSTKFLT] = 16, /* -, 16, - */ > ^ > security/apparmor/include/sig_names.h:26:3: error: array index in initializer not of integer type > security/apparmor/include/sig_names.h:26:3: note: (near initialization for 'sig_map') > security/apparmor/include/sig_names.h:51:3: error: 'SIGUNUSED' undeclared here (not in a function) > [SIGUNUSED] = 34, /* -, 31, - */ > ^ > security/apparmor/include/sig_names.h:51:3: error: array index in initializer not of integer type > security/apparmor/include/sig_names.h:51:3: note: (near initialization for 'sig_map') > > Reported-by: Stephen Rothwell > Fixes: c6bf1adaecaa ("apparmor: add the ability to mediate signals") > Signed-off-by: John Johansen > --- > security/apparmor/include/sig_names.h | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next -- James Morris