]> sourceware.org Git - systemtap.git/commit
PR19873: staprun -o BADFILE -c CMD cleanup
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 27 Mar 2016 18:45:01 +0000 (14:45 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Sun, 27 Mar 2016 18:45:57 +0000 (14:45 -0400)
commit90e6b60db3dd7d5efe3e94df9c75f14860b47264
tree8ec53ae50fc172cf85a8e61a891c11fbea955e16
parent3ddba8ae2bdbbfddb0004886185a4a199e40c412
PR19873: staprun -o BADFILE -c CMD cleanup

* staprun/mainloop.c (start_cmd): Close fd >= 3 to ensure no dangling
  reference to the stap module /.cmd file.  Set an alarm timeout, in
  case the parent process goes away and forgets to send us our SIGUSR
  to exec the CMD.
staprun/mainloop.c
This page took 0.027845 seconds and 5 git commands to generate.