New API: debug-upload (not a formal part of the API/ABI).
authorRichard Jones <rjones@redhat.com>
Mon, 19 Apr 2010 15:31:24 +0000 (16:31 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 19 Apr 2010 15:31:24 +0000 (16:31 +0100)
commit87e49e7e87e570537f04e34178c9c6d2b876c16c
treec117249a0e7196b4e3825b7ef690294de1365311
parent3119aa687d4d594b50ee9df5ff6e8d709eb7ca85
New API: debug-upload (not a formal part of the API/ABI).

Allow arbitrary files to be uploaded into the appliance, but
only when --enable-debug-command is enabled.  This lets you
run shell scripts, like this:

  ><fs> debug-upload -<<EOF /tmp/script.sh 0700
  #!/bin/sh -
  # ...
  EOF
  ><fs> debug sh "/tmp/script.sh"
daemon/debug.c
src/MAX_PROC_NR
src/generator.ml