]> sourceware.org Git - systemtap.git/commit
PR14245: fix staprun->stapio -F<fd> passing for -A (attach) mode
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 12 Oct 2012 03:26:31 +0000 (23:26 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 12 Oct 2012 03:26:31 +0000 (23:26 -0400)
commit00d577a6ab70ad49453097fbab33e5a62498384d
treebc14241bb96cade8b206f49d16654dea8062cde5
parentc81ec3dd211741287a82768558a3e7b9fe8d2363
PR14245: fix staprun->stapio -F<fd> passing for -A (attach) mode

jistone reported that the recent -F<fd> code was not passing on
a suitable basedir fd to stapio's forked for re-attach (-A) mode.
Make it so.

* staprun.c (init_staprun): In attach_mode, do a dummy
  init_ctl_channel, just to gather a relay_basedir_fd .
staprun/staprun.c
This page took 0.02689 seconds and 5 git commands to generate.