From owner-svn-src-head@freebsd.org Mon Dec 3 18:00:47 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38B12132E53C; Mon, 3 Dec 2018 18:00:47 +0000 (UTC) (envelope-from sevan@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A50E68D055; Mon, 3 Dec 2018 18:00:46 +0000 (UTC) (envelope-from sevan@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 86326195EC; Mon, 3 Dec 2018 18:00:46 +0000 (UTC) (envelope-from sevan@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB3I0kBQ013998; Mon, 3 Dec 2018 18:00:46 GMT (envelope-from sevan@FreeBSD.org) Received: (from sevan@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB3I0kJN013997; Mon, 3 Dec 2018 18:00:46 GMT (envelope-from sevan@FreeBSD.org) Message-Id: <201812031800.wB3I0kJN013997@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sevan set sender to sevan@FreeBSD.org using -f From: Sevan Janiyan Date: Mon, 3 Dec 2018 18:00:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r341435 - head/bin/pkill X-SVN-Group: head X-SVN-Commit-Author: sevan X-SVN-Commit-Paths: head/bin/pkill X-SVN-Commit-Revision: 341435 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A50E68D055 X-Spamd-Result: default: False [-0.41 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.38)[-0.376,0]; NEURAL_SPAM_LONG(0.00)[0.005,0]; NEURAL_HAM_SHORT(-0.03)[-0.035,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2018 18:00:47 -0000 Author: sevan (doc committer) Date: Mon Dec 3 18:00:46 2018 New Revision: 341435 URL: https://svnweb.freebsd.org/changeset/base/341435 Log: Note these tools use kvm(3) and not procfs as in Solaris. Obtained from: NetBSD MFC after: 7 days Modified: head/bin/pkill/pkill.1 Modified: head/bin/pkill/pkill.1 ============================================================================== --- head/bin/pkill/pkill.1 Mon Dec 3 17:51:22 2018 (r341434) +++ head/bin/pkill/pkill.1 Mon Dec 3 18:00:46 2018 (r341435) @@ -29,7 +29,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd December 1, 2018 +.Dd December 3, 2018 .Dt PKILL 1 .Os .Sh NAME @@ -241,6 +241,11 @@ or .Nm pkill process will never consider itself nor system processes (kernel threads) as a potential match. +.Sh IMPLEMENTATION NOTES +The Sun Solaris implementation utilised procfs to obtain process information. +This implementation utilises +.Xr kvm 3 +instead. .Sh EXIT STATUS The .Nm pgrep @@ -276,6 +281,7 @@ is deprecated, and its use is discouraged in favor of .Xr ps 1 , .Xr flock 2 , .Xr kill 2 , +.Xr kvm 3, .Xr sigaction 2 , .Xr pidfile 3 , .Xr re_format 7