From: Mimi Zohar <zohar@linux.ibm.com>
To: Roberto Sassu <roberto.sassu@huaweicloud.com>, dmitry.kasatkin@gmail.com
Cc: linux-integrity@vger.kernel.org, vt@altlinux.org, pvorel@suse.cz,
stefanb@linux.ibm.com, Roberto Sassu <roberto.sassu@huawei.com>
Subject: Re: [PATCH ima-evm-utils v2] Add ima_policy_check.awk and ima_policy_check.test
Date: Thu, 16 Feb 2023 08:40:34 -0500 [thread overview]
Message-ID: <20ff32785d8279b140cb5979975dcfd71195cccd.camel@linux.ibm.com> (raw)
In-Reply-To: <6dc1c55d499187c55dbf88b19b52c3923001b8af.camel@huaweicloud.com>
On Thu, 2023-02-16 at 14:30 +0100, Roberto Sassu wrote:
> > > > > +# Rules don't overlap if there is at least one policy keyword (in base or lsm)
> > > > > +# providing a different value.
> > > >
> > > > The above comment needs to be updated to reflect the overlapping tests.
> > >
> > > Not sure what is missing. Maybe: rules don't overlap also when they are
> > > equivalent (they have the same keys and values)?
> >
> > The above "overlap" definition doesn't take into account one rule being
> > more restrictive (having more "keys" than the other.)
>
> Ok, I see.
>
> Rules don't overlap if both include the same policy keyword (in base or
> lsm), at least one, with a different value.
^keyword(s)
--
thanks,
Mimi
prev parent reply other threads:[~2023-02-16 13:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-14 15:22 [PATCH ima-evm-utils v2] Add ima_policy_check.awk and ima_policy_check.test Roberto Sassu
2023-02-15 23:39 ` Mimi Zohar
2023-02-16 8:18 ` Roberto Sassu
2023-02-16 3:22 ` Mimi Zohar
2023-02-16 8:39 ` Roberto Sassu
2023-02-16 13:13 ` Mimi Zohar
2023-02-16 13:30 ` Roberto Sassu
2023-02-16 13:40 ` Mimi Zohar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20ff32785d8279b140cb5979975dcfd71195cccd.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=linux-integrity@vger.kernel.org \
--cc=pvorel@suse.cz \
--cc=roberto.sassu@huawei.com \
--cc=roberto.sassu@huaweicloud.com \
--cc=stefanb@linux.ibm.com \
--cc=vt@altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox