View | Details | Raw Unified | Return to bug 1113 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac (+1 lines)
Lines 1130-1135 AC_CHECK_FUNCS( \ Link Here
1130
	inet_aton \
1130
	inet_aton \
1131
	inet_ntoa \
1131
	inet_ntoa \
1132
	inet_ntop \
1132
	inet_ntop \
1133
	initgroups \
1133
	innetgr \
1134
	innetgr \
1134
	login_getcapbool \
1135
	login_getcapbool \
1135
	md5_crypt \
1136
	md5_crypt \
(-)openbsd-compat/bsd-misc.c (+16 lines)
Lines 227-229 strdup(const char *str) Link Here
227
	return NULL;
227
	return NULL;
228
}
228
}
229
#endif
229
#endif
230
231
#ifndef HAVE_INITGROUPS
232
int
233
initgroups(const char *user, gid_t group)
234
{
235
	return 0;
236
}
237
#endif
238
239
#ifndef HAVE_SETGROUPS
240
int
241
setgroups(size_t size, const gid_t *list)
242
{
243
	return 0;
244
}
245
#endif
(-)openbsd-compat/bsd-misc.h (+8 lines)
Lines 89-94 int tcsendbreak(int, int); Link Here
89
void unsetenv(const char *);
89
void unsetenv(const char *);
90
#endif
90
#endif
91
91
92
#ifndef HAVE_INITGROUPS
93
int initgroups(const char *, gid_t);
94
#endif
95
96
#ifndef HAVE_SETGROUPS
97
int setgroups(size_t, const gid_t *);
98
#endif
99
92
/* wrapper for signal interface */
100
/* wrapper for signal interface */
93
typedef void (*mysig_t)(int);
101
typedef void (*mysig_t)(int);
94
mysig_t mysignal(int sig, mysig_t act);
102
mysig_t mysignal(int sig, mysig_t act);

Return to bug 1113