OSDN Git Service

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)
commit8cdc23a3d9ec0944000ad43bad588e36afdc38cd
treee36e1d077ed05831ab7de39f82eaead5214e2290
parent221be106d75c1b511973301542f47d6000d0b63e
ima: show rules with IMA_INMASK correctly

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

Fixes: 80eae209d63ac ("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