mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.
This commit is contained in:
parent
26b62243ee
commit
bc16e0c467
@ -1,3 +1,7 @@
|
|||||||
|
2009-02-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define.
|
||||||
|
|
||||||
2009-02-06 Ulrich Drepper <drepper@redhat.com>
|
2009-02-06 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
[BZ #7095]
|
[BZ #7095]
|
||||||
|
@ -8,6 +8,13 @@ typedef enum nss_status (*end_function) (void);
|
|||||||
typedef enum nss_status (*get_function) (struct group *, char *,
|
typedef enum nss_status (*get_function) (struct group *, char *,
|
||||||
size_t, int *);
|
size_t, int *);
|
||||||
|
|
||||||
|
/* This file is also used in nscd where __libc_alloca_cutoff is not
|
||||||
|
available. */
|
||||||
|
#ifdef NOT_IN_libc
|
||||||
|
# define __libc_use_alloca(size) ((size) < __MAX_ALLOCA_CUTOFF * 4)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static enum nss_status
|
static enum nss_status
|
||||||
compat_call (service_user *nip, const char *user, gid_t group, long int *start,
|
compat_call (service_user *nip, const char *user, gid_t group, long int *start,
|
||||||
long int *size, gid_t **groupsp, long int limit, int *errnop)
|
long int *size, gid_t **groupsp, long int limit, int *errnop)
|
||||||
|
Loading…
Reference in New Issue
Block a user