POSIX notes:
"The type idtype_t shall be defined as an enumeration type whose
possible values shall include at least the following: P_ALL P_PGID P_PID"
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.htmlFor some reason we copied as-is solaris types into our public headers
with fields that will possibly never apply to NetBSD, such as P_CTID,
P_POOLID etc.
I have got a local use-case for another P_type (premature to discuss it
in this thread) and I would rather recycle an unused value.
Do we plan to get Solaris feature-parity with all the types? I assume
that the answer is NO. If so, can we delete the P_ values that are not
applicable for NetBSD?
If something is used in some compat shim for sunos software (dtrace,
zfs) we could easily add a compat wrapper in the 3rd party code.
Defining the types does not make the features to work.