From owner-cvs-all@FreeBSD.ORG Sun Sep 7 02:13:45 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE70416A4C0; Sun, 7 Sep 2003 02:13:45 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5442944001; Sun, 7 Sep 2003 02:13:45 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h879Dj0U031468; Sun, 7 Sep 2003 02:13:45 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h879Djwe031467; Sun, 7 Sep 2003 02:13:45 -0700 (PDT) Message-Id: <200309070913.h879Djwe031467@repoman.freebsd.org> From: "Tim J. Robbins" Date: Sun, 7 Sep 2003 02:13:45 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/killall killall.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 07 Sep 2003 09:13:46 -0000 tjr 2003/09/07 02:13:45 PDT FreeBSD src repository Modified files: usr.bin/killall killall.c Log: Use KERN_PROC_PROC instead of KERN_PROC_ALL when enumerating processes so that we kill each process once, not once for every thread it owns. This avoids "No such process" warnings when killing threaded processes. Revision Changes Path 1.23 +4 -7 src/usr.bin/killall/killall.c