summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-09-29 15:49:40 +0200
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:51:07 +0300
commitad91dc20ab6ab3ee2ffa620e729406c9ea61e49e (patch)
tree40310968700d67e0bdf946fd3bec46d1fae54bbd /kernel/bpf/arraymap.c
parentb4bb24aeda545f7152b29430e297d80ed2986dee (diff)
cgroup: fix error handling regressions in proc_cgroup_show() and cgroup_release_agent()
4c737b41de7f ("cgroup: make cgroup_path() and friends behave in the style of strlcpy()") broke error handling in proc_cgroup_show() and cgroup_release_agent() by not handling negative return values from cgroup_path_ns_locked(). Fix it. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Chatur27 <jasonbright2709@gmail.com> Change-Id: I30fefb0167ca977eabbf7cbb77cd2ca230cf25b1
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions