From: Eric Paris Date: Tue, 20 Apr 2010 14:29:42 +0000 (-0400) Subject: SELinux: return error codes on policy load failure X-Git-Tag: v2.6.35-rc1~488^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a200005038955057063fc8ea82129ebc785df41c;p=pandora-kernel.git SELinux: return error codes on policy load failure policy load failure always return EINVAL even if the failure was for some other reason (usually ENOMEM). This patch passes error codes back up the stack where they will make their way to userspace. This might help in debugging future problems with policy load. Signed-off-by: Eric Paris Acked-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed