Paul Macknee wrote:
>> Take a look at the chapter on DTrace privileges:
> 
>> http://wikis.sun.com/display/DTrace/Security
> 
>> Note that stop() can be applied to processes to which you have sufficient
>> privileges to modify.
> 
> Did this change in recent versions of dtrace? I'm not seeing this work: 
> 
>     syscall::fsat:entry /arg0 == 5/ 
>     {
>         stop();
>         printf("%d %s %d %s\n", pid, execname, arg0, copyinstr(arg1));  
>         system("ptree %d", pid);  system("prun  %d", pid);
>     }
> 
>     dtrace: script '/tmp/del.d' matched 1 probe
>     dtrace: could not enable tracing: Destructive actions not allowed

the error message is telling you exactly what's wrong - you need to enable 
destructive operations. This is a DTrace issue, not one of permission.
see the -w option in the man page.

Michael
-- 
Michael Schuster        http://blogs.sun.com/recursion
Recursion, n.: see 'Recursion'
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to