| Summary: | Valgrind unsupported clone on Android | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Tamara Vlahovic <tamara.vlahovic> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | mips32r2, njn, philippe.waroquiers, yituohe |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Clone thread without CLONE_FILES and CLONE_FS flags set
fd_clone_test |
||
|
Description
Tamara Vlahovic
2017-11-01 13:41:16 UTC
Created attachment 108666 [details]
Clone thread without CLONE_FILES and CLONE_FS flags set
This patch adds support for cloning a thread without set CLONE_FS and CLONE_FILES, and changing fds trackinng system to allow for Valgrind to run programs which such clone calls with --track-fds=yes option.
It was tested on x86, mips32, and mips64 linux.
Created attachment 108667 [details]
fd_clone_test
This patch adds tests in none/tests/linux which check Valgrind behevior during thread creation with different combination of CLONE_FS, and CLONE_FILES set flags.
Can somebody take a look at these patches? |