procps reports the "effective user id", not the "real user id" (by design). The /proc fhandler returns the wrong effective user id (see for yourself by cat'ing /proc/status, the effective user id is the second number after Uid:). Therefore the bug is in the /proc fhandler.
Chris
