glibc/sunrpc
Martin Sebor c5db00dc30 sunrpc: Adjust RPC function declarations to match Sun's (bug 26686]
Building Glibc with the latest GCC 11 shows a number of instances
of the new -Warray-parameter warning designed to encourage
consistency in the forms of array arguments in redeclarations of
the same function (and, ultimately, to enable the detection of out
of bounds accesses via such arguments).

To avoid the subset of these warnings for the RPC APIs, this patch
changes the declarations of these functions to match both their
definitions and the Oracle RPC documentation.

Besides avoiding the -Warray-parameter warnings the effect of this
change is for GCC to issue warnings when either the functions are
passed an array with fewer than MAXNETNAMELEN + 1 elements, or when
the functions themselves access elements outside the array bounds.
2020-10-08 12:53:09 -06:00
..
rpc sunrpc: Adjust RPC function declarations to match Sun's (bug 26686] 2020-10-08 12:53:09 -06:00
auth_des.c Change most internal uses of __gettimeofday to __clock_gettime. 2019-10-30 17:04:10 -03:00
auth_none.c
auth_unix.c Change most internal uses of __gettimeofday to __clock_gettime. 2019-10-30 17:04:10 -03:00
authdes_prot.c
authuxprot.c
clnt_gen.c
clnt_perr.c sunrpc: Turn clnt_sperrno into a libc_hidden_nolink_sunrpc symbol 2020-07-07 20:19:57 +02:00
clnt_raw.c
clnt_simp.c
clnt_tcp.c
clnt_udp.c
clnt_unix.c
create_xid.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
des_crypt.c
des_impl.c
des_soft.c
get_myaddr.c
getrpcport.c sunrpc: Do not export getrpcport by default 2020-07-07 20:19:57 +02:00
key_call.c sunrpc: Do not export key handling hooks by default 2020-07-07 20:19:57 +02:00
key_prot.c
Makefile Remove --enable-obsolete-rpc configure flag 2020-07-13 19:36:35 +02:00
netname.c sunrpc: Adjust RPC function declarations to match Sun's (bug 26686] 2020-10-08 12:53:09 -06:00
openchild.c
pm_getmaps.c
pm_getport.c
pmap_clnt.c
pmap_prot2.c
pmap_prot.c
pmap_rmt.c
publickey.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rpc_cmsg.c
rpc_common.c sunrpc: Remove hidden aliases for global data symbols (bug 26210) 2020-07-08 08:39:39 +02:00
rpc_dtable.c
rpc_gethostbyname.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rpc_prot.c
rpc_thread.c
rtime.c
svc_auth.c
svc_authux.c
svc_raw.c
svc_run.c
svc_simple.c
svc_tcp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
svc_udp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
svc_unix.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
svc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
svcauth_des.c Change most internal uses of __gettimeofday to __clock_gettime. 2019-10-30 17:04:10 -03:00
test-rpcent.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
thrsvc.c
tst-getmyaddr.c
tst-svc_register.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-udp-error.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-udp-garbage.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-udp-nonblocking.c sunrpc/tst-udp-*: Fix timeout value 2020-05-16 19:34:48 +02:00
tst-udp-timeout.c sunrpc/tst-udp-*: Fix timeout value 2020-05-16 19:34:48 +02:00
tst-xdrmem2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-xdrmem.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions
xcrypt.c
xdr_array.c
xdr_float.c
xdr_intXX_t.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
xdr_mem.c
xdr_rec.c
xdr_ref.c
xdr_sizeof.c
xdr_stdio.c
xdr.c