Probing sooptcopyin()

hiren panchasara hiren at strugglingcoder.info
Tue Mar 22 17:16:04 UTC 2016


I find sooptcopyin() failing and want to see how. 

Prototype is
int sooptcopyin(struct sockopt *sopt, void *buf, size_t len, size_t
minlen)

sopt->sopt_val seems to be the value passed in. But that being void *
type, I am not sure how to read it on fbt::sooptcopyin:entry invocation.
I've tried to cast it in a few ways without success along with
copyinstr/stringof.

Any pointers?

Cheers,
Hiren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-dtrace/attachments/20160322/58f86127/attachment.sig>


More information about the freebsd-dtrace mailing list