diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-05-06 16:17:40 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2015-05-06 16:17:40 -0400 |
commit | e69eaaf93626e87dd93b345e1c84ffdd6c66ce6c (patch) | |
tree | a50fcc23e72566d4c5198d44dc54223e95699363 /utils | |
parent | d57c433481c7ee5fc50a186188f9c205d16746c1 (diff) | |
download | nfs-utils-e69eaaf93626e87dd93b345e1c84ffdd6c66ce6c.tar.gz nfs-utils-e69eaaf93626e87dd93b345e1c84ffdd6c66ce6c.tar.xz nfs-utils-e69eaaf93626e87dd93b345e1c84ffdd6c66ce6c.zip |
security information number as, 1 1 0 0
It's caused by commit 4a1ad4aa30,
"mountd: Enable all auth flavors on pseudofs exports"
This patch removes duplicate secinfo and invalid secinfo (zero).
Acked-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mountd/v4root.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/mountd/v4root.c b/utils/mountd/v4root.c index 429ebb8..d521725 100644 --- a/utils/mountd/v4root.c +++ b/utils/mountd/v4root.c @@ -69,6 +69,9 @@ set_pseudofs_security(struct exportent *pseudo, int flags) for (flav = flav_map; flav < flav_map + flav_map_size; flav++) { struct sec_entry *new; + if (!flav->fnum) + continue; + i = secinfo_addflavor(flav, pseudo); new = &pseudo->e_secinfo[i]; |