Re: [PATCH 3/3] ima_fs: Move three error code assignments in ima_write_policy()

2017-01-29 Thread James Morris
On Fri, 27 Jan 2017, Mimi Zohar wrote: > On Wed, 2017-01-25 at 10:34 +0100, SF Markus Elfring wrote: > > From: Markus Elfring > > Date: Tue, 24 Jan 2017 22:47:07 +0100 > > > > A local variable was set to an error code in three cases before a concrete > > error situation was detected. Thus move t

Re: [PATCH 3/3] ima_fs: Move three error code assignments in ima_write_policy()

2017-01-27 Thread Mimi Zohar
On Wed, 2017-01-25 at 10:34 +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 24 Jan 2017 22:47:07 +0100 > > A local variable was set to an error code in three cases before a concrete > error situation was detected. Thus move the corresponding assignments into > if branches to i