Project

General

Profile

Bug #908

dtrace in the global zone may miss USDT probes in local zones

Added by Rich Lowe over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2011-04-17
Due date:
% Done:

100%

Estimated time:
Difficulty:
Tags:

Description

Joyent fixed a bug with cross-zone USDT probes, we should incorporate their fix

dtrace_enabling_matchall() is run in the context of the process containing the probe (the NGZ), but performs permission checks as if it were in the context of the the consuming process (the GZ), leading it to miss new USDT probes in the NGZ. The permission check needs to decide visibility based on the permissions of the enabling, rather than the zone in which the current process is operating.

History

#1

Updated by Rich Lowe over 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Resolved in r13352 commit:f1cdd406b7eb

Also available in: Atom PDF