From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: Eric Paris <eparis@redhat.com>
Cc: jmorris@namei.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IMA: do not measure everything opened by root by default
Date: Thu, 14 May 2009 09:12:44 -0400 [thread overview]
Message-ID: <1242306764.4647.6.camel@dyn9002018117.watson.ibm.com> (raw)
In-Reply-To: <20090512191423.6903.37464.stgit@dhcp231-142.rdu.redhat.com>
On Tue, 2009-05-12 at 15:14 -0400, Eric Paris wrote:
> The IMA default policy measures every single file opened by root. This is
> terrible for most users. Consider a system (like mine) with virtual machine
> images. When those images are touched (which happens at boot for me) those
> images are measured. This is just way too much for the default case.
>
> Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
> ---
>
> security/integrity/ima/ima_policy.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c
> index b168c1d..dec6dcb 100644
> --- a/security/integrity/ima/ima_policy.c
> +++ b/security/integrity/ima/ima_policy.c
> @@ -61,8 +61,6 @@ static struct ima_measure_rule_entry default_rules[] = {
> .flags = IMA_FUNC | IMA_MASK},
> {.action = MEASURE,.func = BPRM_CHECK,.mask = MAY_EXEC,
> .flags = IMA_FUNC | IMA_MASK},
> - {.action = MEASURE,.func = PATH_CHECK,.mask = MAY_READ,.uid = 0,
> - .flags = IMA_FUNC | IMA_MASK | IMA_UID}
> };
>
> static LIST_HEAD(measure_default_rules);
>
next prev parent reply other threads:[~2009-05-14 13:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 19:14 Eric Paris
2009-05-12 21:18 ` Mimi Zohar
2009-05-12 21:27 ` Eric Paris
2009-05-12 21:53 ` [PATCH] IMA: do not measure everything opened by root bydefault Mimi Zohar
2009-05-13 14:54 ` Eric Paris
2009-05-14 13:09 ` Mimi Zohar
2009-05-14 13:12 ` Mimi Zohar [this message]
2009-05-15 0:39 ` [PATCH] IMA: do not measure everything opened by root by default James Morris
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=1242306764.4647.6.camel@dyn9002018117.watson.ibm.com \
--to=zohar@linux.vnet.ibm.com \
--cc=eparis@redhat.com \
--cc=jmorris@namei.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®