Blame sysdeps/mach/hurd/bits/local_lim.h

Packit 6c4009
/* Minimum guaranteed maximum values for system limits.  Hurd version.
Packit 6c4009
   Copyright (C) 1993-2018 Free Software Foundation, Inc.
Packit 6c4009
   This file is part of the GNU C Library.
Packit 6c4009
Packit 6c4009
   The GNU C Library is free software; you can redistribute it and/or
Packit 6c4009
   modify it under the terms of the GNU Lesser General Public
Packit 6c4009
   License as published by the Free Software Foundation; either
Packit 6c4009
   version 2.1 of the License, or (at your option) any later version.
Packit 6c4009
Packit 6c4009
   The GNU C Library is distributed in the hope that it will be useful,
Packit 6c4009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 6c4009
   Lesser General Public License for more details.
Packit 6c4009
Packit 6c4009
   You should have received a copy of the GNU Lesser General Public
Packit 6c4009
   License along with the GNU C Library; if not, see
Packit 6c4009
   <http://www.gnu.org/licenses/>.  */
Packit 6c4009
Packit 6c4009
/* GNU has no arbitrary fixed limits on most of these things, so we
Packit 6c4009
   don't define the macros.  Some things are unlimited.  Some are in
Packit 6c4009
   fact limited but the limit is run-time dependent and fetched with
Packit 6c4009
   `sysconf' or `pathconf'.  */
Packit 6c4009
Packit 6c4009
/* This one value is actually constrained by the `struct dirent'
Packit 6c4009
   layout, in which the `d_namlen' member is only 8 bits wide.  */
Packit 6c4009
Packit 6c4009
#define NAME_MAX	255
Packit 6c4009
Packit 6c4009
/* POSIX.1 requires that we define NGROUPS_MAX (though none of the others
Packit 6c4009
   is required).  GNU allows any number of supplementary groups,
Packit 6c4009
   dynamically allocated.  So we pick a number which seems vaguely
Packit 6c4009
   suitable, and `sysconf' will return a number at least as large.  */
Packit 6c4009
Packit 6c4009
#define NGROUPS_MAX	256
Packit 6c4009
Packit 6c4009
/* The number of data keys per process.  */
Packit 6c4009
#define _POSIX_THREAD_KEYS_MAX	128
Packit 6c4009
Packit 6c4009
/* Controlling the iterations of destructors for thread-specific data.  */
Packit 6c4009
#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS	4
Packit 6c4009
Packit 6c4009
/* The number of threads per process.  */
Packit 6c4009
#define _POSIX_THREAD_THREADS_MAX	64