Re: [PATCH] IMA: policy can be updated zero times

2015-12-22 Thread Sasha Levin
On 12/22/2015 04:40 PM, Petko Manolov wrote: >> Thanks, Sasha. By the time ima_update_policy() is called >> >ima_release_policy() has already output the policy update status >> >message. I guess an empty policy could be considered a valid policy. >> >Could you add a msg indicating that the new

[PATCH] IMA: policy can be updated zero times

2015-12-22 Thread Sasha Levin
lid memory will be accessed. Signed-off-by: Sasha Levin <sasha.le...@oracle.com> --- security/integrity/ima/ima_policy.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/security/integrity/ima/ima_policy.c b/security/integrity/ima/ima_policy.c index ba5d2fc..9b958b8 100644 --- a/securi