mbox series

[bpf-next,0/2] Simplify bpf_snprintf verifier code

Message ID 20210422235543.4007694-1-revest@chromium.org (mailing list archive)
Headers show
Series Simplify bpf_snprintf verifier code | expand

Message

Florent Revest April 22, 2021, 11:55 p.m. UTC
Alexei requested a couple of cleanups to the bpf_snprintf and
ARG_PTR_TO_CONST_STR verifier code.

https://lore.kernel.org/bpf/CABRcYmL_SMT80UTyV98bRsOzW0wBd1sZcYUpTrcOAV+9m+YoWQ@mail.gmail.com/T/#t

Florent Revest (2):
  bpf: Notify user if we ever hit a bpf_snprintf verifier bug
  bpf: Remove unnecessary map checks for ARG_PTR_TO_CONST_STR

 kernel/bpf/verifier.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Comments

Alexei Starovoitov April 23, 2021, 5:01 p.m. UTC | #1
On Thu, Apr 22, 2021 at 4:56 PM Florent Revest <revest@chromium.org> wrote:
>
> Alexei requested a couple of cleanups to the bpf_snprintf and
> ARG_PTR_TO_CONST_STR verifier code.

Applied. Thanks