]> git.baikalelectronics.ru Git - kernel.git/commit
ima: show rules with IMA_INMASK correctly
authorRoberto Sassu <roberto.sassu@huawei.com>
Wed, 29 May 2019 13:30:35 +0000 (15:30 +0200)
committerMimi Zohar <zohar@linux.ibm.com>
Thu, 30 May 2019 03:18:25 +0000 (23:18 -0400)
commit28a18c1c2e427f84e1cca95a289ac7db5640f274
treee36e1d077ed05831ab7de39f82eaead5214e2290
parent8c26fd5c65e29752892398edf88683fd59a2fed7
ima: show rules with IMA_INMASK correctly

Show the '^' character when a policy rule has flag IMA_INMASK.

Fixes: d051c22fe39ea ("IMA: allow reading back the current IMA policy")
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_policy.c