Skip to content
Commit 0a87bc2e authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'bpf-improve-verifier-ARG_CONST_SIZE_OR_ZERO-semantics'



Yonghong Song says:

====================
bpf: improve verifier ARG_CONST_SIZE_OR_ZERO semantics

This patch set intends to change verifier ARG_CONST_SIZE_OR_ZERO
semantics so that simpler bpf programs can be written with verifier
acceptance. Patch #1 comment provided the detailed examples and
the patch itself implements the new semantics. Patch #2
changes bpf_probe_read helper arg2 type from
ARG_CONST_SIZE to ARG_CONST_SIZE_OR_ZERO. Patch #3 fixed a few
test cases and added some for better coverage.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 3a9b76fd b6ff6391
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment