It's trivial to find file path by file descriptor: fds[fd].fi_pathname.
Is there a place where I can get socket address in case fd corresponds to a 
socket?
I'd like to intercept read/write syscalls and print file names or socket 
addresses for each read/write.

Thanks!
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to