On 4/11/19 3:08 PM, konsolebox wrote:

>>> It has slightly inconvenient semantics, in that you can't open it more
>>> than once, and if you can't do that, you can't convert it from read-write
>>> to readonly.
>>
>>
>> Perhaps it can be reopened via /dev/fd.
> 
> Also file sealing maybe.  The way it restricts writing is just a
> little different.

It seems like if you don't mmap the file, you won't create the shared
writable mapping that would restrict you from sealing the file against
writes.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to