linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix umount.nfs
@ 2009-04-17 20:17 Chuck Lever
       [not found] ` <20090417201021.14555.93852.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Chuck Lever @ 2009-04-17 20:17 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

Hi Steve-

This short series addresses a couple of problems found with
umount.nfs.  See RH bugzilla 492598.

After this series is applied, umount.nfs will send UMNT requests from
a privileged source port.  This appears to match the behavior of
umount.nfs before nfs-utils 1.1.5, and is required when the "secure"
export option is used on the server.

A minor problem with the value returned by nfs_mount_protocol() is
also addressed.  This might affect umount.nfs and NFSv2/v3
version/protocol fallback by sending MNT and UMNT requests using
the wrong transport protocol.

---

Chuck Lever (3):
      umount.nfs: Fix return value of nfs_mount_protocol()
      umount.nfs: Use a privileged port when sending UMNT requests
      support: Provide an API for creating a privileged RPC client


 support/include/nfsrpc.h |   11 +++-
 support/nfs/rpc_socket.c |  140 ++++++++++++++++++++++++++++++++++++++++++++--
 utils/mount/network.c    |    4 +
 3 files changed, 145 insertions(+), 10 deletions(-)

-- 
Chuck Lever <chuck.lever@oracle.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-20 12:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-17 20:17 [PATCH 0/3] Fix umount.nfs Chuck Lever
     [not found] ` <20090417201021.14555.93852.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2009-04-17 20:17   ` [PATCH 1/3] support: Provide an API for creating a privileged RPC client Chuck Lever
2009-04-17 20:17   ` [PATCH 2/3] umount.nfs: Use a privileged port when sending UMNT requests Chuck Lever
2009-04-17 20:17   ` [PATCH 3/3] umount.nfs: Fix return value of nfs_mount_protocol() Chuck Lever
2009-04-20 12:11   ` [PATCH 0/3] Fix umount.nfs Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).