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    [W:0.049 / U:1.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site