From: Weston Andros Adamson Date: Fri, 18 Oct 2013 19:15:19 +0000 (-0400) Subject: NFS: add support for multiple sec= mount options X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~60^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d4b69dd847a098cdca341c45326f6c6f61b8691;p=pandora-kernel.git NFS: add support for multiple sec= mount options This patch adds support for multiple security options which can be specified using a colon-delimited list of security flavors (the same syntax as nfsd's exports file). This is useful, for instance, when NFSv4.x mounts cross SECINFO boundaries. With this patch a user can use "sec=krb5i,krb5p" to mount a remote filesystem using krb5i, but can still cross into krb5p-only exports. New mounts will try all security options before failing. NFSv4.x SECINFO results will be compared against the sec= flavors to find the first flavor in both lists or if no match is found will return -EPERM. Signed-off-by: Weston Andros Adamson Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed