注意:The original Linux getuid() and
geteuid() system calls supported only 16-bit user IDs. Subsequently, Linux 2.4 added getuid32() and geteuid32(), supporting 32-bit IDs. The glibc getuid() and geteuid() wrapper functions transparently deal with the variations across kernel versions.
注意: 最初的Linux中,getuid()和geteuid() 系统调用只支持16位用户ID。随后发布的Linux 2.4添加了getuid32()与geteuid32()来支持32位ID。而glibc库的getuid()和geteuid()封装函数则能够处理所有内核版本下的变量,其底层对于用户是透明的。