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.
diff --git a/strace.1 b/strace.1
index c4f192d..1b85733 100644
--- a/strace.1
+++ b/strace.1
@@ -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 @@
.BI \-u username
]
[
+.BI \-E var=val
+]
+\&...
+[
+.BI \-E var
+]
+\&...
+[
.I command
[
.I arg
@@ -510,6 +518,17 @@
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