diff options
author | Dan Carpenter <[email protected]> | 2010-06-12 20:52:19 +0200 |
---|---|---|
committer | James Morris <[email protected]> | 2010-08-02 15:35:02 +1000 |
commit | 9d623b17a740d5a85c12108cdc71c64fb15484fc (patch) | |
tree | 15434839a75f9c46c53a201520c6c859fad3c74b /net/unix/sysctl_net_unix.c | |
parent | 5241c1074f6e2f2276d45d857eb5d19fbdc2e4b2 (diff) |
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 <[email protected]>
Acked-by: Stephen D. Smalley <[email protected]>
Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions