Page MenuHomeFreeBSD

xtronom_gmail.com (Martin Vidovic)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 9 2026, 2:07 PM (13 w, 4 d)

Recent Activity

Wed, Sep 9

xtronom_gmail.com accepted D59521: hastd: Use fixed-length protocol names.

Tested on FreeBSD 15.0-RELEASE-p10, it works fine. I don't see any problems with the code.

Wed, Sep 9, 1:19 PM

Tue, Sep 8

xtronom_gmail.com added a comment to D59465: hastd: Support short reads.

proto_connection_send/recv() still use the old return-value semantics, and now narrow the new ssize_t return of proto_common_send/recv() to int.

Tue, Sep 8, 12:10 PM

Mon, Sep 7

xtronom_gmail.com added inline comments to D59465: hastd: Support short reads.
Mon, Sep 7, 11:36 AM

Sun, Sep 6

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

Sorry for the delayed response; I was traveling and the discussion moved faster than I could follow.

Sun, Sep 6, 12:00 PM

Jun 10 2026

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.

Jun 10 2026, 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?

Jun 10 2026, 7:54 AM

Jun 9 2026

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