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 Passed - Unit
No Test Coverage - Build Status
Buildable 47241 Build 44128: arc lint + arc unit
Event Timeline
Comment Actions
mostly style, thank you! tested with 2.35 glibc tests suite, inet tests completed!
| sys/compat/linux/linux_netlink.c | ||
|---|---|---|
| 31 | I suggest to add an empty line here | |
| 60 | style, blank line, and in many functions below | |
| 120 | unnecessary parentheses | |
| 130 | the same here | |
| 166 | may be use return (netlink_family != NETLINK_ROUTE ? hdr : | |
| 183 | blank line | |
| 185 | if (out_hdr != NULL) memcpy(out_hdr, hdr, hdr->nlmsg_len); return (out_hdr != NULL); ? | |
| 218 | the same as above | |
| 234 | unnecessary parentheses | |
| 385 | unnecessary parentheses | |