[PATCH 0/3] SELinux: Fine-tuning for two function implementations
From: SF Markus Elfring
Date: Tue Apr 04 2017 - 07:12:21 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
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