summaryrefslogtreecommitdiffstats
path: root/main/nfs-utils/nfs-utils-no-exec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/nfs-utils/nfs-utils-no-exec.patch')
-rw-r--r--main/nfs-utils/nfs-utils-no-exec.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/nfs-utils/nfs-utils-no-exec.patch b/main/nfs-utils/nfs-utils-no-exec.patch
new file mode 100644
index 00000000..94a73d36
--- /dev/null
+++ b/main/nfs-utils/nfs-utils-no-exec.patch
@@ -0,0 +1,13 @@
+--- utils/mount/mount.c Wed Apr 8 09:25:26 2009
++++ utils/mount/mount.c Wed Apr 8 09:25:26 2009
+@@ -407,10 +407,6 @@
+ mount_error(NULL, mount_point, ENOTDIR);
+ return 1;
+ }
+- if (access(mount_point, X_OK) < 0) {
+- mount_error(NULL, mount_point, errno);
+- return 1;
+- }
+
+ return 0;
+ }