Bug #908
dtrace in the global zone may miss USDT probes in local zones
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.
Updated by Rich Lowe almost 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Resolved in r13352 commit:f1cdd406b7eb