summaryrefslogtreecommitdiffstats
path: root/abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch')
-rw-r--r--abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch b/abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch
new file mode 100644
index 0000000..ea50a21
--- /dev/null
+++ b/abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch
@@ -0,0 +1,15 @@
+ripped from Debian
+
+--- nfs-utils-1.1.2/utils/mount/mount.c
++++ nfs-utils-1.1.2/utils/mount/mount.c
+@@ -381,10 +381,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;
+ }