From owner-cvs-src@FreeBSD.ORG Fri Oct 8 21:15:22 2004 Return-Path: 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 1706916A4CE; Fri, 8 Oct 2004 21:15:22 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC1443D39; Fri, 8 Oct 2004 21:15:21 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i98LFLIi034966; Fri, 8 Oct 2004 21:15:21 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i98LFLMU034965; Fri, 8 Oct 2004 21:15:21 GMT (envelope-from glebius) Message-Id: <200410082115.i98LFLMU034965@repoman.freebsd.org> From: Gleb Smirnoff Date: Fri, 8 Oct 2004 21:15:21 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/gen syslog.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 08 Oct 2004 21:15:22 -0000 glebius 2004-10-08 21:15:21 UTC FreeBSD src repository Modified files: lib/libc/gen syslog.c Log: When send()ing to syslogd return ENOBUFS keep trying until success. This fixes a case, when DoSed syslogd completely loses messages. PR: bin/72366 Discussed with: dwmalone, millert@OpenBSD.org Approved by: julian (mentor) Obtained from: OpenBSD (rev. 1.17, 1.21 by millert) MFC after: 3 months Revision Changes Path 1.31 +18 -8 src/lib/libc/gen/syslog.c