setgid 的说明是 This function sets both the real and effective group ID of the process to newgid
setgroups 的说明是 This function sets the process’s supplementary group IDs.
请问区别是什么