Summary: | [dtrace] [patch] failed to compile script cddl/contrib/dtracetoolkit/User/setuids.d | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | presto <altusensix> | ||||
Component: | misc | Assignee: | George V. Neville-Neil <gnn> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Some People | CC: | gnn, pstef, skreuzer | ||||
Priority: | --- | Keywords: | patch | ||||
Version: | CURRENT | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
The Dtrace Toolkit is maintained in ports. gnn@ might be interested as well. (In reply to Pedro F. Giffuni from comment #1) I just marked this port as DEPRECATED now that dtracetoolkit is available as part of the base system under contrib/ It's not available in base anymore, since 18849b5d (r300226). |
Created attachment 150643 [details] patch for cddl/contrib/dtracetoolkit/User/setuids.d While trying to run cddl/contrib/dtracetoolkit/User/setuids.d i got error: dtrace: failed to compile script cddl/contrib/dtracetoolkit/User/setuids.d: line 70: t_procp is not a member of struct thread Script is snooping setuid calls and as part of output trying to print parent process name for process that call setuid. As error says t_procp is not a member of struct thread, so i change script to access right structure. * before patch # cddl/contrib/dtracetoolkit/User/setuids.d dtrace: failed to compile script cddl/contrib/dtracetoolkit/User/setuids.d: line 70: t_procp is not a member of struct thread * after patch # cddl/contrib/dtracetoolkit/User/setuids.d UID SUID PPID PID PCMD CMD 0 0 49420 49726 bash sudo -s\0