diff options
author | Roland McGrath <roland@redhat.com> | 2003-01-24 04:31:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2003-01-24 04:31:20 +0000 |
commit | 4417fda9ba5ca52a7639b73e6fda41af6b372d2d (patch) | |
tree | 28ec340cf536e599fcf7f0fa3424c591744f22e5 /strace.1 | |
parent | 5bd7cf8545631b1e249b6a0ec80e7a5925a3c584 (diff) | |
download | strace-4417fda9ba5ca52a7639b73e6fda41af6b372d2d.tar.gz strace-4417fda9ba5ca52a7639b73e6fda41af6b372d2d.tar.bz2 strace-4417fda9ba5ca52a7639b73e6fda41af6b372d2d.tar.xz |
2003-01-21 Roland McGrath <roland@redhat.com>
* strace.c (main): Grok new option `-E var=val' or `-E var' to put
var=val in environ or to remove var, respectively.
(usage): Mention it.
* strace.1, NEWS: Document it.
Diffstat (limited to 'strace.1')
-rw-r--r-- | strace.1 | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -37,7 +37,7 @@ .fi .sp .. -.TH STRACE 1 "99/06/11" +.TH STRACE 1 "2003-01-21" .SH NAME strace \- trace system calls and signals .SH SYNOPSIS @@ -66,6 +66,14 @@ strace \- trace system calls and signals .BI \-u username ] [ +.BI \-E var=val +] +\&... +[ +.BI \-E var +] +\&... +[ .I command [ .I arg @@ -510,6 +518,17 @@ This option is only useful when running as root and enables the correct execution of setuid and/or setgid binaries. Unless this option is used setuid and setgid programs are executed without effective privileges. +.TP +.BI "\-E " var=val +Run command with +.IR var=val +in its list of environment variables. +.TP +.BI "\-E " var +Remove +.IR var +from the inherited list of environment variables before passing it on to +the command. .SH "SETUID INSTALLATION" If .B strace |