diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-20 10:29:42 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-21 08:58:49 +1000 |
commit | a200005038955057063fc8ea82129ebc785df41c (patch) | |
tree | 712fdedac2d15290cdbe7b8adc02cce844fde9f0 /security/integrity | |
parent | 6f262d8e1acb7b1605b811700326163fa707d355 (diff) | |
download | linux-stable-a200005038955057063fc8ea82129ebc785df41c.tar.gz linux-stable-a200005038955057063fc8ea82129ebc785df41c.tar.bz2 linux-stable-a200005038955057063fc8ea82129ebc785df41c.zip |
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 <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/integrity')
0 files changed, 0 insertions, 0 deletions