On Tue, 2010-05-25 at 11:13 +0200, Mark Phalan wrote: ... > Any ideas how I can workaround this when the string being copied in > isn't null terminated?
I've managed to find a solution: data_string = strjoin("@", substr(copyin((uintptr_t)(*((uint32_t *) copyin((uintptr_t)&P->data, sizeof (uint32_t)))), *((uint32_t *) copyin((uintptr_t)&P->length, sizeof (uint32_t)))), 0, *((uint32_t *) copyin((uintptr_t)&P->length, sizeof (uint32_t))))); I'm open to suggestions for something simpler but at least this works. Thanks, -M _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org