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)
commit1a9430db2835c0c00acc87d915b573496998c1bf
treef9d7f680597516bddc577f1fa9bfbc3a0243b007
parent94c13f66e13ca0f3d5b7b9e7e385fe5db35abe3c
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