kernels/linux-2.6.24/kernel/sys.c
/*
 * Check whether we're fsgid/egid or in the supplemental group..
 */
Check whether we're fsgid/egid or in the supplemental group
Check whether we ' re fsgid / egid or in the supplemental group
int in_group_p(gid_t grp)
{
	int retval = 1;
	if (grp != current->fsgid)
		retval = groups_search(current->group_info, grp);
	return retval;
}
int in_group_p ( gid_t grp ) { int retval = 1 ; if ( grp != current -> fsgid ) retval = groups_search ( current -> group_info , grp ) ; return retval ; }
Check whether we're fsgid/egid or in the supplemental group..
Check whether we ' re fsgid / egid or in the supplemental group ..