mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
r23475: Fix the prototype for sys_broken_setgroups and log *BSD group list
truncation a bit more verbosely.
(This used to be commit e3ea997289
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
4caefdf348
commit
274782432b
@ -936,7 +936,7 @@ static int sys_broken_getgroups(int setlen, gid_t *gidset)
|
||||
return ngroups;
|
||||
}
|
||||
|
||||
static int sys_broken_setgroups(gid_t primary_gid, int setlen, gid_t *gidset)
|
||||
static int sys_broken_setgroups(int setlen, gid_t *gidset)
|
||||
{
|
||||
GID_T *group_list;
|
||||
int i ;
|
||||
@ -1019,7 +1019,7 @@ static int sys_bsd_setgroups(gid_t primary_gid, int setlen, const gid_t *gidset)
|
||||
}
|
||||
|
||||
if (setlen > max) {
|
||||
DEBUG(10, ("forced to truncate group list from %d to %d\n",
|
||||
DEBUG(3, ("forced to truncate group list from %d to %d\n",
|
||||
setlen, max));
|
||||
setlen = max;
|
||||
}
|
||||
|
Reference in New Issue
Block a user