]> git.baikalelectronics.ru Git - kernel.git/commit
ima: cleanup the match_token policy code
authorMimi Zohar <zohar@linux.ibm.com>
Tue, 18 Dec 2018 00:14:49 +0000 (19:14 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2018 00:31:28 +0000 (16:31 -0800)
commit8a8ae9c4f50e0241563ec1d3a60c70e1735e31d3
treef9d7f680597516bddc577f1fa9bfbc3a0243b007
parentbb22a623fd6a7b35d33c57514fb0120adf6000b9
ima: cleanup the match_token policy code

Start the policy_tokens and the associated enumeration from zero,
simplifying the pt macro.

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
security/integrity/ima/ima_policy.c