]> sourceware.org Git - systemtap.git/commit
PR11105: robustify stap-server
authorFrank Ch. Eigler <fche@elastic.org>
Fri, 15 Jan 2010 08:06:52 +0000 (03:06 -0500)
committerFrank Ch. Eigler <fche@elastic.org>
Fri, 15 Jan 2010 08:44:54 +0000 (03:44 -0500)
commitcf4a6df840531c1b30f8cfa7d10981d071911b98
tree5b03e917ee3d639acf15c3bdd5b87d34be0fa323
parent9e6bf24eef9d73afbccf9d46fa85a27587d6443b
PR11105: robustify stap-server

* main.cxx (main): Always downgrade client-provided -p5 to -p4.
* stap-client (unpack_response): Sanitize stdout due to same.
* stap-server-connect.c: Eliminate a bunch of globals.
  (handle_connection): Make things locals instead.  Base tmp files
  on $TMPDIR.
  (spawn_and_wait): New helper function.
  (handleRequest): New monster function to inline rest of old
  stap-server-request.
main.cxx
stap-client
stap-server-connect.c
This page took 0.028372 seconds and 5 git commands to generate.