Closed jclulow closed 4 years ago
This is great, thanks a ton for your pull request :)
My only input would be to remove the leftover println!
.
Do you happen to know whether there are any CI services that support illumos?
Hey, sorry, got busy after I pushed this. I'll definitely clean up the println this week -- totally missed that!
With respect to CI services, it's something we're working on definitely but not something I have a good answer for right at this moment.
I have removed the errant println!()
and confirmed that the tests still pass on an illumos machine! Thanks again.
Thanks a ton!
This commit adds support for the illumos operating system. We have a proc file system that is somewhat similar to Linux, except that it generally contains binary structures rather than human readable text.
The most relevant illumos manual page is proc(4). You can see the
prmap_t
and associated constants in thesys/procfs.h
header file.I ran the tests, which all pass:
I ran
cargo fmt
and used the style it suggested -- hopefully that is OK! Please let me know if you want any changes.