* Use `errors.Is()` for unwrapping errors. * Use `%w` error verb in internal error formatting. Signed-off-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Jeffrey Stoke <me@arhat.dev>
Signed-off-by: yeya24 <yb532204897@gmail.com>
Based on the solaris implementation. There's a lot of other sysctls available on FreeBSD that aren't reported here. It'll be easy to add, if they're useful. All of the sysctls are uint64. Signed-off-by: Derek Marcotte <554b8425@razorfever.net>