summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-06-12 22:53:46 +0400
committerJames Morris <jmorris@namei.org>2010-08-02 09:35:02 +0400
commitfc5c126e4733e6fb3080d3d822ca63226e74fc84 (patch)
tree3320c22b66107c984ac0cf07c365420df42a4977 /ipc/shm.c
parent9d623b17a740d5a85c12108cdc71c64fb15484fc (diff)
downloadlinux-fc5c126e4733e6fb3080d3d822ca63226e74fc84.tar.xz
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 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions