lkml.org 
[lkml]   [1999]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] a.out don't exec over NFS
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

--- 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.
\
 
 \ /
  Last update: 2005-03-22 13:50    [from the cache]
©2003-2011 Jasper Spaans