| Summary: | Make log-fd really log to that fd (not dup on startup) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Crispin Flowerday <gnome> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | njn, ossi, tom |
| Priority: | NOR | ||
| Version First Reported In: | 3.3.1 | ||
| Target Milestone: | wanted3.6.0 | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Crispin Flowerday
2009-05-26 12:23:26 UTC
this seems like an anti-feature to me, breaking the isolation between valgrind and the tracee. the proper solution would be a log daemon to which both can talk. Moving the FD is done to preserve isolation by keeping valgrind's file descriptors separate from those of the tracee - valgrind presents a reduced descriptor limit to the tracee and uses the descriptors between that limit and the real one for itself so here it is trying to move the log descriptor into that protected range. |