[PATCH] a.out don't exec over NFS

Jan Rekorajski (baggins@hunter.mimuw.edu.pl)
Sun, 7 Mar 1999 20:20:34 +0100


--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii

Hi,
This little patch fixes a bug preventing a.out binaries to be executed
from NFS mounted directories. I know it also chnges default rsize and wsize,
but these two can be changed on mount time and blocksize connot.

I hope this will go in 2.2.3 :)

Jan

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="a.out-over-nfs.patch"

--- linux/include/linux/nfs_fs.h~ Fri Mar 5 23:48:45 1999
+++ linux/include/linux/nfs_fs.h Sun Mar 7 19:14:56 1999
@@ -35,7 +35,7 @@
#define NFS_MAX_DIRCACHE 16

#define NFS_MAX_FILE_IO_BUFFER_SIZE 16384
-#define NFS_DEF_FILE_IO_BUFFER_SIZE 4096
+#define NFS_DEF_FILE_IO_BUFFER_SIZE 1024

/*
* The upper limit on timeouts for the exponential backoff algorithm.

--6TrnltStXW4iwmi0--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/