Page MenuHomeFreeBSD

xtronom_gmail.com (Martin Vidovic)
User

Projects

User does not belong to any projects.

User Details

User Since
Tue, Jun 9, 2:07 PM (2 w, 2 d)

Recent Activity

Wed, Jun 10

xtronom_gmail.com added a comment to D57511: hastd: fix fd passing over socketpair.

That's why I propose the remove this abstraction as it creates more trouble and obfuscation then benefit, IMHO. What's the point of abstraction if certain protocol calls are immediately short-circuited to a different function and the main sending (or receiving) loop is not entered at all?

Ok, let's hear from Pawel.

Wed, Jun 10, 8:39 PM
xtronom_gmail.com added a comment to D57511: hastd: fix fd passing over socketpair.

I really can't understand how this worked before FreeBSD 15. If one side sends less than 128 bytes, but other side says recv(s, buf, 128, MSG_WAITALL), then the other side shall hang always. I don't remember that my changes to unix(4) in FreeBSD 15 had fixed ignored MSG_WAITALL. Was that some other data sent after that woke up the receiver?

Wed, Jun 10, 7:54 AM

Tue, Jun 9

xtronom_gmail.com requested review of D57511: hastd: fix fd passing over socketpair.
Tue, Jun 9, 4:23 PM