aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-06-12 20:53:46 +0200
committerJames Morris <[email protected]>2010-08-02 15:35:02 +1000
commitfc5c126e4733e6fb3080d3d822ca63226e74fc84 (patch)
tree3320c22b66107c984ac0cf07c365420df42a4977 /net/unix/sysctl_net_unix.c
parent9d623b17a740d5a85c12108cdc71c64fb15484fc (diff)
selinux: fix error codes in cond_read_node()
Originally cond_read_node() returned -1 (-EPERM) on errors which was incorrect. Now it either propagates the error codes from lower level functions next_entry() or cond_read_av_list() or it returns -ENOMEM or -EINVAL. next_entry() returns -EINVAL. cond_read_av_list() returns -EINVAL or -ENOMEM. 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