From patchwork Sun Jul 7 23:48:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Chikunov X-Patchwork-Id: 11034465 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B9E81510 for ; Sun, 7 Jul 2019 23:48:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D45428113 for ; Sun, 7 Jul 2019 23:48:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C1A028173; Sun, 7 Jul 2019 23:48:57 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 A9FA428113 for ; Sun, 7 Jul 2019 23:48:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727593AbfGGXsz (ORCPT ); Sun, 7 Jul 2019 19:48:55 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:42936 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727590AbfGGXsz (ORCPT ); Sun, 7 Jul 2019 19:48:55 -0400 Received: from imap.altlinux.org (imap.altlinux.org [194.107.17.38]) by vmicros1.altlinux.org (Postfix) with ESMTP id 4673772CC6C; Mon, 8 Jul 2019 02:48:54 +0300 (MSK) Received: from beacon.altlinux.org (unknown [185.6.174.98]) by imap.altlinux.org (Postfix) with ESMTPSA id 080454A4AE8; Mon, 8 Jul 2019 02:48:54 +0300 (MSK) From: Vitaly Chikunov To: Mimi Zohar , Dmitry Kasatkin , linux-integrity@vger.kernel.org Subject: [PATCH v1 0/5] ima-evm-utils: Assorted fixes and improvements Date: Mon, 8 Jul 2019 02:48:32 +0300 Message-Id: <20190707234837.4866-1-vt@altlinux.org> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 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 There is small fixes and improvements to ima-evm-utils. Tested on x86_64. Vitaly Chikunov (5): ima-evm-utils: Fix EVP_MD_CTX leak in ima_calc_hash ima-evm-utils: Fix memory leak in init_public_keys ima-evm-utils: Preload public keys for ima_verify ima-evm-utils: Allow multiple files in ima_verify ima-evm-utils: Fix clang warning about possible unaligned pointer for hdr->keyid src/evmctl.c | 11 ++++++++--- src/libimaevm.c | 38 ++++++++++++++++++++++++++------------ 2 files changed, 34 insertions(+), 15 deletions(-)