mirror of
git://sourceware.org/git/valgrind.git
synced 2026-01-12 00:19:31 +08:00
We used to special case 0, 1, 2 (stdin/out/err) specially even when they were not inherited (anymore). Now the --track-fds=[yes|all] option treats all inherited file descriptors the same. And if any inherited file descriptor gets closed and reopened then they are now treated as normal non-inherited file descriptors. https://bugs.kde.org/show_bug.cgi?id=487296
47 lines
770 B
Plaintext
47 lines
770 B
Plaintext
|
|
|
|
FILE DESCRIPTORS: 7 open (3 inherited) at exit.
|
|
Open AF_UNIX socket ...: /tmp/sock
|
|
...
|
|
|
|
Open AF_UNIX socket ...: /tmp/sock
|
|
...
|
|
|
|
Open file descriptor ...: /tmp/data2
|
|
...
|
|
|
|
Open file descriptor ...: /tmp/data1
|
|
...
|
|
|
|
Open file descriptor ...: ...
|
|
<inherited from parent>
|
|
|
|
Open file descriptor ...: ...
|
|
<inherited from parent>
|
|
|
|
Open file descriptor ...: /dev/null
|
|
<inherited from parent>
|
|
|
|
|
|
|
|
FILE DESCRIPTORS: 6 open (3 inherited) at exit.
|
|
Open file descriptor ...: /tmp/data2
|
|
...
|
|
|
|
Open file descriptor ...: /tmp/data1
|
|
...
|
|
|
|
Open AF_UNIX socket ...: <unknown>
|
|
...
|
|
|
|
Open file descriptor ...: ...
|
|
<inherited from parent>
|
|
|
|
Open file descriptor ...: ...
|
|
<inherited from parent>
|
|
|
|
Open file descriptor ...: /dev/null
|
|
<inherited from parent>
|
|
|
|
|