Page MenuHomeFreeBSD

Make linux(4) use kern_socketpair(9)
ClosedPublic

Authored by trasz on Dec 14 2019, 1:03 PM.
Tags
None
Referenced Files
F110345779: D22814.diff
Mon, Feb 17, 3:27 AM
Unknown Object (File)
Sun, Jan 26, 6:28 PM
Unknown Object (File)
Sat, Jan 18, 5:43 PM
Unknown Object (File)
Sat, Jan 18, 5:14 PM
Unknown Object (File)
Jan 11 2025, 10:28 PM
Unknown Object (File)
Jan 9 2025, 7:53 PM
Unknown Object (File)
Dec 5 2024, 1:56 PM
Unknown Object (File)
Nov 17 2024, 4:03 PM
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 28662
Build 26688: arc lint + arc unit

Event Timeline

sys/compat/linux/linux_socket.c
758

Wrong indent.

769–770

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

775

Extra empty line.

781

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.

774

sizeof(sv) is better IMO.

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