rpc: Fix xdr_* macros and limit buffer sizes.
commit65ebff40bad065cba7ef5daf1c3c241e91d349af
authorzrj <rimvydas.jasinskas@gmail.com>
Tue, 30 Jan 2018 07:02:49 +0000 (30 09:02 +0200)
committerzrj <zrj@dragonflybsd.org>
Fri, 2 Feb 2018 09:07:24 +0000 (2 11:07 +0200)
tree28166c5cb3ece1e1ad608ca946a6beccf45d6354
parentb90fe988702088dfd014c7ad3c7008cbf908478c
rpc: Fix xdr_* macros and limit buffer sizes.

While there, constify few things.

Taken-from: FreeBSD
include/rpc/rpcent.h
include/rpc/xdr.h
lib/libc/rpc/clnt_simple.c
lib/libc/rpc/getrpcent.3
lib/libc/rpc/getrpcent.c
lib/libc/rpc/rpc_callmsg.c
lib/libc/rpc/rpc_prot.c
lib/libc/rpc/rpcb_prot.c
lib/libc/rpc/rpcb_st_xdr.c
usr.sbin/rpcbind/rpcb_svc_com.c