Displaying 2 results from an estimated 2 matches for "namei_zone".
2006 Oct 20
1
[patch] Memory leak from namei_zone in an error path in nfsrv_rename
Description:
------------
Memory leak in nfsrv_rename: In nfsrv_rename, every time a VOP_RENAME
operation fails FreeBSD leaks 2 items from the namei_zone which is equal
to 2K of kernel memory.
Filing this as a security issue because a FreeBSD NFS server (versions
4.6.2 to 6.1) can be compromised by exhausting kernel memory if a user
touches this error path many times.
I have tried a simple test case against Freebsd nfs server versions
4.6.2, 5...
2003 Apr 11
14
PATCH: Forcible delaying of UFS (soft)updates
...int stratcalls; /* I/O ops since last buffer sync */
extern TAILQ_HEAD(swqueue, buf) bswlist;
extern TAILQ_HEAD(bqueues, buf) bufqueues[BUFFER_QUEUES];
--- /usr/src/sys.org/sys/vnode.h Sun Dec 29 19:19:53 2002
+++ sys/vnode.h Sat Apr 12 00:06:20 2003
@@ -294,6 +294,9 @@ extern struct vm_zone *namei_zone;
extern int prtactive; /* nonzero to call vprint() */
extern struct vattr va_null; /* predefined null vattr structure */
extern int vfs_ioopt;
+extern int rushjob;
+extern int syncer_maxdelay;
+extern int sync_extdelay;
/*
* Macro/function to check for client cache inconsistency w.r.t. l...