aboutsummaryrefslogtreecommitdiff
path: root/tmpfs/tmpfs.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2021-05-21 13:21:15 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-10 22:04:35 +0200
commit7c3323a25bc1d5844feb7f9ed241fdbdb4819739 (patch)
tree26348f5485ccba70458b69be6662680236a0b162 /tmpfs/tmpfs.h
parent1ed64a8674d3359822831d4ac9a016c04d3e8b14 (diff)
downloadhurd-7c3323a25bc1d5844feb7f9ed241fdbdb4819739.tar.gz
hurd-7c3323a25bc1d5844feb7f9ed241fdbdb4819739.tar.bz2
hurd-7c3323a25bc1d5844feb7f9ed241fdbdb4819739.zip
tmpfs: Return read-only memory objects when appropriate
Diffstat (limited to 'tmpfs/tmpfs.h')
-rw-r--r--tmpfs/tmpfs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpfs/tmpfs.h b/tmpfs/tmpfs.h
index ad472009..40554557 100644
--- a/tmpfs/tmpfs.h
+++ b/tmpfs/tmpfs.h
@@ -46,7 +46,7 @@ struct disknode
char *lnk; /* malloc'd symlink target */
struct
{
- mach_port_t memobj;
+ mach_port_t memobj, ro_memobj;
vm_address_t memref;
unsigned int allocpages; /* largest size while memobj was live */
} reg;