mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 09:30:06 +00:00
faf10b955b
(pmap_getport): Use it to open a non-reserved socket to the portmapper for TCP. * include/rpc/pmap_clnt.h (__get_socket): Declare. * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an non-reserved socket for the portmapper. range to even lower ports.
13 lines
288 B
C
13 lines
288 B
C
#ifndef _RPC_PMAP_CLNT_H
|
|
# include <sunrpc/rpc/pmap_clnt.h>
|
|
|
|
libc_hidden_proto (pmap_getport)
|
|
libc_hidden_proto (pmap_set)
|
|
libc_hidden_proto (pmap_unset)
|
|
|
|
/* Defined in pm_getport.c. */
|
|
extern int __get_socket (struct sockaddr_in *saddr)
|
|
attribute_hidden internal_function;
|
|
|
|
#endif
|