Re: selinux: Delete unnecessary variable assignments in policydb_index()
From: Paul Moore
Date: Mon Mar 27 2017 - 14:21:42 EST
On Mon, Mar 27, 2017 at 2:24 AM, SF Markus Elfring
<elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> However, I agree with Casey that this patch is mostly just code churn
>> so I'm going to drop this from your series.
>
> How do you think about to return only constant error codes in this function?
> Would it be acceptable to replace any statements âgoto out;â with
> âreturn -ENOMEM;â here instead?
Yes.
--
paul moore
www.paul-moore.com