aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2020-05-08 15:07:56 +0000
committerSteven Rostedt (VMware) <[email protected]>2020-05-11 21:00:26 +0000
commit9d82ccda2bc5c148060543d249d54f8703741bb4 (patch)
treeac3f7c00624e2cdce116ecdf95f6c3d710385181 /tools/perf/scripts/python/syscall-counts-by-pid.py
parenttools/bootconfig: Fix resource leak in apply_xbc() (diff)
downloadkernel-9d82ccda2bc5c148060543d249d54f8703741bb4.tar.gz
kernel-9d82ccda2bc5c148060543d249d54f8703741bb4.zip
tools/bootconfig: Fix apply_xbc() to return zero on success
The return of apply_xbc() returns the result of the last write() call, which is not what is expected. It should only return zero on success. Link: https://lore.kernel.org/r/20200508093059.GF9365@kadam Fixes: 8842604446d1 ("tools/bootconfig: Fix resource leak in apply_xbc()") Reported-by: Dan Carpenter <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Tested-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions