From owner-cvs-all@FreeBSD.ORG Sun Aug 5 16:33:07 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5434316A41A; Sun, 5 Aug 2007 16:33:07 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6AE13C45B; Sun, 5 Aug 2007 16:33:07 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l75GX7Os019901; Sun, 5 Aug 2007 16:33:07 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l75GX7Qs019900; Sun, 5 Aug 2007 16:33:07 GMT (envelope-from truckman) Message-Id: <200708051633.l75GX7Qs019900@repoman.freebsd.org> From: Don Lewis Date: Sun, 5 Aug 2007 16:33:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/rpc.statd statd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 16:33:07 -0000 truckman 2007-08-05 16:33:06 UTC FreeBSD src repository Modified files: usr.sbin/rpc.statd statd.c Log: The call to init_file() needs to be moved outside the loop in statd.c, otherwise mmap() gets called multiple times, which eventually fails due to address space exhaustion on i386. Approved by: re (kensmith) MFC after: 1 week Revision Changes Path 1.15 +1 -1 src/usr.sbin/rpc.statd/statd.c