summaryrefslogtreecommitdiffstats
path: root/abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-17 21:20:10 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-17 21:20:10 (GMT)
commit28ad9d98caaf64ea99877869bc8b70ca266e8a4e (patch)
treedd311a27957633e65d777ed1f69eee356c5cc1ef /abs/core/nfs-utils/nfs-utils-1.1.4-no-exec.patch
parentd820a44dd975c325e2ba86d9bd8321c57581340e (diff)
downloadlinhes_pkgbuild-28ad9d98caaf64ea99877869bc8b70ca266e8a4e.zip
linhes_pkgbuild-28ad9d98caaf64ea99877869bc8b70ca266e8a4e.tar.gz
linhes_pkgbuild-28ad9d98caaf64ea99877869bc8b70ca266e8a4e.tar.bz2
nfs-utils: up to latest
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;
+ }