6b462d2762
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 |
||
---|---|---|
.. | ||
bootparam_prot.x | ||
crypt.x | ||
key_prot.x | ||
klm_prot.x | ||
Makefile | ||
Makefile.depend | ||
mount.x | ||
nfs_prot.x | ||
nis_cache.x | ||
nis_callback.x | ||
nis_db.h | ||
nis_object.x | ||
nis_tags.h | ||
nis.x | ||
nislib.h | ||
nlm_prot.x | ||
pmap_prot.x | ||
rex.x | ||
rnusers.x | ||
rquota.x | ||
rstat.x | ||
rwall.x | ||
sm_inter.x | ||
spray.x | ||
yp_prot.h | ||
yp.x | ||
ypclnt.h | ||
yppasswd.x | ||
ypupdate_prot.x | ||
ypxfrd.x |