Searched refs:__failure (Results 1 – 25 of 141) sorted by relevance
123456
| /tools/testing/selftests/bpf/progs/ |
| A D | verifier_sock_addr.c | 17 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]") 31 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]") 45 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]") 66 __failure __msg("At program exit the register R0 has smin=2 smax=2 should have been in [0, 1]") 87 __failure __msg("At program exit the register R0 has smin=2 smax=2 should have been in [0, 1]") 108 __failure __msg("At program exit the register R0 has smin=2 smax=2 should have been in [0, 1]") 122 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]") 136 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]") 150 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]") 164 __failure __msg("At program exit the register R0 has smin=0 smax=0 should have been in [1, 1]") [all …]
|
| A D | verifier_cfg.c | 10 __failure __msg("unreachable") 22 __failure __msg("unreachable") 35 __failure __msg("jump out of range") 48 __failure __msg("jump out of range") 60 __failure __msg("unreachable insn 1") 72 __failure __msg("unreachable insn 4") 87 __failure __msg("infinite loop detected") 124 __failure __msg("infinite loop detected") 150 __failure __msg("infinite loop detected")
|
| A D | exceptions_fail.c | 63 __failure __msg("exception cb only supports single integer argument") in __exception_cb() 96 __failure __msg("cannot be called from callback subprog") 179 __failure __msg("Unreleased reference") 209 __failure __msg("Unreleased reference") 223 __failure __msg("cannot be called from callback") 231 __failure __msg("Unreleased reference") 265 __failure __msg("cannot be called from callback subprog") in __exception_cb() 273 __failure __msg("cannot call exception cb directly") in __exception_cb() 281 __failure __msg("cannot call exception cb directly") in __exception_cb() 331 __failure __msg("cannot be called from callback") [all …]
|
| A D | iters_state_safety.c | 56 __failure __msg("Unreleased reference id=1") 76 __failure __msg("expected an initialized iter_num as arg #0") 94 __failure __msg("expected an initialized iter_num as arg #0") 121 __failure __msg("Unreleased reference id=1") 146 __failure __msg("expected an initialized iter_num as arg #0") 186 __failure 233 __failure __msg("expected uninitialized iter_num as arg #0") 261 __failure __msg("expected an initialized iter_num as arg #0") 287 __failure __msg("expected an initialized iter_num as arg #0") 334 __failure __msg("invalid read from stack") [all …]
|
| A D | verifier_vfs_reject.c | 16 __failure __msg("Possibly NULL pointer passed to trusted arg0") 31 __failure __msg("arg#0 pointer type STRUCT task_struct must point to scalar, or struct with scalar") 49 __failure __msg("R1 must be referenced or trusted") 69 __failure __msg("Unreleased reference") 83 __failure __msg("release kernel function bpf_put_file expects") 92 __failure __msg("Possibly NULL pointer passed to trusted arg0") 101 __failure __msg("R1 must be referenced or trusted") 115 __failure __msg("R1 must be referenced or trusted") 139 __failure __msg("invalid access to map value, value_size=4096 off=0 size=8192") 153 __failure __msg("calling kernel function bpf_path_d_path is not allowed") [all …]
|
| A D | verifier_helper_restricted.c | 33 __failure __msg("program of this type cannot use helper bpf_ktime_get_coarse_ns") 47 __failure __msg("program of this type cannot use helper bpf_ktime_get_coarse_ns") 61 __failure __msg("program of this type cannot use helper bpf_ktime_get_coarse_ns") 89 __failure __msg("tracing progs cannot use bpf_timer yet") 114 __failure __msg("tracing progs cannot use bpf_timer yet") 139 __failure __msg("tracing progs cannot use bpf_timer yet") 164 __failure __msg("tracing progs cannot use bpf_timer yet") 189 __failure __msg("tracing progs cannot use bpf_spin_lock yet") 212 __failure __msg("tracing progs cannot use bpf_spin_lock yet") 235 __failure __msg("tracing progs cannot use bpf_spin_lock yet") [all …]
|
| A D | dynptr_fail.c | 81 __failure __msg("Unreleased reference id=2") 94 __failure __msg("Unreleased reference id=4") 130 __failure __msg("Unreleased reference id") 195 __failure __msg("invalid read from stack") 213 __failure __msg("invalid read from stack") 401 __failure __msg("invalid read from stack") 542 __failure __msg("invalid read from stack") 575 __failure __msg("invalid read from stack") 602 __failure __msg("invalid read from stack") 1315 __failure __msg("unbounded memory access") [all …]
|
| A D | task_kfunc_failure.c | 31 __failure __msg("Possibly NULL pointer passed to trusted arg0") 103 __failure __msg("Possibly NULL pointer passed to trusted arg0") 118 __failure __msg("Unreleased reference") 132 __failure __msg("Unreleased reference") 152 __failure __msg("Possibly NULL pointer passed to trusted arg0") 265 __failure __msg("R1 must be a rcu pointer") 280 __failure __msg("access beyond the end of member comm") 288 __failure __msg("access beyond the end of member comm") 296 __failure __msg("write into memory") 304 __failure __msg("R1 type=ptr_ expected") [all …]
|
| A D | verifier_stack_ptr.c | 40 __failure __msg("misaligned stack access off 0+-8+2 size 8") 88 __failure __msg("invalid write to stack R1 off=0 size=8") 150 __failure __msg("invalid write to stack R1 off=0 size=1") 166 __failure __msg("invalid write to stack R1") 184 __failure __msg("invalid write to stack") 203 __failure __msg("fp pointer offset") 271 __failure __msg("math between fp pointer") 289 __failure __msg("invalid write to stack") 307 __failure __msg("invalid write to stack") 326 __failure __msg("fp pointer offset") [all …]
|
| A D | preempt_lock.c | 11 __failure __msg("BPF_EXIT instruction in main prog cannot be used inside bpf_preempt_disable-ed reg… 19 __failure __msg("BPF_EXIT instruction in main prog cannot be used inside bpf_preempt_disable-ed reg… 28 __failure __msg("BPF_EXIT instruction in main prog cannot be used inside bpf_preempt_disable-ed reg… 38 __failure __msg("BPF_EXIT instruction in main prog cannot be used inside bpf_preempt_disable-ed reg… 60 __failure __msg("BPF_EXIT instruction in main prog cannot be used inside bpf_preempt_disable-ed reg… 68 __failure __msg("BPF_EXIT instruction in main prog cannot be used inside bpf_preempt_disable-ed reg… 107 __failure __msg("sleepable helper bpf_copy_from_user#") 119 __failure __msg("kernel func bpf_copy_from_user_str is sleepable within non-preemptible region") 180 __failure __msg("global functions that may sleep are not allowed in non-sleepable context") 191 __failure __msg("global functions that may sleep are not allowed in non-sleepable context") [all …]
|
| A D | verifier_bounds_mix_sign_unsign.c | 17 __failure __msg("unbounded min value") 49 __failure __msg("unbounded min value") 81 __failure __msg("unbounded min value") 115 __failure __msg("unbounded min value") 179 __failure __msg("unbounded min value") 275 __failure __msg("unbounded min value") 342 __failure __msg("unbounded min value") 376 __failure __msg("unbounded min value") 411 __failure __msg("unbounded min value") 445 __failure __msg("unbounded min value") [all …]
|
| A D | irq.c | 18 __failure __msg("arg#0 doesn't point to an irq flag on stack") 196 __failure __msg("sleepable helper bpf_copy_from_user#") 240 __failure __msg("cannot restore irq state out of order") 327 __failure __msg("expected an initialized") 339 __failure __msg("expected uninitialized") 350 __failure __msg("expected an initialized") 361 __failure __msg("Unreleased reference id=1") 378 __failure __msg("expected an initialized") 390 __failure __msg("expected an initialized") 535 __failure __msg("function calls are not allowed") [all …]
|
| A D | verifier_bounds_deduction.c | 10 __failure __msg("R0 tried to subtract pointer from scalar") 42 __failure __msg("R0 tried to subtract pointer from scalar") 75 __failure __msg("R0 tried to subtract pointer from scalar") 89 __failure __msg("R0 tried to subtract pointer from scalar") 104 __failure __msg("dereference of modified ctx ptr") 123 __failure __msg("negative offset ctx ptr R1 off=-1 disallowed") 142 __failure __msg("R0 tried to subtract pointer from scalar") 156 __failure
|
| A D | verifier_lsm.c | 31 __failure __msg("R0 has smin=-4096 smax=-4096 should have been in [-4095, 0]") 42 __failure __msg("R0 has smin=4096 smax=4096 should have been in [-4095, 0]") 53 __failure __msg("R0 has smin=1 smax=1 should have been in [-4095, 0]") 87 __failure __msg("R0 has smin=-1 smax=-1 should have been in [0, 1]") 98 __failure __msg("R0 has smin=2 smax=2 should have been in [0, 1]") 131 __failure __msg("points to disabled hook") 142 __failure __msg("points to disabled hook") 153 __failure __msg("points to disabled hook")
|
| A D | verifier_cgroup_storage.c | 51 __failure __msg("cannot pass map_type 1 into func bpf_get_local_storage") 71 __failure __msg("fd 1 is not pointing to valid bpf_map") 90 __failure __msg("invalid access to map value, value_size=64 off=256 size=4") 110 __failure __msg("invalid access to map value, value_size=64 off=-2 size=4") 131 __failure __msg("get_local_storage() doesn't support non-zero flags") 151 __failure __msg("get_local_storage() doesn't support non-zero flags") 190 __failure __msg("cannot pass map_type 1 into func bpf_get_local_storage") 210 __failure __msg("fd 1 is not pointing to valid bpf_map") 249 __failure __msg("invalid access to map value, value_size=64 off=-2 size=4") 270 __failure __msg("get_local_storage() doesn't support non-zero flags") [all …]
|
| A D | map_kptr_fail.c | 24 __failure __msg("kptr access size must be BPF_DW") 39 __failure __msg("kptr access cannot have variable offset") 58 __failure __msg("R1 doesn't have constant offset. kptr has to be") 77 __failure __msg("kptr access misaligned expected=8 off=7") 93 __failure __msg("kptr access misaligned expected=8 off=1") 185 __failure __msg("R1 type=untrusted_ptr_ expected=percpu_ptr_") 205 __failure __msg("off=8 kptr isn't referenced kptr") 235 __failure __msg("store to referenced kptr disallowed") 255 __failure __msg("R2 must be referenced") 274 __failure [all …]
|
| A D | verifier_raw_stack.c | 28 __failure __msg("R4 min value is negative") 47 __failure __msg("R4 min value is negative") 67 __failure __msg("R4 invalid zero-sized read: u64=[0,0]") 153 __failure __msg("R0 invalid mem access 'scalar'") 176 __failure __msg("R3 invalid mem access 'scalar'") 239 __failure __msg("invalid write to stack R3 off=-513 size=8") 258 __failure __msg("invalid write to stack R3 off=-1 size=8") 277 __failure __msg("R4 min value is negative") 296 __failure 316 __failure [all …]
|
| A D | user_ringbuf_fail.c | 44 __failure __msg("negative offset dynptr_ptr ptr") 67 __failure __msg("dereference of modified dynptr_ptr ptr") 87 __failure __msg("invalid mem access 'dynptr_ptr'") 107 __failure __msg("invalid mem access 'scalar'") 129 __failure __msg("invalid mem access 'scalar'") 149 __failure __msg("cannot release unowned const bpf_dynptr") 169 __failure __msg("cannot release unowned const bpf_dynptr") 187 __failure __msg("At callback return the register R0 has ") 210 __failure __msg("Dynptr has to be an uninitialized dynptr") 218 __failure __msg("Dynptr has to be an uninitialized dynptr") [all …]
|
| A D | cgrp_kfunc_failure.c | 32 __failure __msg("Possibly NULL pointer passed to trusted arg0") 51 __failure __msg("Possibly NULL pointer passed to trusted arg0") 67 __failure __msg("arg#0 pointer type STRUCT cgroup must point") 95 __failure __msg("cgrp_kfunc_acquire_trusted_walked") 109 __failure __msg("Possibly NULL pointer passed to trusted arg0") 123 __failure __msg("Unreleased reference") 137 __failure __msg("Unreleased reference") 157 __failure __msg("must be referenced or trusted") 178 __failure __msg("Possibly NULL pointer passed to trusted arg0") 194 __failure __msg("arg#0 pointer type STRUCT cgroup must point") [all …]
|
| A D | verifier_helper_value_access.c | 181 __failure __msg("R2 min value is negative") 261 __failure __msg("R2 invalid zero-sized read") 315 __failure __msg("R2 min value is negative") 342 __failure __msg("R2 min value is negative") 426 __failure __msg("R2 invalid zero-sized read") 481 __failure __msg("R2 min value is negative") 509 __failure __msg("R2 min value is negative") 596 __failure __msg("R2 invalid zero-sized read") 857 __failure __msg("R1 min value is negative") 947 __failure __msg("R1 min value is negative") [all …]
|
| A D | verifier_cgroup_inv_retcode.c | 10 __failure __msg("smin=0 smax=4294967295 should have been in [0, 1]") 33 __failure __msg("smin=0 smax=3 should have been in [0, 1]") 56 __failure __msg("smin=2 smax=2 should have been in [0, 1]") 67 __failure __msg("R0 is not a known value (ctx)") 78 __failure __msg("R0 has unknown scalar value should have been in [0, 1]")
|
| A D | verifier_ref_tracking.c | 112 __failure __msg("Unreleased reference") 127 __failure __msg("Unreleased reference") 142 __failure __msg("Unreleased reference") 160 __failure __msg("Unreleased reference") 180 __failure __msg("Unreleased reference") 195 __failure __msg("Unreleased reference") 210 __failure __msg("Unreleased reference") 318 __failure __msg("Unreleased reference") 333 __failure __msg("Unreleased reference") 1082 __failure __msg("!read_ok") [all …]
|
| A D | res_spin_lock_fail.c | 27 __failure __msg("point to map value or allocated object") 41 __failure __msg("AA deadlock detected") 55 __failure __msg("AA deadlock detected") 70 __failure __msg("unlock of different lock") 85 __failure __msg("unlock of different lock") 100 __failure __msg("unlock of different lock") 117 __failure __msg("unlock of different lock") 178 __failure __msg("bpf_res_spin_unlock cannot be out of order") 193 __failure __msg("off 1 doesn't point to 'struct bpf_res_spin_lock' that is at 0") 225 __failure __msg("map 'res_spin.bss' has no valid bpf_res_spin_lock") [all …]
|
| A D | cpumask_failure.c | 35 __failure __msg("Unreleased reference") 48 __failure __msg("NULL pointer passed to trusted arg0") 63 __failure __msg("must be referenced") 86 __failure __msg("Unreleased reference") 110 __failure __msg("NULL pointer passed to trusted arg0") 120 __failure __msg("R2 must be a rcu pointer") 154 __failure __msg("NULL pointer passed to trusted arg1") 182 __failure __msg("Possibly NULL pointer passed to helper arg2") 207 __failure __msg("has no valid kptr") 227 __failure __msg("type=scalar expected=fp") [all …]
|
| A D | verifier_ctx.c | 12 __failure __msg("BPF_ATOMIC stores into R1 ctx is not allowed") 26 __failure __msg("dereference of modified ctx ptr") 57 __failure __msg("negative offset ctx ptr R1 off=-612 disallowed") 73 __failure __msg("negative offset ctx ptr R1 off=-612 disallowed") 89 __failure __msg("variable ctx access var_off=(0x0; 0x4)") 136 __failure __msg("R1 type=scalar expected=ctx") 151 __failure __msg("negative offset ctx ptr R1 off=-612 disallowed") 210 __failure __msg("R1 type=scalar expected=ctx") 226 __failure __msg("invalid bpf_context access") \ 251 __failure __msg("invalid bpf_context access") \
|
Completed in 40 milliseconds
123456