Page MenuHomeFreeBSD

Make linux(4) use kern_socketpair(9)
ClosedPublic

Authored by trasz on Dec 14 2019, 1:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 17, 7:28 AM
Unknown Object (File)
Wed, Apr 16, 12:55 AM
Unknown Object (File)
Mon, Apr 14, 12:49 AM
Unknown Object (File)
Feb 28 2025, 1:18 AM
Unknown Object (File)
Feb 24 2025, 1:51 AM
Unknown Object (File)
Feb 23 2025, 4:37 AM
Unknown Object (File)
Feb 21 2025, 8:19 AM
Unknown Object (File)
Feb 17 2025, 5:28 AM
Subscribers

Details

Summary

Make linux(4) use kern_socketpair(9) instead of going through
sys_socketpair(). It's a cleanup; no functional changes.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28152
Build 26287: arc lint + arc unit

Event Timeline

sys/compat/linux/linux_socket.c
758

Wrong indent.

770

else is not needed. Is this correct, in fact ?

776

Extra empty line.

782

Same.

Fix things pointed out by kib@.

kib added inline comments.
sys/compat/linux/linux_socket.c
766

Does this sentence in comment still makes sense ?

While there, remove the blank line before the comment.

775

sizeof(sv) is better IMO.

This revision is now accepted and ready to land.Jan 14 2020, 7:45 PM