overflowuid

If your architecture didn't always support 32-bit UIDs, a fixed UID will be returned to applications that use the old 16-bit UID system calls, if the actual UID would exceed 65535.

This sysctl allows you to change the value of the fixed UID. The default is 65534.