aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-06-15 22:04:30 -0700
committerDaniel Borkmann <[email protected]>2020-06-17 17:50:02 +0200
commit02553b91da5deb63c8562b47529b09b734659af0 (patch)
tree82b0bdb70f7daa8660d243a98a1e893b4b08767c /include/linux/fpga/fpga-mgr.h
parent6903cdae9f9f08d61e49c16cbef11c293e33a615 (diff)
bpf: bpf_probe_read_kernel_str() has to return amount of data read on success
During recent refactorings, bpf_probe_read_kernel_str() started returning 0 on success, instead of amount of data successfully read. This majorly breaks applications relying on bpf_probe_read_kernel_str() and bpf_probe_read_str() and their results. Fix this by returning actual number of bytes read. Fixes: 8d92db5c04d1 ("bpf: rework the compat kernel probe handling") Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions