[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1ae9af46-a3ca-33b8-d347-8983a22cb3cb@users.sourceforge.net>
Date: Mon, 27 Mar 2017 08:24:36 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Paul Moore <paul@...l-moore.com>
Cc: linux-security-module@...r.kernel.org, selinux@...ho.nsa.gov,
Eric Paris <eparis@...isplace.org>,
James Morris <james.l.morris@...cle.com>,
"Serge E. Hallyn" <serge@...lyn.com>,
Stephen Smalley <sds@...ho.nsa.gov>,
William Roberts <william.c.roberts@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Casey Schaufler <casey@...aufler-ca.com>
Subject: Re: selinux: Delete unnecessary variable assignments in
policydb_index()
> 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?
Regards,
Markus
Powered by blists - more mailing lists