Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp446051imm; Fri, 1 Jun 2018 03:56:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKjj/3jeaukXnzkkrnLP7DNQZ4WVYd65yQxfIBmfTaGyHBLznMY3WxRrauyjPjhuERSxxMu X-Received: by 2002:a63:36c1:: with SMTP id d184-v6mr8595916pga.224.1527850581974; Fri, 01 Jun 2018 03:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527850581; cv=none; d=google.com; s=arc-20160816; b=0xl65292gpXhtefDGOAVeQZSydFqlDv29vwwxKqe7fWh+b0cxpNNLaweBSFyKXnQBS iyOtsAkuK3rjom5UMaeUTUBe72F7QB5bl4wrEp/dLa3WMI8Pmr5s0THq5PqqijM2rfF2 FqLk5jWrlz8ERnOX3Fn7XiRf2u7sW3MjA4U+0ZaYB8M1e/YleMeIZvn7HpYEbSxgREa/ 7BzeTyd/xjokXk4S6Q9C6lrjbtowuNABAdrcVtKQaulV2+N9mqJFk6UGy13qrZe8vZRH RNXyw/UAKbuTYIr2NvaMC+AE45wfdGUWUIG+h1hjBouEiwWeVW45ObltdcHFwwvPVRvm gmEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=prLcfKHCbI9HgtfJRliew1iQ/HzQghMEbM0Rg2d+F1A=; b=wzK224cgqKV98ZStp4ENlQ1l3MySMLLJqah1GKipTIdzac6/2RsRbuGmbROThF0Pb9 S5/G49tkwLL9cLScRXgvn1ZGvZBmieYGQ9B3aeTucERNd0P3HriteW3N0oF840mOo8NC BBszEkEK7OQqv4MmnmQl/U+1Xnm59orP3CT8DPcyOTVn7lmMFK45x/8Rmp54XqhPCL3r 5v/d4MONiwkCnY36yImdShF1IFSdDPfE7ePogGwU8L1Agyl28rz7G0d0uGYwV0/z1uqS WshPkBlMIz3JafuW5vxXw+Aab9/PJhItwaSMJ5YKf8rwWcVa+Z/Mj756KdJbR6SxJ0K3 7o5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dHlAIcpQ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x22-v6si10915203plr.288.2018.06.01.03.56.07; Fri, 01 Jun 2018 03:56:21 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dHlAIcpQ; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751444AbeFAKzq (ORCPT + 99 others); Fri, 1 Jun 2018 06:55:46 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:33743 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbeFAKzn (ORCPT ); Fri, 1 Jun 2018 06:55:43 -0400 Received: by mail-qk0-f194.google.com with SMTP id h7-v6so12370067qkm.0; Fri, 01 Jun 2018 03:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=prLcfKHCbI9HgtfJRliew1iQ/HzQghMEbM0Rg2d+F1A=; b=dHlAIcpQF2cEZqbeRjGx3ynZqwmiGWhrIlUWkt/sElrMlasGTdJlS2vaVG2NryN3gV NtL634IFyyAlVsMH4HRYqXlHcCa7RZDgAH4dL34VlXJKv/4AmOqI+F+wDi6Jw/zcgfAg lEtbvAqepq5hPbuGWfztPoTG3p91ZoNgo9kQtlHLE2OGWfi/JihmSXEOn/MUryhpcOrk fV9I5E6uu0Q0CR+w6S5s6D+8oPSwhkpk6qdPNkBVhbfgdm0/Z1C2qe01ILZ/lotT/Pt0 sF9olZKiU+azaJu4zYtcn4sgkTtxh88i/zxTf8kDNG78gPyMB6v7CL8w02ftxeSSOnLb Nr+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=prLcfKHCbI9HgtfJRliew1iQ/HzQghMEbM0Rg2d+F1A=; b=ro9RS55UROx5c+YKG7MS6ZGgFziFq1QaCC6G1Sn/Yd2FOWpfatNBqkr0bMJbDzPGWX 91YxqjUlXE4JpO+EpqBihxB2POBrjo01YYCIFh1R94vndcLSfsHLFNl9AtO3qd62L1YG zUbRjmyi7YUF+V/BKB2SEK0K6sKNiwnh10ErHOPqbEv78rvOpn33TLXBmQyKNNkvGH1A ywrtjeSKbl6yAdqCnrqksaoAEUiKGdVjUEnYFFJU0BADcvMq+80SzN/aOxKkjgKn+ICj uWh2/6+7b1+Xaz6GDqjbqKTnJF0+plelrpFxxf8ddjG5L1uPF6JIHlQXg0z3HGO2l3LZ ESIw== X-Gm-Message-State: APt69E32Q365wYCliwAC2EC7gqjTbthTG+A0Y7FUYl2lKwUXzaoZCh0S m9qlbaq/RfeMfYmL/0FRbqtYQNxJOt1c+0yU3Ko= X-Received: by 2002:a37:1399:: with SMTP id 25-v6mr9132311qkt.83.1527850542677; Fri, 01 Jun 2018 03:55:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a0c:98f9:0:0:0:0:0 with HTTP; Fri, 1 Jun 2018 03:55:42 -0700 (PDT) In-Reply-To: <1527778958.3427.16.camel@linux.vnet.ibm.com> References: <1527765086-19873-1-git-send-email-xieyisheng1@huawei.com> <1527765086-19873-14-git-send-email-xieyisheng1@huawei.com> <1527778958.3427.16.camel@linux.vnet.ibm.com> From: Andy Shevchenko Date: Fri, 1 Jun 2018 13:55:42 +0300 Message-ID: Subject: Re: [PATCH v2 13/21] ima: use match_string() helper To: Mimi Zohar Cc: Yisheng Xie , Linux Kernel Mailing List , Dmitry Kasatkin , James Morris , "Serge E. Hallyn" , linux-integrity@vger.kernel.org, linux-security-module Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 31, 2018 at 6:02 PM, Mimi Zohar wrote: > On Thu, 2018-05-31 at 19:11 +0800, Yisheng Xie wrote: >> match_string() returns the index of an array for a matching string, >> which can be used instead of open coded variant. >> >> Reviewed-by: Mimi Zohar >> Reviewed-by: Andy Shevchenko >> Cc: Mimi Zohar >> Cc: Dmitry Kasatkin >> Cc: James Morris >> Cc: "Serge E. Hallyn" >> Cc: linux-integrity@vger.kernel.org >> Cc: linux-security-module@vger.kernel.org >> Signed-off-by: Yisheng Xie > > In the future, the patch's author Signed-off-by is always first. > > Thanks, this patch is now queued in the next-integrity branch. Hmm... It's interesting since git commit -s checks for author's SoB as a _last_ in the bunch. Is it configurable? -- With Best Regards, Andy Shevchenko