summaryrefslogtreecommitdiffstats
path: root/support/export/client.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-04-18 09:43:58 -0400
committerSteve Dickson <steved@redhat.com>2009-04-18 09:43:58 -0400
commit8c94296bc84f3a204f2061c0391a1d2350e4f37e (patch)
tree0ec8b0644473604b8c13ab71f4aebfe36791666f /support/export/client.c
parent41eb279c2f46ca020bc3b8d17811555f74b99d2e (diff)
downloadnfs-utils-8c94296bc84f3a204f2061c0391a1d2350e4f37e.tar.gz
nfs-utils-8c94296bc84f3a204f2061c0391a1d2350e4f37e.tar.xz
nfs-utils-8c94296bc84f3a204f2061c0391a1d2350e4f37e.zip
support: Provide an API for creating a privileged RPC client
We needed to guarantee that some RPC programs, such as PMAP, got an unprivileged port, to prevent exhausting the local privileged port space sending RPC requests that don't need such privileges. nfs_get_rpcclient() provides that feature. However, some RPC programs, such as MNT and UMNT, require a privileged port. So, let's provide an additional API for this that also supports IPv6 and setting a destination port. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/client.c')
0 files changed, 0 insertions, 0 deletions