:I assume that this flag would require write permission to the file, to
:prevent bad security implications?
:
:--
: Ben Rosengart
You can set the flag without write permission but it will not do anything
in that case. The only way to get a page marked such that the syncer
doesn't sync it is if you mmap() an area of memory and then take
write-faults on pages within that area, which requires write permission
to succeed. Only pages dirtied through a mmap marked to not sync will
not sync.
Things like file meta-data always sync, though if the only data written
to a file is through such an mmap() the filesystem will not have much
to do there.
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message