Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2011 23:01:26 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libprocstat libprocstat.c
Message-ID:  <201106182301.p5IN1dYG019151@repoman.freebsd.org>

index | next in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106182301.p5IN1dYG019151>