From owner-cvs-all Thu Sep 16 2:20:32 1999 Delivered-To: cvs-all@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 53077150AD; Thu, 16 Sep 1999 02:18:41 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id MAA23294; Thu, 16 Sep 1999 12:18:33 +0300 (EEST) (envelope-from ru) Date: Thu, 16 Sep 1999 12:18:33 +0300 From: Ruslan Ermilov To: Alfred Perlstein 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> References: <199909160202.TAA48555@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199909160202.TAA48555@freefall.freebsd.org>; from Alfred Perlstein on Wed, Sep 15, 1999 at 07:02:16PM -0700 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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