diff options
| author | Florian Weimer <[email protected]> | 2021-11-08 18:31:30 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-11-09 10:02:48 -0800 |
| commit | 0658a0961b0ace06b4cf0e1b73a4f20e349f4346 (patch) | |
| tree | 22f46ff8d9524c438dbb02ae8fa4bec515e7f823 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 83c1fd763b3220458652f7d656d5047292ebcde4 (diff) | |
procfs: do not list TID 0 in /proc/<pid>/task
If a task exits concurrently, task_pid_nr_ns may return 0.
[[email protected]: coding style tweaks]
[[email protected]: test that /proc/*/task doesn't contain "0"]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Florian Weimer <[email protected]>
Signed-off-by: Alexey Dobriyan <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Reviewed-by: Alexey Dobriyan <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions