From: Dan Carpenter Date: Wed, 4 Feb 2015 16:34:30 +0000 (-0500) Subject: SELinux: fix error code in policydb_init() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~113^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6eb4e2b41b264f57ee02d16ee61683952945484d;p=pandora-kernel.git SELinux: fix error code in policydb_init() If hashtab_create() returns a NULL pointer then we should return -ENOMEM but instead the current code returns success. Signed-off-by: Dan Carpenter Acked-by: Serge Hallyn Acked-by: Stephen Smalley Signed-off-by: Paul Moore --- Reading git-diff-tree failed