28 Commits

Author SHA1 Message Date
Mark Johnston
4cfcbd1412 7035 string-related subroutines should validate input earlier
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Patrick Mooney <pmooney@pfmooney.com>

illumos/illumos-gate@771e39c3b1
2016-06-06 22:09:22 +00:00
Mark Johnston
934020ae07 7033 ustack helper should fault on bad return values
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Alex Wilson <alex.wilson@joyent.com>

illumos/illumos-gate@a2f72b65eb
2016-06-06 22:07:55 +00:00
Mark Johnston
dd3444a6fa 7034 negative record sizes should be rejected
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Bryan Cantrill <bryan@joyent.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Alex Wilson <alex.wilson@joyent.com>

illumos/illumos-gate@0b8049bfb0
2016-06-06 22:06:45 +00:00
Mark Johnston
8a5970ad28 6734 dtrace_canstore_statvar() fails for some valid static variables
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Bryan Cantrill <bryan@joyent.com>

illumos/illumos-gate@d65f2bb4e5
2016-03-17 18:49:37 +00:00
Mark Johnston
cacc5d622b 6604 harden DIF bounds checking
Author: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>

illumos/illumos-gate@1c0cef67db
2016-03-02 05:43:16 +00:00
Mark Johnston
b8dfc8b08d 6271 dtrace caused excessive fork time
Author: Bryan Cantrill <bryan@joyent.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Gordon Ross <gwr@nexenta.com>

illumos/illumos-gate@7bd3c1d12d
2015-10-08 04:29:39 +00:00
Mark Johnston
e4ab76dbb1 6266 harden dtrace_difo_chunksize() with respect to malicious DIF
illumos/illumos-gate@395c7a3dcf

Reviewed by: Alex Wilson <alex.wilson@joyent.com>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Author: Bryan Cantrill <bryan@joyent.com>
2015-09-30 03:30:24 +00:00
Mark Johnston
05ab362df8 5930 fasttrap_pid_enable() panics when prfind() fails in forking process
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Bryan Cantrill <bryan@joyent.com>

illumos/illumos-gate@9df7e4e12e
2015-05-25 02:32:30 +00:00
Mark Johnston
72d8621e61 3599 dtrace_dynvar tail calls can blow stack
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Bryan Cantrill <bryan@joyent.com>

illumos/illumos-gate@d47448f09a
2015-05-25 02:30:54 +00:00
Xin LI
ca0bb972db 5255 uts shouldn't open-code ISP2
Reviewed by: Marcel Telka <marcel@telka.sk>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

illumos/illumos-gate@de710d24d2
2014-12-05 23:55:44 +00:00
Xin LI
48aeb6148d 5045 use atomic_{inc,dec}_* instead of atomic_add_*
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

illumos/illumos-gate@1a5e258f54
2014-08-20 06:22:59 +00:00
Xin LI
ecc3be1fdf 5042 stop using deprecated atomic functions
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author:	Josef 'Jeff' Sipek <josef.sipek@nexenta.com>

illumos/illumos-gate@75d94465db
2014-08-20 06:15:53 +00:00
Mark Johnston
899505ad7d 4767 dtrace_probe() always has the timestamp
illumos/illumos-gate@82d86f4e8b
2014-06-03 01:58:22 +00:00
Mark Johnston
ced1f492b7 4469 DTrace helper tracing should be dynamic
illumos/illumos-gate@902686d13f
2014-06-03 01:52:05 +00:00
Mark Johnston
b9aa9b1022 4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation is missing checks

illumos/illumos-gate@a386cc11a8
2014-06-03 01:24:46 +00:00
Mark Johnston
4884fa147f 4477 DTrace should speak JSON
illumos/illumos-gate@f497f9fe23
2014-06-03 01:06:31 +00:00
Mark Johnston
5cd3142dc7 2915 DTrace in a zone should see "cpu", "curpsinfo", et al
2916 DTrace in a zone should be able to access fds[]
2917 DTrace in a zone should have limited provider access

illumos/illumos-gate@b0f673c462
2014-06-03 00:55:15 +00:00
Mark Johnston
6ae71ff4db 4478 dtrace_dof_maxsize is far too small
illumos/illumos-gate@d339a29bb4
2014-02-28 01:53:37 +00:00
Andriy Gapon
ff5128b4f5 4427 pid provider rejects probes with valid UTF-8 names
illumos/illumos-gate@1444d846b1
2014-01-16 12:53:01 +00:00
Andriy Gapon
dd120f9e9d 4248 dtrace(1M) should never create DOF with empty probes section
4249 Only probes from the first DTrace object file will be included

illumos/illumos-gate@54a20ab41a
2013-11-20 11:02:18 +00:00
Martin Matuska
aee0fec1fb Update vendor/illumos/dist and vendor-sys/illumos/dist
to illumos-gate 13953:0cc6917308f7

Illumos dtrace issues:
  3529 iostat should display time used by dtrace
2013-02-11 08:07:56 +00:00
Martin Matuska
2bb4512243 Update vendor/illumos/dist and vendor-sys/illumos/dist
to illumos-gate 13939:20e4d8d8da6d

illumos dtrace issues:
  3511 dtrace.c erroneously checks for memory alignment on amd64
2013-02-06 08:17:29 +00:00
Martin Matuska
9de3bb3344 Update vendor-sys/illumos to illumos-gate 13758:23432da34147 (dtrace)
References:
  https://www.illumos.org/issues/3021
  https://www.illumos.org/issues/3022
  https://www.illumos.org/issues/3023
  https://www.illumos.org/issues/3024
  https://www.illumos.org/issues/3025
  https://www.illumos.org/issues/3026

Obtained from:	ssh://anonhg@hg.illumos.org/illumos-gate
2012-08-19 09:21:20 +00:00
Martin Matuska
5bb19a17c0 Update vendor-sys/illumos/dist to pre libzfs_core state
illumos-gate revision 13742:b6bbdd77139c

Obtained from:	ssh://anonhg@hg.illumos.org/illumos-gate
2012-07-18 09:10:54 +00:00
Martin Matuska
af56e8c4b4 Update vendor-sys/opensolaris to last OpenSolaris state (13149:b23a4dab3d50)
Add ZFS bits to vendor-sys/opensolaris

Obtained from:	https://hg.openindiana.org/upstream/oracle/onnv-gate
2012-07-18 08:12:04 +00:00
John Baldwin
35d0e300ef Import newer versions of these files from a 20080410 checkout of
OpenSolaris.  Our local diffs to these files in HEAD already contain all
these changes (and in fact seem to be based on these versions of the files).
It seems the vendor branch just has older versions somehow.
2009-06-18 17:11:24 +00:00
John Baldwin
def81919da Import newer versions of these files from a 20080410 checkout of
OpenSolaris.  Our local diffs to these files in HEAD already contain all
these changes (and in fact seem to be based on these versions of the files).
It seems the vendor branch just has older versions somehow.
2009-06-18 15:57:57 +00:00
John Birrell
a4fec686f2 Vendor import (really!) of the OpenSolaris bits for DTrace. 2008-05-22 07:00:07 +00:00