• Andrey Ignatov's avatar
    bpf: Add missed newline in verifier verbose log · 1fbd20f8
    Andrey Ignatov authored
    check_stack_access() that prints verbose log is used in
    adjust_ptr_min_max_vals() that prints its own verbose log and now they
    stick together, e.g.:
    
      variable stack access var_off=(0xfffffffffffffff0; 0x4) off=-16
      size=1R2 stack pointer arithmetic goes out of range, prohibited for
      !root
    
    Add missing newline so that log is more readable:
      variable stack access var_off=(0xfffffffffffffff0; 0x4) off=-16 size=1
      R2 stack pointer arithmetic goes out of range, prohibited for !root
    
    Fixes: f1174f77 ("bpf/verifier: rework value tracking")
    Signed-off-by: default avatarAndrey Ignatov <rdna@fb.com>
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    1fbd20f8
verifier.c 233 KB