diff options
author | Alexei Starovoitov <[email protected]> | 2014-04-22 20:18:57 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-04-23 15:34:41 -0400 |
commit | 83d5b7ef99c9f05e87333b334a638de1264ab8e4 (patch) | |
tree | f95ec9cdb441ecfcd32cafe96c1d30a865c9ba35 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | c06cbcb6052edd8f4ee00d65f874b26404ac8f96 (diff) |
net: filter: initialize A and X registers
exisiting BPF verifier allows uninitialized access to registers,
'ret A' is considered to be a valid filter.
So initialize A and X to zero to prevent leaking kernel memory
In the future BPF verifier will be rejecting such filters
Signed-off-by: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions