From owner-cvs-all Wed Sep 15 19: 2:18 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D9A94153A9; Wed, 15 Sep 1999 19:02:16 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Received: (from alfred@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA48555; Wed, 15 Sep 1999 19:02:16 -0700 (PDT) (envelope-from alfred@FreeBSD.org) Message-Id: <199909160202.TAA48555@freefall.freebsd.org> From: Alfred Perlstein Date: Wed, 15 Sep 1999 19:02:16 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_cache.c vfs_subr.c src/sys/sys vnode.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message