diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-10-20 12:08:44 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-10-20 15:46:04 +0200 |
| commit | 9a3bf1a7c7fda81c99ac232e7ff18f60e3ba223a (patch) | |
| tree | 50e029287f2f6406d18678e995a512c4f650ec9f /tools/execprog/execprog.go | |
| parent | 304c1de38905484d6d7ae585cd9a9e97bdfaf28d (diff) | |
open /proc/cover only once in executor
First, it is just not necessary to open it multiple times.
But more importantly a program can close fds that it previosuly used:
r0 = open(...)
close(r0)
close(r0)
and this can close cover fds created in threaded mode.
Diffstat (limited to 'tools/execprog/execprog.go')
0 files changed, 0 insertions, 0 deletions
