The Samba-Bugzilla – Attachment 5770 Details for
Bug 7473
wrong logic in .../source3/lib/system.c when checking for HAVE_SETGROUPS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for system.c
samba-3.5.3-bug7473.diff (text/plain), 683 bytes, created by
Joachim Schmitz (mail address dead)
on 2010-06-08 07:10:47 UTC
(
hide
)
Description:
patch for system.c
Filename:
MIME Type:
Creator:
Joachim Schmitz (mail address dead)
Created:
2010-06-08 07:10:47 UTC
Size:
683 bytes
patch
obsolete
>diff -u ./source3/lib/system.c.orig ./source3/lib/system.c >--- ./source3/lib/system.c.orig 2010-05-17 06:51:23.000000000 -0500 >+++ ./source3/lib/system.c 2010-05-27 07:13:48.000000000 -0500 >@@ -1201,17 +1205,15 @@ > > int sys_setgroups(gid_t UNUSED(primary_gid), int setlen, gid_t *gidset) > { >-#if !defined(HAVE_SETGROUPS) >- errno = ENOSYS; >- return -1; >-#endif /* HAVE_SETGROUPS */ >- > #if defined(USE_BSD_SETGROUPS) > return sys_bsd_setgroups(primary_gid, setlen, gidset); > #elif defined(HAVE_BROKEN_GETGROUPS) > return sys_broken_setgroups(setlen, gidset); >-#else >+#elif defined(HAVE_SETGROUPS) > return setgroups(setlen, gidset); >+#else >+ errno = ENOSYS; >+ return -1; > #endif > } >
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 Raw
Actions:
View
Attachments on
bug 7473
:
5755
| 5770