diff options
Diffstat (limited to 'net-fs/nfs-utils/files/nfs-utils-1.1.4-no-exec.patch')
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-1.1.4-no-exec.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-fs/nfs-utils/files/nfs-utils-1.1.4-no-exec.patch b/net-fs/nfs-utils/files/nfs-utils-1.1.4-no-exec.patch new file mode 100644 index 000000000000..ea50a21d85dc --- /dev/null +++ b/net-fs/nfs-utils/files/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; + } |