Compat part for running Linux binaries with Netlink ( D36002 ).
Details
Details
- Reviewers
dchagin - Group Reviewers
Linux Emulation - Commits
- rGc1c40c8627a0: linuxolator: add netlink support
rG7c40e2d5f685: linuxolator: add netlink support
Please see testing section in D36002.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
mostly style, thank you! tested with 2.35 glibc tests suite, inet tests completed!
sys/compat/linux/linux_netlink.c | ||
---|---|---|
32 | I suggest to add an empty line here | |
61 | style, blank line, and in many functions below | |
121 | unnecessary parentheses | |
131 | the same here | |
167 | may be use return (netlink_family != NETLINK_ROUTE ? hdr : | |
184 | blank line | |
186 | if (out_hdr != NULL) memcpy(out_hdr, hdr, hdr->nlmsg_len); return (out_hdr != NULL); ? | |
219 | the same as above | |
235 | unnecessary parentheses | |
386 | unnecessary parentheses |