a1eb150c | 12-Oct-2023 |
Jose Luis Duran <jlduran@gmail.com> |
atf_python: vnet: Use absolute paths within helpers
Usually tests are run in sterile environments; however, there is a slight chance that the PATH overrides the utilities used for testing.
Pedantic
atf_python: vnet: Use absolute paths within helpers
Usually tests are run in sterile environments; however, there is a slight chance that the PATH overrides the utilities used for testing.
Pedantically use absolute paths, even inside VNETs, to avoid ambiguity.
Chiefly, jexec -> /usr/sbin/jexec, and ifconfig -> /sbin/ifconfig.
Reviewed by: markj MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd-src/pull/865
show more ...
|
25c2dd2f | 09-Feb-2023 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation
netlink: return optional metadata with the operation result.
Some operations like interface creation may need to return metadata - in this case, interface name - back to the caller if the operation is successful. This change implements attaching an `NLMSGERR_ATTR_COOKIE` nla to the operation reply message via `nlmsg_report_cookie()`. Additionally, on successful interface creation, interface index and interface name are returned in the `IFLA_NEW_IFINDEX` and `IFLA_IFNAME TLVs, encapsulated in the `NLMSGERR_ATTR_COOKIE`.
Reviewed By: pauamma Differential Revision: https://reviews.freebsd.org/D38283 MFC after: 1 week
show more ...
|