From: Dan Carpenter Date: Sat, 12 Jun 2010 18:51:40 +0000 (+0200) Subject: selinux: propagate error codes in cond_read_list() X-Git-Tag: v2.6.36-rc1~584^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5241c1074f6e2f2276d45d857eb5d19fbdc2e4b2;p=pandora-kernel.git selinux: propagate error codes in cond_read_list() These are passed back when the security module gets loaded. The original code always returned -1 (-EPERM) on error but after this patch it can return -EINVAL, or -ENOMEM or propagate the error code from cond_read_node(). cond_read_node() still returns -1 all the time, but I fix that in a later patch. Signed-off-by: Dan Carpenter Acked-by: Stephen D. Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed