aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2018-01-12 19:59:46 +0000
committerMark Johnston <markj@FreeBSD.org>2018-01-12 19:59:46 +0000
commit224e0c2f61307308a0bd951960e2eb50b4c1bbf4 (patch)
tree0453866d383f8fe603e55d71b9337034ffb89273 /cddl/usr.sbin
parent44c1484a53ed1a5f3ee51bd9476d25ce3178aea6 (diff)
downloadsrc-224e0c2f61307308a0bd951960e2eb50b4c1bbf4.tar.gz
src-224e0c2f61307308a0bd951960e2eb50b4c1bbf4.zip
Add "jid" and "jailname" variables to DTrace.
These return the jail ID and jail name for the traced process, respectively, and are analogous to "zonename" on Solaris/illumos. "zonename" is now aliased to "jailname". Also add some stress tests for the new variables. Submitted by: Domagoj Stolfa <domagoj.stolfa@gmail.com> Reviewed by: dteske (previous version) MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D13877
Notes
Notes: svn path=/head/; revision=327888
Diffstat (limited to 'cddl/usr.sbin')
-rw-r--r--cddl/usr.sbin/dtrace/tests/common/safety/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/usr.sbin/dtrace/tests/common/safety/Makefile b/cddl/usr.sbin/dtrace/tests/common/safety/Makefile
index 5056260d0621..51b302fd3ad7 100644
--- a/cddl/usr.sbin/dtrace/tests/common/safety/Makefile
+++ b/cddl/usr.sbin/dtrace/tests/common/safety/Makefile
@@ -19,6 +19,8 @@ ${PACKAGE}FILES= \
tst.gid.d \
tst.hton.d \
tst.index.d \
+ tst.jailname.d \
+ tst.jid.d \
tst.msgdsize.d \
tst.msgsize.d \
tst.null.d \