[PATCH 0/3] SELinux: Fine-tuning for two function implementations

SF Markus Elfring
2017-04-04T11:12:00Z

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 4 Apr 2017 13:02:03 +0200

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (3):
Return directly after a failed memory allocation in policydb_index()
Return an error code only as a constant in sidtab_insert()
Use an other error code for an input validation failure in sidtab_insert()

security/selinux/ss/policydb.c | 15 +++++----------
security/selinux/ss/sidtab.c | 27 ++++++++++-----------------
2 files changed, 15 insertions(+), 27 deletions(-)

--
2.12.2