summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/files/1808565
blob: 9f3ed61dbdc275baeafd703251e1c7f55ab8e38b (plain) (blame)
1
2
3
4
5
6
7
8
Reading /proc/self/task/<pid>/maps is not remapped to the target

Seeing this in qemu-user 3.1.0

The code in is_proc_myself which supports remapping of /proc/self/maps and /proc/<pid>/maps does not support remapping of /proc/self/task/<pid>/maps or /proc/<pid>/task/<pid>/maps. Extending is_proc_myself to cover these cases causes the maps to be rewritten correctly.

These are useful in multithreaded programs to avoid freezing the entire program to capture the maps for a single tid.