Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 1999 12:18:33 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        Alfred Perlstein <alfred@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/kern vfs_cache.c vfs_subr.c src/sys/sys vnode.h
Message-ID:  <19990916121833.E13108@relay.ucb.crimea.ua>
In-Reply-To: <199909160202.TAA48555@freefall.freebsd.org>; from Alfred Perlstein on Wed, Sep 15, 1999 at 07:02:16PM -0700
References:  <199909160202.TAA48555@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 15, 1999 at 07:02:16PM -0700, Alfred Perlstein wrote:
> alfred      1999/09/15 19:02:16 PDT
> 
>   Modified files:        (Branch: RELENG_3)
>     sys/kern             vfs_cache.c vfs_subr.c 
>     sys/sys              vnode.h 
>   Log:
>   Limit aliases to a vnode in the namecache to a sysctl tunable
>   'vfs.cache.maxaliases'  This protects against a DoS via thousands
>   of hardlinks to a file wiring down all kernel memory.
>   
>   Approved by:	jkh
>   
>   Revision  Changes    Path
>   1.38.2.3  +11 -1     src/sys/kern/vfs_cache.c
>   1.182.2.3 +2 -1      src/sys/kern/vfs_subr.c
>   1.80.2.3  +3 -2      src/sys/sys/vnode.h
> 
And 'vfs.cache.maxaliases' defaults to 4.

-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		FreeBSD committer,
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990916121833.E13108>