diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-20 10:21:07 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-21 09:58:14 +1000 |
commit | b9035b1fd7933c11e68dbbf49b530cc43bf1da65 (patch) | |
tree | b2f6846ee36422db9a58705e902054d4dac1c438 /fs/mpage.c | |
parent | 7b62e162129c3b28d51016774e0c7c57c710c452 (diff) | |
download | blackbird-op-linux-b9035b1fd7933c11e68dbbf49b530cc43bf1da65.tar.gz blackbird-op-linux-b9035b1fd7933c11e68dbbf49b530cc43bf1da65.zip |
IMA: set entry->action to UNKNOWN rather than hard coding
ima_parse_rule currently sets entry->action = -1 and then later tests
if (entry->action == UNKNOWN). It is true that UNKNOWN == -1 but actually
setting it to UNKNOWN makes a lot more sense in case things change in the
future.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions