When converting from a Linux error to a FreeBSD errno, assert that the
value passed in is negative, as is Linux's custom.
Suggested by: brooks
Sponsored by: Netflix
Differential D38357
kboot: Assert errno is negative imp on Feb 2 2023, 8:27 PM. Authored by Tags None Referenced Files
Subscribers
Details
When converting from a Linux error to a FreeBSD errno, assert that the Suggested by: brooks
Diff Detail
Event TimelineComment Actions I'd be tempted to allow 0 so it could be used for standard syscall-like functions, but this is fine. |