Bugzilla – Attachment 1407 Details for
Bug 1412
Support for users in more than 16 groups on Mac OS X.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes issue with users in more than 16 groups.
DVG-4694589_16_group_limit_fix.patch (text/plain), 597 bytes, created by
Disco Vince Giffin
on 2007-12-21 15:19:29 AEDT
(
hide
)
Description:
Fixes issue with users in more than 16 groups.
Filename:
MIME Type:
Creator:
Disco Vince Giffin
Created:
2007-12-21 15:19:29 AEDT
Size:
597 bytes
patch
obsolete
>diff -uNr ../openssh-4.5p1.orig/uidswap.c ./uidswap.c >--- ../openssh-4.5p1.orig/uidswap.c 2006-08-04 19:39:41.000000000 -0700 >+++ ./uidswap.c 2007-01-12 19:26:22.000000000 -0800 >@@ -233,6 +239,9 @@ > fatal("setgid %u: %.100s", (u_int)pw->pw_gid, strerror(errno)); > #endif > >+ if (initgroups(pw->pw_name, pw->pw_gid) < 0) >+ fatal("setgid %.100s %u: %.100s", pw->pw_name, (u_int)pw->pw_gid, strerror(errno)); >+ > #if defined(HAVE_SETRESUID) && !defined(BROKEN_SETRESUID) > if (setresuid(pw->pw_uid, pw->pw_uid, pw->pw_uid) < 0) > fatal("setresuid %u: %.100s", (u_int)pw->pw_uid, strerror(errno));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1412
:
1407
|
1592