overflowgid

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

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