blktrace: reject buf_size smaller than blk_io_trace2#792
blktrace: reject buf_size smaller than blk_io_trace2#792blktests-ci[bot] wants to merge 1 commit into
Conversation
|
Upstream branch: 66edb90 |
25a041f to
6f75bd1
Compare
|
Upstream branch: 6d35786 |
ae81b98 to
9150aaf
Compare
6f75bd1 to
1f0d33a
Compare
|
Upstream branch: 6d35786 |
9150aaf to
3639d6f
Compare
1f0d33a to
b1870f6
Compare
|
Upstream branch: aa54b1d |
3639d6f to
45bc230
Compare
b1870f6 to
ca57796
Compare
|
Upstream branch: 70eda68 |
45bc230 to
fe4b5f1
Compare
ca57796 to
c1feb59
Compare
|
Upstream branch: 8bc67e4 |
fe4b5f1 to
ad92203
Compare
c1feb59 to
ea833a1
Compare
|
Upstream branch: 6779b50 |
ad92203 to
fc87cd3
Compare
ea833a1 to
7af85d1
Compare
|
Upstream branch: 79bd2dd |
fc87cd3 to
326bcfd
Compare
7af85d1 to
de94ac7
Compare
blk_trace_setup() accepts any non-zero buf_size from userspace and passes it directly to relay_open(). If buf_size is smaller than sizeof(struct blk_io_trace2), relay_reserve() always returns NULL and all trace events are silently dropped. Reject such values early with -EINVAL. Signed-off-by: Deepanshu Kartikey <Kartikey406@gmail.com>
|
Upstream branch: eed108e |
326bcfd to
0afe0e4
Compare
Pull request for series with
subject: blktrace: reject buf_size smaller than blk_io_trace2
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1088908