Date: Tue, 16 Dec 2014 11:55:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196025] New: [dtrace] [patch] failed to compile script cddl/contrib/dtracetoolkit/User/setuids.d Message-ID: <bug-196025-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196025 Bug ID: 196025 Summary: [dtrace] [patch] failed to compile script cddl/contrib/dtracetoolkit/User/setuids.d Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: altusensix@gmail.com Created attachment 150643 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150643&action=edit 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 -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196025-8>