SVNews r327888

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-01-12 19:59:46 - r327888 by markj (markj)

Complete list of files affected by revision r327888:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents     ADD   /head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.jailname.d  
  History   Contents     ADD   /head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/tst.jid.d  
  History   Contents   Diff   MODIFY   /head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_open.c  
  History   Contents   Diff   MODIFY   /head/cddl/usr.sbin/dtrace/tests/common/safety/Makefile  
  History   Contents   Diff   MODIFY   /head/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c  
  History   Contents   Diff   MODIFY   /head/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h  

Commit message:

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

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 1 ms, 6 files printed. Current time is 2018-01-19 20:55:58. All times are in UTC/GMT.