summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2013-03-01 19:06:11 +0100
committerPino Toscano <toscano.pino@tiscali.it>2013-03-01 19:06:11 +0100
commit523a01e93db829290b9f304fb31e5fe001ca2418 (patch)
tree202592ac311fc0ff0e5ca80184c593451cbe33a5 /pfinet
parent757b6bf6feb3f1aba3d882f5dbe3b8b850f05294 (diff)
rpctrace: implement -E
Add a -E option to rpctrace, much like its strace's equivalent, to add/change/unset environment variables among the ones inherited by the process. Implements the savannah task #9331. * utils/rpctrace.c: Include <envz.h>. (options): Add the 'E' option. (parse_opt) <'E'>: Handle case. Create ENVZ from ENVP, and change it according to ARG. (main): Create CMD_ENVP from ENVZ if not null, or assign ENVP to it. Pass CMD_ENVP to traced_spawn.
Diffstat (limited to 'pfinet')
0 files changed, 0 insertions, 0 deletions