freebsd-src/include/rpcsvc
Konstantin Belousov 6b462d2762 Increase YPMAXRECORD to 16M to be compatible with Linux.
Since YP protocol definition uses the constant to declare
variable-size opaque byte strings, the change should be binary
compatible with existing installations which do not expose keys or
values larger than 1024 bytes.

All uses of local variables with YPMAXRECORD sizes were removed to
avoid insane stack use.  On the other hand, variables with static
lifetime should be fine and only result in increased VA use.

Glibc made same change, increasing the allowed length for keys and
values in YP to 16M, in 2013.

Reviewed by:	markj
Discussed with:	ian
Sponsored by:	Mellanox Technologies
MFC after:	3 weeks
Differential revision:	https://reviews.freebsd.org/D20900
2019-08-12 20:27:33 +00:00
..
bootparam_prot.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
crypt.x
key_prot.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
klm_prot.x include: minor spelling fixes. 2016-04-30 14:43:42 +00:00
Makefile
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
mount.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
nfs_prot.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
nis.x Fix build with rpcgen using a recent (tested with gcc 4.9.1) GNU cpp 2014-10-09 06:58:33 +00:00
nis_cache.x
nis_callback.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
nis_db.h
nis_object.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
nis_tags.h include: further adoption of SPDX licensing ID tags. 2017-11-20 19:45:28 +00:00
nislib.h
nlm_prot.x
pmap_prot.x
rex.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
rnusers.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
rquota.x This exposes ZFS user and group quotas via the normal 2018-07-05 22:56:13 +00:00
rstat.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
rwall.x
sm_inter.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
spray.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
yp.x Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
yp_prot.h Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypclnt.h include: General further adoption of SPDX licensing ID tags. 2017-11-25 17:09:43 +00:00
yppasswd.x Replace Sun RPC license with a 3-clause BSD license. This license change 2013-12-09 04:26:50 +00:00
ypupdate_prot.x
ypxfrd.x Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00