On SunOS gid_t and uid_t are unsigned shorts. On newer OSs like BSDI they're full 32-bit ints. Probably for our purposes a short is good enough...