From owner-cvs-src-old@FreeBSD.ORG Sat Jun 18 23:01:39 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A10DD1065672 for ; Sat, 18 Jun 2011 23:01:39 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6398FC17 for ; Sat, 18 Jun 2011 23:01:39 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5IN1dXl019153 for ; Sat, 18 Jun 2011 23:01:39 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5IN1dYG019151 for cvs-src-old@freebsd.org; Sat, 18 Jun 2011 23:01:39 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201106182301.p5IN1dYG019151@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Sat, 18 Jun 2011 23:01:26 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libprocstat libprocstat.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2011 23:01:39 -0000 jilles 2011-06-18 23:01:26 UTC FreeBSD src repository Modified files: lib/libprocstat libprocstat.c Log: SVN rev 223279 on 2011-06-18 23:01:26Z by jilles libprocstat: For MAP_PRIVATE, do not consider the file open for writing. If a file is mapped with with MAP_PRIVATE, no write permission is required and changes do not end up in the file. Therefore, tools like fuser and fstat should not show the file as open for writing. The protection as displayed by procstat -v still includes write in this case, and shows 'C' for copy-on-write. Revision Changes Path 1.9 +4 -2 src/lib/libprocstat/libprocstat.c