Re: [go-nuts] syscall.SendMsg/RecvMsg

2019-03-16 Thread Janne Snabb
Well, you are obviously stat()ing two completely different files. It is impossible to guess what you are doing wrong because you do not show your code. My crystall ball is not strong enough. Please see: https://github.com/golang/go/wiki/How-to-ask-for-help Have you considered using an existin

[go-nuts] syscall.SendMsg/RecvMsg

2019-03-15 Thread sbezverk
Hello, I am trying to pass a descriptor using syscall.SendMsg/RecvMsg and I noticed that inod for the second process is not the same as original, but according to Unix Networking API, inod should stay the same and only number of reference to inod should be incremented. Anybody successfully