linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] NFS User Namespaces
@ 2020-10-16 12:37 Sargun Dhillon
  2020-10-16 12:37 ` [PATCH v2 1/3] NFS: Use cred from fscontext during fsmount Sargun Dhillon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sargun Dhillon @ 2020-10-16 12:37 UTC (permalink / raw)
  To: J . Bruce Fields, Chuck Lever, Trond Myklebust, Anna Schumaker,
	David Howells
  Cc: Sargun Dhillon, linux-nfs, linux-fsdevel, linux-kernel

This patchset adds some functionality to allow NFS to be used from
NFS namespaces (containers).

Changes since v1:
  * Added samples

Sargun Dhillon (3):
  NFS: Use cred from fscontext during fsmount
  samples/vfs: Split out common code for new syscall APIs
  samples/vfs: Add example leveraging NFS with new APIs and user
    namespaces

 fs/nfs/client.c                        |   2 +-
 fs/nfs/flexfilelayout/flexfilelayout.c |   1 +
 fs/nfs/nfs4client.c                    |   2 +-
 samples/vfs/.gitignore                 |   2 +
 samples/vfs/Makefile                   |   5 +-
 samples/vfs/test-fsmount.c             |  86 +-----------
 samples/vfs/test-nfs-userns.c          | 181 +++++++++++++++++++++++++
 samples/vfs/vfs-helper.c               |  43 ++++++
 samples/vfs/vfs-helper.h               |  55 ++++++++
 9 files changed, 289 insertions(+), 88 deletions(-)
 create mode 100644 samples/vfs/test-nfs-userns.c
 create mode 100644 samples/vfs/vfs-helper.c
 create mode 100644 samples/vfs/vfs-helper.h

-- 
2.25.1


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

end of thread, other threads:[~2020-10-16 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 12:37 [PATCH v2 0/3] NFS User Namespaces Sargun Dhillon
2020-10-16 12:37 ` [PATCH v2 1/3] NFS: Use cred from fscontext during fsmount Sargun Dhillon
2020-10-16 12:37 ` [PATCH v2 2/3] samples/vfs: Split out common code for new syscall APIs Sargun Dhillon
2020-10-16 12:37 ` [PATCH v2 3/3] samples/vfs: Add example leveraging NFS with new APIs and user namespaces Sargun Dhillon

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).