]> sourceware.org Git - systemtap.git/commit
staprun: reinstate -d '*' operation
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 26 Apr 2016 21:02:33 +0000 (17:02 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 26 Apr 2016 21:10:03 +0000 (17:10 -0400)
commit14a09f02e3d66a5b3c2940815f787779febd1f15
tree238f0a055991f3d57c9859315c2f686ad33d9a33
parent51739ee96dc6315a46f63b952afeb1f047ef3f56
staprun: reinstate -d '*' operation

PR14245 created a new relay_basedir_fd variable, for use when
staprun/stapio passes staprun a file descriptor for the base directory
of the sysfs systemtap-module directory.  (This is necessary in order
to get around 0700 mount-dir permissions.)  This broke staprun -d '*'
operation, since that variable got set (badly) once within the readdir
loop, and thence made actual removes inoperative.  Now we clear out
that variable so each actual module subdirectory will get a good
cleaning.
staprun/staprun.c
This page took 0.028238 seconds and 5 git commands to generate.