lkml.org 
[lkml]   [2013]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCHv2] Smack: add support for modification of existing rules
From
Date
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



\
 
 \ /
  Last update: 2013-01-11 14:01    [W:0.075 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site