andrewdavidmackenzie / libproc-rs

A rust library for getting information about running processes for Mac and Linux
MIT License
58 stars 17 forks source link

Create a mapping of OS version to XNU version to variants available #72

Closed andrewdavidmackenzie closed 8 months ago

andrewdavidmackenzie commented 2 years ago

Ass Apple updates darwin, it adds some new variants (flavors) available to some API calls (e.g. proc_pidinfo()).

Create a mapping of XNU version --> What variants available --> What versions of mac os support them

So we can make conditional code on OS versions, and maybe also allow to detect the OS version at runtime and hence check the flavors that can be used in some api calls.

andrewdavidmackenzie commented 8 months ago

Closed via https://github.com/andrewdavidmackenzie/libproc-rs/pull/136