summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-08-18 13:05:48 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2014-08-18 13:05:48 +0200
commit23972f4244f7609658c2a17f85508d50e4739990 (patch)
treeecc7b9895abf0c193cae5bf2deb6dcdfe8b77c04 /man
parentc7dab73a5fa6e775813765fe925caaa7c4e549fa (diff)
memfd: map unsealed files as MAP_SHARED
We need to map sealed files as MAP_PRIVATE so far as the kernel treats MAP_SHARED as writable mapping (you can run mprotect(PROT_WRITE) at any time on those). However, unsealed files must be mapped as MAP_SHARED. Otherwise, we never end up writing to the real file.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions