summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/CodeGen/GlobalDecl.h
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-06-18 23:01:26 +0000
committerjilles <jilles@FreeBSD.org>2011-06-18 23:01:26 +0000
commit2c34fd40cf9b5ba7ec3d068fc410a06bc897665b (patch)
tree7c00d02027dc5e6f7f889633ba3cc51cb0639dec /contrib/llvm/tools/clang/lib/CodeGen/GlobalDecl.h
parent0164b6b71fa8486340faac5c92102c1e323f148d (diff)
downloadFreeBSD-src-2c34fd40cf9b5ba7ec3d068fc410a06bc897665b.zip
FreeBSD-src-2c34fd40cf9b5ba7ec3d068fc410a06bc897665b.tar.gz
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.
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/GlobalDecl.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud