Project

General

Profile

Actions

Bug #908

closed

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

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

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

100%

Estimated time:
Difficulty:
Tags:
Gerrit CR:

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.

Actions

Also available in: Atom PDF