Closed viniciuslrangel closed 11 months ago
Thank you for commit, but those enums are declared inside function, it is already best possible safety
What about adding the sysctl name instead of unspec?
unspec is not random name, see sys___sysctl implementation in the FreeBSD
https://github.com/freebsd/freebsd-src/blob/main/sys/sys/sysctl.h#L936
I can't find the unspec, it took me several minutes until I found the source and I was a little frustrated. It was what motivated me to do this commit
OS of PS4 is based on FreeBSD 9.1 https://github.com/freebsd/freebsd-src/blob/releng/9.1/sys/sys/sysctl.h#L421
Oh, I actually forgot to check that. It makes a ton of sense. Thank you for clarifying
Just saying hello to the project while I read the source