freebsd-skq/include
brooks 8ccec35d90 Reduce NL_ARGMAX to 4096 to match Linux.
NL_ARGMAX is the maximum number of positional arguments supported by
printf(3). Prior to r308145 it was declared as 99 and not enforced.
r308145 added enforcement and increased the value to 64k.

Unfortunately, development versions of PostgreSQL used the system
definition to allocate and zero an NL_ARGMAX * 4 sized array on the
stack of its snprintf implementation with measurable performance
impacts. This has been fixed in new PostgreSQL versions, but it is
possible that other programs suffer from this problem.

A value of 4096 puts us on par with Linux and is certainly large enough
for any reasonable program.

Reviewed by:	mjg
Reported by:	mjg
Approved by:	re (gjb)
Differential revision:	https://reviews.freebsd.org/D17387
Differential revision:	https://reviews.freebsd.org/D8286
2018-10-04 21:55:58 +00:00
..
arpa
gssapi
protocols
rpc
rpcsvc
xlocale
_ctype.h
a.out.h
ar.h
assert.h
bitstring.h
complex.h msun: add ld80/ld128 powl, cpow, cpowf, cpowl from openbsd 2018-07-15 00:23:10 +00:00
cpio.h
ctype.h
db.h
dirent.h
dlfcn.h
elf-hints.h
elf.h
err.h
fmtmsg.h
fnmatch.h
fstab.h
fts.h
ftw.h
getopt.h
glob.h
grp.h
gssapi.h
hesiod.h
iconv.h
ieeefp.h
ifaddrs.h
inttypes.h
iso646.h
kenv.h
langinfo.h
libgen.h
limits.h Reduce NL_ARGMAX to 4096 to match Linux. 2018-10-04 21:55:58 +00:00
link.h
locale.h
Makefile Handle -DNO_ROOT for make compat in include/ 2018-08-23 18:18:52 +00:00
Makefile.depend
malloc_np.h
malloc.h
memory.h
mk-osreldate.sh
monetary.h
mpool.h
mqueue.h
ndbm.h
netconfig.h
netdb.h
nl_types.h
nlist.h
nss.h
nsswitch.h
paths.h
printf.h
proc_service.h
pthread_np.h Add pthread_get_name_np(3). 2018-08-17 18:34:07 +00:00
pthread.h POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pwd.h
ranlib.h
readpassphrase.h
regex.h
res_update.h
resolv.h
runetype.h
search.h
semaphore.h
setjmp.h
signal.h
spawn.h
stab.h
stdalign.h
stdbool.h
stddef.h
stdio.h
stdlib.h Remove arc4random_stir and arc4random_addrandom from stdlib.h. 2018-08-26 18:04:54 +00:00
stdnoreturn.h
string.h
stringlist.h
strings.h
sysexits.h
tar.h
termios.h
tgmath.h
time.h Fix C11 and POSIX 1003.1b-1993 compliance in time.h 2018-09-18 15:31:24 +00:00
timeconv.h
timers.h
ttyent.h
uchar.h
ulimit.h
unistd.h Add a missed chunk r335939. 2018-07-08 15:48:47 +00:00
unwind.h
utime.h
utmpx.h
uuid.h
varargs.h
wchar.h
wctype.h
wordexp.h
xlocale.h