public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: Rafal Krypa <r.krypa@samsung.com>
Cc: Casey Schaufler <casey@schaufler-ca.com>,
	linux-security-module@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCHv2] Smack: add support for modification of existing rules
Date: Fri, 11 Jan 2013 07:46:02 -0500	[thread overview]
Message-ID: <1357908362.4146.23.camel@falcor> (raw)
In-Reply-To: <1357843320-11883-2-git-send-email-r.krypa@samsung.com>

On Thu, 2013-01-10 at 19:42 +0100, Rafal Krypa wrote:
> Rule modifications are enabled via /smack/change-rule. Format is as follows:
> "Subject Object rwaxt rwaxt"
> 
> First two strings are subject and object labels up to 255 characters.
> Third string contains permissions to enable.
> Fourth string contains permissions to disable.
> 
> All unmentioned permissions will be left unchanged.
> If no rule previously existed, it will be created.

Changing rules on a running system could affect IMA, if the IMA policy
contains LSM based rules.  Patch "[PATCH 1/9] ima: re-initialize IMA
policy LSM info" addresses this issue.  It assumes existing LSM rules
have not been dropped.

thanks,

Mimi


  reply	other threads:[~2013-01-11 12:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-10 18:41 [PATCHv2] Smack: add support for modification of existing rules Rafal Krypa
2013-01-10 18:42 ` Rafal Krypa
2013-01-11 12:46   ` Mimi Zohar [this message]
2013-01-16  3:26   ` Casey Schaufler
  -- strict thread matches above, loose matches on Subject: below --
2012-11-28 17:43 Rafal Krypa

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=1357908362.4146.23.camel@falcor \
    --to=zohar@linux.vnet.ibm.com \
    --cc=casey@schaufler-ca.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=r.krypa@samsung.com \
    /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