aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-12-03 16:57:28 +0000
committerMark Johnston <markj@FreeBSD.org>2017-12-03 16:57:28 +0000
commit04006780d971673467eb40dcc7a8cddad50acf22 (patch)
treee5d603a36c1cd5a56740da777aa9fe85118758f3 /cddl/usr.sbin
parent5577b8a709c072fedc73dde9b3ad730699438bf7 (diff)
downloadsrc-04006780d971673467eb40dcc7a8cddad50acf22.tar.gz
src-04006780d971673467eb40dcc7a8cddad50acf22.zip
Complete support for dtrace's -x setenv option.
This allows one to override the environment for processes created with dtrace -c. By default, the environment is inherited. This support was originally merged from illumos in r249367 but was lost when the commit was later reverted and then brought back piecemeal. Reported by: Samuel Lepetit <slepetit@apple.com> MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=326499
Diffstat (limited to 'cddl/usr.sbin')
-rw-r--r--cddl/usr.sbin/dtrace/tests/common/Makefile1
-rw-r--r--cddl/usr.sbin/dtrace/tests/common/probes/Makefile1
-rw-r--r--cddl/usr.sbin/dtrace/tests/common/speculation/Makefile1
3 files changed, 1 insertions, 2 deletions
diff --git a/cddl/usr.sbin/dtrace/tests/common/Makefile b/cddl/usr.sbin/dtrace/tests/common/Makefile
index 4c0ad4b50bdb..c395269e7aa9 100644
--- a/cddl/usr.sbin/dtrace/tests/common/Makefile
+++ b/cddl/usr.sbin/dtrace/tests/common/Makefile
@@ -19,6 +19,7 @@ TESTS_SUBDIRS+= aggs \
drops \
dtraceUtil \
end \
+ env \
enum \
error \
exit \
diff --git a/cddl/usr.sbin/dtrace/tests/common/probes/Makefile b/cddl/usr.sbin/dtrace/tests/common/probes/Makefile
index 4adb82857b08..7e02b9a73900 100644
--- a/cddl/usr.sbin/dtrace/tests/common/probes/Makefile
+++ b/cddl/usr.sbin/dtrace/tests/common/probes/Makefile
@@ -35,5 +35,4 @@ CFILES= \
tst.probestar.c \
-
.include "../../dtrace.test.mk"
diff --git a/cddl/usr.sbin/dtrace/tests/common/speculation/Makefile b/cddl/usr.sbin/dtrace/tests/common/speculation/Makefile
index eb871e9585e7..5afee0225e89 100644
--- a/cddl/usr.sbin/dtrace/tests/common/speculation/Makefile
+++ b/cddl/usr.sbin/dtrace/tests/common/speculation/Makefile
@@ -70,7 +70,6 @@ ${PACKAGE}FILES= \
TESTEXES= \
tst.NoSpecBuffer.exe \
-
CFILES= \