From patchwork Tue Feb 13 01:26:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10214997 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 132A76055C for ; Tue, 13 Feb 2018 01:26:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0526028D39 for ; Tue, 13 Feb 2018 01:26:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED8D328E21; Tue, 13 Feb 2018 01:26:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8720228D39 for ; Tue, 13 Feb 2018 01:26:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933084AbeBMB0c (ORCPT ); Mon, 12 Feb 2018 20:26:32 -0500 Received: from casper.infradead.org ([85.118.1.10]:56410 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933047AbeBMB0b (ORCPT ); Mon, 12 Feb 2018 20:26:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7sj9ny3Nk+PvzpjvgtUHlTCw4uSV5zVHCNoIWL1sQv0=; b=StdyKvdUMql8Oyeu/Do5icb/0j Z6mMRP4AteUnGmDQC3vKZOJItjm1SjxMJ8Ezmuph0trdWLgo6uoVXda6IucQy0dZB2v8AQzQON49+ 4MgQgXZkyROH9PHJh2hj/ZH792Y/HPRx14uAqDvxSqTbFEoPVKu7piP1AUjlJOGYf4VTOrfOiS0JF SPxAvETgYQ8SXeBxbkbKb1ozeNF6KyENL+tSTO9OeqM6Z3y+3KRTUFEOPkpSBEf1MswyWsxO7mjO+ Of0TWEOiONfXPXORnLsOWdk81rxCo1LZUpHMuAFdr4YacJNae2spNlG94B/p5n41ziUb2rOldW3aV i9VU57qA==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elPMV-0000gu-Ei; Tue, 13 Feb 2018 01:26:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=7sj9ny3Nk+PvzpjvgtUHlTCw4uSV5zVHCNoIWL1sQv0=; b=ZIEz0BgDGCnT/lbWpiZ7tbV6z fg/eYQIOQfzUd3xT6K5rBe3KXIlXQw8d0AvI48Suewj1RHErki2ZIwEqCx8zLwyJ+NP61sp4hPmPL XZAc7Yu1MOU+lMWXskTQ/PU+LXyckQRoQXXTaVDIAh4is+Rgh4OKsl4vq132FHy9kRi82LYKV2qSn 3mKv5QbRv9FkLjHyr69nYkVo32WokjR4M/PNjm3qtf3dja172wZVY1cltmzZ0MFp1dph7yePm4TCc fLpL9FVyRQoVYqA2+ILNLR0ElhYBXII9HXDuOd5kfDNnk4RKmCz6mSOPQoFjJuhkM05BVKvAvMrlN xJO91EhJQ==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.site) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1elPMT-0006Sm-0c; Tue, 13 Feb 2018 01:26:21 +0000 To: LKML Cc: Michael Ellerman , Mimi Zohar , linux-integrity@vger.kernel.org From: Randy Dunlap Subject: [PATCH] integrity/security: fix digsig.c build error with header file Message-ID: Date: Mon, 12 Feb 2018 17:26:20 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap security/integrity/digsig.c has build errors on some $ARCH due to a missing header file, so add it. security/integrity/digsig.c:146:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration] Reported-by: Michael Ellerman Signed-off-by: Randy Dunlap Cc: Mimi Zohar Cc: linux-integrity@vger.kernel.org Link: http://kisskb.ellerman.id.au/kisskb/head/13396/ --- security/integrity/digsig.c | 1 + 1 file changed, 1 insertion(+) --- lnx-416-rc1.orig/security/integrity/digsig.c +++ lnx-416-rc1/security/integrity/digsig.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include