[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1357908362.4146.23.camel@falcor>
Date: Fri, 11 Jan 2013 07:46:02 -0500
From: Mimi Zohar <zohar@...ux.vnet.ibm.com>
To: Rafal Krypa <r.krypa@...sung.com>
Cc: Casey Schaufler <casey@...aufler-ca.com>,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [PATCHv2] Smack: add support for modification of existing rules
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists