Yes, parsing /proc/pid/status is the documented way of getting the UID. That is the...
I did not use documentation for that. I just observed that ls -la /proc/$(pidof unbound)/task...
Incorrect UID reported