diff options
| author | Oleg Nesterov <[email protected]> | 2013-09-11 14:24:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-09-11 15:59:04 -0700 |
| commit | 131b2f9f1214f338f0bf7c0d9760019f2b1d0c20 (patch) | |
| tree | b60a498414e259fe4e81f210378538f90ada9224 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 5d1baf3b63bfc8c709dc44df85ff1475c7ef489d (diff) | |
exec: kill "int depth" in search_binary_handler()
Nobody except search_binary_handler() should touch ->recursion_depth, "int
depth" buys nothing but complicates the code, kill it.
Probably we should also kill "fn" and the !NULL check, ->load_binary
should be always defined. And it can not go away after read_unlock() or
this code is buggy anyway.
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Kees Cook <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Evgeniy Polyakov <[email protected]>
Cc: Zach Levis <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions