rpms/autofs/devel autofs-5.0.1-rc2-disallow-multiple-indirect-mounts.patch, NONE, 1.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Thu Dec 7 04:23:32 UTC 2006
Author: ikent
Update of /cvs/dist/rpms/autofs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30091
Added Files:
autofs-5.0.1-rc2-disallow-multiple-indirect-mounts.patch
Log Message:
- thought I added this, but apparently not.
autofs-5.0.1-rc2-disallow-multiple-indirect-mounts.patch:
CHANGELOG | 1 +
lib/master_parse.y | 7 +++++++
2 files changed, 8 insertions(+)
--- NEW FILE autofs-5.0.1-rc2-disallow-multiple-indirect-mounts.patch ---
diff --git a/CHANGELOG b/CHANGELOG
index f5f9efb..1d12402 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -44,6 +44,7 @@
- alter nfs4 host probing to not use portmap lookup and add options
check for "port=" parameter.
- correct semantics of "-null" map handling.
+- remove ability to use multiple indirect mount entries in master map.
1/9/2006 autofs-5.0.1 rc2
-------------------------
diff --git a/lib/master_parse.y b/lib/master_parse.y
index e0af295..0fa639c 100644
--- a/lib/master_parse.y
+++ b/lib/master_parse.y
@@ -565,6 +565,13 @@ int master_parse_entry(const char *buffe
return 0;
}
entry = new;
+ } else {
+ if (strcmp(path, "/-")) {
+ warn(LOGOPT_VERBOSE,
+ "ignoring duplicate indirect mount %s", path);
+ local_free_vars();
+ return 0;
+ }
}
if (!entry->ap) {
More information about the fedora-cvs-commits
mailing list