Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp580720ybz; Wed, 15 Apr 2020 14:28:54 -0700 (PDT) X-Google-Smtp-Source: APiQypJ3M/uOYNxz8Coaq70vOZO6UY6Cbrjl2Md2c2ZNURYSE1USaI2gkEQUP4hudwjIoNCwLBKp X-Received: by 2002:a17:906:5958:: with SMTP id g24mr7125864ejr.58.1586986134159; Wed, 15 Apr 2020 14:28:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586986134; cv=none; d=google.com; s=arc-20160816; b=jsahtIuN3105Ab8ciThWYVdKJwdKksCmT8jBDoC2vNCijXbevfUJ84b+PDk8dSbQA7 klNTuhU+BR5EQ9515YcneIdR3qrAN0na4LvFB5QGY1Y1c9+pJ5+/1EeuXGkoLqPseW7d AV78ILEX3hoR9ItsHlho7glaPCIfHap/SoilMQmWWhsSd4ww3yci1JZlB/GNcWxQ2C61 qUVyQkO0Vflo0FIHsxZR5G7LhDJkVEJIGQB9W+4KV+vdp37Su8ImFTrrbl5CS0b5YWfl DdB1ngbJ4F1R9RIuF2gPnaf7n4EYv3D7D6p37Z/FqUtJSknql+BXzc/Yoq5AXc9HH97/ 99+g== 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:subject:cc:to:from; bh=pUibKbEQoAi54H++I9NAaffb7e7Q0FQChe6bR68urAA=; b=Zss4Dj4ABSgqlJ9JvYW4opJeVyWXdO+a19xn+u6UvGVixfAYQu1WFmDe/r92bZ67kg pMojdaBxxxSfe4PmTRKdDHHtxLvXGTtQaV0kt5BiKsFzXeDHVTLVRlDP/jA+vQcFHupN amFXv70AlAFoZmFxUn3Sqe3ZFyEuF+FBtpqBgZDsWfstpLnqhSFzE0zyqVD4nqFA5kgF 0mYYDT4+POlCkRzuQZ+lfwe/6MlnVEFWshc3Vr64EYAZRVy41Ox93+QcWQfcv/JmSM60 qijPq3RFHGuaEJJgFTBtvW1P0p2qOvD9DTMLFEPKPXiZfQqaT2decm8FIKOCBK/xjicd N0MA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d19si9907319ejj.481.2020.04.15.14.28.31; Wed, 15 Apr 2020 14:28:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2439614AbgDNLtU (ORCPT + 99 others); Tue, 14 Apr 2020 07:49:20 -0400 Received: from out4436.biz.mail.alibaba.com ([47.88.44.36]:50580 "EHLO out4436.biz.mail.alibaba.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728473AbgDNLtN (ORCPT ); Tue, 14 Apr 2020 07:49:13 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01358;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0TvWiAKX_1586864931; Received: from localhost(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0TvWiAKX_1586864931) by smtp.aliyun-inc.com(127.0.0.1); Tue, 14 Apr 2020 19:48:51 +0800 From: Tianjia Zhang To: zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, jmorris@namei.org, serge@hallyn.com, zhangliguang@linux.alibaba.com, zhang.jia@linux.alibaba.com Cc: linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, tianjia.zhang@linux.alibaba.com Subject: [PATCH 0/2] Simplify the implementation of some functions in IMA Date: Tue, 14 Apr 2020 19:48:48 +0800 Message-Id: <20200414114850.98622-1-tianjia.zhang@linux.alibaba.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Simplify the implementation of some functions in IMA. Tianjia Zhang (2): ima: simplify function ima_store_template ima: simplify function process_buffer_measurement security/integrity/ima/ima_api.c | 3 +-- security/integrity/ima/ima_main.c | 12 ++++++------ 2 files changed, 7 insertions(+), 8 deletions(-) -- 2.17.1