Re: [PATCH 1/3] ima_fs: One check less in ima_write_policy() after error detection

2017-01-27 Thread Mimi Zohar
On Wed, 2017-01-25 at 10:31 +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 24 Jan 2017 20:30:55 +0100 > > Move the jump label directly before the desired assignment for the > variable "valid_policy" at the end so that the variable "result" will not > be checked once more afte

[PATCH 1/3] ima_fs: One check less in ima_write_policy() after error detection

2017-01-25 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 24 Jan 2017 20:30:55 +0100 Move the jump label directly before the desired assignment for the variable "valid_policy" at the end so that the variable "result" will not be checked once more after it was determined that a received input parameter was not zero or a me