linux-integrity.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux.ibm.com>
To: rishi gupta <gupt21@gmail.com>,
	linux-integrity <linux-integrity@vger.kernel.org>
Subject: Re: Understanding fsuuid policy rule for appraisal and exclusion
Date: Tue, 29 Jan 2019 13:37:54 -0500	[thread overview]
Message-ID: <1548787074.20210.27.camel@linux.ibm.com> (raw)
In-Reply-To: <CALUj-gsgpbcXD8xpG-XTZ3QCs_1CoN_9w6sOUSPVYHJ7OrnwQA@mail.gmail.com>

On Tue, 2019-01-29 at 14:21 +0530, rishi gupta wrote:
> Hi Team,
> 
> I set the policy for IMA as follows. (1) Files in partition B will be
> appraised or not if its UUID is not yyyy-yy-yy-yy. (2) Do files in
> partition C only will be appraised irrespective of whatever rule is
> written for other partitions.
> 
> My goal is to include a partition and exclude all other partitions.
> 
> # Exclude partition A
> dont_measure fsuuid=xxxx-xx-xx-xx
> dont_appraise fsuuid=xxxx-xx-xx-xx
> 
> # Exclude partition B (Problem here)
> dont_measure fsuuid=yyyy-yy-yy-yy
> dont_appraise fsuuid=yyyy-yy-yy-yy
> 
> # Appraise partition C
> appraise fsuuid=zzzz-zz-zz-zz appraise_type=imasig

Are you having problems with these policy rules?  Policy rules are
handled sequentially.  Just make sure these rules are before any of
the other "appraise" rules.

Mimi


  reply	other threads:[~2019-01-29 18:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-29  8:51 Understanding fsuuid policy rule for appraisal and exclusion rishi gupta
2019-01-29 18:37 ` Mimi Zohar [this message]
2019-01-30 13:38   ` rishi gupta
2019-01-30 13:53     ` Mimi Zohar
2019-02-05  5:28       ` rishi gupta

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=1548787074.20210.27.camel@linux.ibm.com \
    --to=zohar@linux.ibm.com \
    --cc=gupt21@gmail.com \
    --cc=linux-integrity@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).