Bugzilla – Attachment 1027 Details for
Bug 1113
Add Interix authentication support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add null implementations of initgroups and setgroups
openssh-initgroups.patch (text/plain), 1.74 KB, created by
Darren Tucker
on 2005-11-06 18:50:37 AEDT
(
hide
)
Description:
add null implementations of initgroups and setgroups
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-11-06 18:50:37 AEDT
Size:
1.74 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v >retrieving revision 1.303 >diff -u -p -r1.303 configure.ac >--- configure.ac 25 Oct 2005 08:38:34 -0000 1.303 >+++ configure.ac 6 Nov 2005 07:38:49 -0000 >@@ -1130,6 +1130,7 @@ AC_CHECK_FUNCS( \ > inet_aton \ > inet_ntoa \ > inet_ntop \ >+ initgroups \ > innetgr \ > login_getcapbool \ > md5_crypt \ >Index: openbsd-compat/bsd-misc.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/bsd-misc.c,v >retrieving revision 1.28 >diff -u -p -r1.28 bsd-misc.c >--- openbsd-compat/bsd-misc.c 1 Nov 2005 22:07:31 -0000 1.28 >+++ openbsd-compat/bsd-misc.c 6 Nov 2005 07:45:26 -0000 >@@ -227,3 +227,19 @@ strdup(const char *str) > return NULL; > } > #endif >+ >+#ifndef HAVE_INITGROUPS >+int >+initgroups(const char *user, gid_t group) >+{ >+ return 0; >+} >+#endif >+ >+#ifndef HAVE_SETGROUPS >+int >+setgroups(size_t size, const gid_t *list) >+{ >+ return 0; >+} >+#endif >Index: openbsd-compat/bsd-misc.h >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/bsd-misc.h,v >retrieving revision 1.18 >diff -u -p -r1.18 bsd-misc.h >--- openbsd-compat/bsd-misc.h 25 Feb 2005 23:07:38 -0000 1.18 >+++ openbsd-compat/bsd-misc.h 6 Nov 2005 07:45:12 -0000 >@@ -89,6 +89,14 @@ int tcsendbreak(int, int); > void unsetenv(const char *); > #endif > >+#ifndef HAVE_INITGROUPS >+int initgroups(const char *, gid_t); >+#endif >+ >+#ifndef HAVE_SETGROUPS >+int setgroups(size_t, const gid_t *); >+#endif >+ > /* wrapper for signal interface */ > typedef void (*mysig_t)(int); > mysig_t mysignal(int sig, mysig_t act);
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 1113
:
1021
| 1027