2012/8/16 Mohamed Khalfella <[email protected]>: > First of all, I am not expert in Openindiana but if I were you I would try > using dtrace to show which function get called in response to fchown > syscall (I assume you are not running a highly loaded production system yet > so we can enable fbt:::: safely) > > #!/usr/sbin/dtrace -s > #pragma D option flowindent > > syscall::fchown:entry > /execname == "EXECNAME"/ > { > self->follow = 1; > } > > syscall::fchown:return > { > self->follow = 0; > trace(arg1); > } > > fbt:::entry > /self->follow/ > { > } > > fbt:::return > /self->follow/ > { > trace(arg1); > }
That sounds fun and instructive. I'll see what it gives. Thanks! -f _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
