From: Dan Carpenter Date: Sat, 12 Jun 2010 18:52:19 +0000 (+0200) Subject: selinux: fix error codes in cond_read_av_list() X-Git-Tag: v2.6.36-rc1~584^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d623b17a740d5a85c12108cdc71c64fb15484fc;p=pandora-kernel.git selinux: fix error codes in cond_read_av_list() After this patch cond_read_av_list() no longer returns -1 for any errors. It just propagates error code back from lower levels. Those can either be -EINVAL or -ENOMEM. I also modified cond_insertf() since cond_read_av_list() passes that as a function pointer to avtab_read_item(). It isn't used anywhere else. Signed-off-by: Dan Carpenter Acked-by: Stephen D. Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed