Commit 73ad4f0
committed
fix(libsinsp): Force CLONE_FILES for threads with missing flag from driver
Add definitive thread detection in parse_clone_exit_child() using the
Linux kernel's absolute thread definition: pid != tid. When a thread is
detected but missing the CLONE_FILES flag, force the flag to ensure
proper FD table sharing between threads.1 parent a8fb3d2 commit 73ad4f0
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
| 1166 | + | |
1166 | 1167 | | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
1167 | 1177 | | |
1168 | 1178 | | |
1169 | 1179 | | |
| |||
0 commit comments