From: Dan Carpenter Date: Sat, 12 Jun 2010 18:55:01 +0000 (+0200) Subject: selinux: fix error codes in cond_policydb_init() X-Git-Tag: v2.6.36-rc1~584^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38184c522249dc377366d4edc41dc500c2c3bb9e;p=pandora-kernel.git selinux: fix error codes in cond_policydb_init() It's better to propagate the error code from avtab_init() instead of returning -1 (-EPERM). It turns out that avtab_init() never fails so this patch doesn't change how the code runs but it's still a clean up. Signed-off-by: Dan Carpenter Acked-by: Stephen D. Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed