FWIW io_uring does have support for waitid.
https://www.man7.org/linux/man-pages/man3/io_uring_prep_wait...
https://www.man7.org/linux/man-pages/man3/io_uring_prep_wait...
Unfortunately, many operating systems implement waitid() on top of one of the older APIs, meaning the top bits get lost regardless…