From owner-cvs-src@FreeBSD.ORG Fri Aug 19 11:09:12 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EE6D16A41F; Fri, 19 Aug 2005 11:09:12 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDF4543D48; Fri, 19 Aug 2005 11:09:11 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j7JB9B4V025385; Fri, 19 Aug 2005 11:09:11 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j7JB9BX9025384; Fri, 19 Aug 2005 11:09:11 GMT (envelope-from pjd) Message-Id: <200508191109.j7JB9BX9025384@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 19 Aug 2005 11:09:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/jls jls.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2005 11:09:12 -0000 pjd 2005-08-19 11:09:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/jls jls.c Log: MFC: usr.sbin/jls/jls.c 1.4,1.5 Not sure why, but SYSCTL_OUT() can sometimes keep returning ENOMEM in sysctl_jail_list(). Because of this, jls(8) could enter into an endless loop. The strange thing is, that we can call jls(8) while the other one is in loop and it will succeed - SYSCTL_OUT() will not return ENOMEM there. Approved by: re (kensmith) Revision Changes Path 1.3.12.1 +17 -11 src/usr.sbin/jls/jls.c