tester wrote:
I am going to try this
self->r = (struct door_arg *)copyin(arg1,sizeof(struct door_arg));
FYI, copyin() essentially calls alloca() for the buffer it returns, and that buffer will evaporate once the probe exits (ie only safe to assign to 'this')

I think you can work around by declaring a 'self struct door_arg foo' and passing foo's address to copyinto() as the destination.

Regards,
Ryan

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to