summaryrefslogtreecommitdiffstats
path: root/Documentation/leds-class.txt
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-06-12 20:53:46 +0200
committerJames Morris <jmorris@namei.org>2010-08-02 07:35:02 +0200
commitfc5c126e4733e6fb3080d3d822ca63226e74fc84 (patch)
tree3320c22b66107c984ac0cf07c365420df42a4977 /Documentation/leds-class.txt
parentselinux: fix error codes in cond_read_av_list() (diff)
downloadlinux-fc5c126e4733e6fb3080d3d822ca63226e74fc84.tar.xz
linux-fc5c126e4733e6fb3080d3d822ca63226e74fc84.zip
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 <error27@gmail.com> Acked-by: Stephen D. Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'Documentation/leds-class.txt')
0 files changed, 0 insertions, 0 deletions